bothub-it / bothub

Bothub is an open platform for predicting, training and sharing NLP datasets in multiple languages

Home Page:https://bothub.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unordered entities list

periclesJ opened this issue · comments

Description:
Detected entities should be ordered the same way they are detected on the text.

Browser: Any
OS: Ayy
Authenticated: Yes
URL: Any repository that owns many entities inside the training.

When you have a repository with many different entities, if you try to analyze a phrase with multiple entities, the response json brings a list of all detected entities, but this list is unordered. See the example:

Phrase: Pode ligar entre 12 ou depois de 17 que estou de boa.

Result:
Captura de Tela 2019-03-26 às 09 03 29

The print above represents a the list of entities categorized as "hours", can be noticed that the entities order is different from the order they appear on the text.