Entity recognition with context/relation
Is there a way to get a specific entity based on the context where it is found? For example:
The temperature today is 35°C
.
Store risperidone tablet at 20°C
.
Both are talking about temperature. For the first sentence, I would want the temperature to be a WeatherTemperature entity. In the second sentence, I would want the temperature to be DrugTemperature. What model could I use to train for this behavior?
Topic named-entity-recognition
Category Data Science