You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good afternoon,
I was having an issue with repeated tokens (I want to recognize operations over a query) and I think that the function extract(srcInput) on extractor-enum.js has a little bug, the originalTextIndex is being increased by token length but not by the separators.
For example:
You have the following entity to be recognized: sum
You process the following sentence: I want the sum of something1, sum of something2, sum of something3... , sum of something10
When the number of split characters (space or ,) is not taken into account, it causes that there are values repeated in the originalPositionMap dictionary.
Good afternoon,
I was having an issue with repeated tokens (I want to recognize operations over a query) and I think that the function extract(srcInput) on extractor-enum.js has a little bug, the originalTextIndex is being increased by token length but not by the separators.
For example:
I'm using version 4.27.0:
npm list node-nlp
`-- [email protected]
It's happening in extractor-enum.js line 306 to 322 (async extract(srcInput))
Best regards.
The text was updated successfully, but these errors were encountered: