the given code extract the “my_entity_name” from sentence only.
I want extract the entities of the sentence. I do not know which entity will have to be extracted from. I have to a lot of entities, I do not want to list all of them.
ent = tracker.latest_message['entities']
I want to cook noodles.
output:
('entity',
[{u'extractor': u'ner_crf',
u'confidence': 0.787280111194543,
u'end': 19,
u'value': u'noodles',
u'entity':
u'Dish',
u'start': 13
}])
I want to have only the value of entity.