-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
Description
Hi,
I'm just starting to discover and use your library to extract terms defined in a thesaurus from an input text, and "highlight" them in a HTML output.
It works quite well and quickly, anyway I still have a few issues:
- is there any way to get only the first occurence of a given term when this term is present several times in the input text?
- I have some use cases where a term can "contain" another one (for example, "Python", "IDE Python" and "Python language reference"). Actually, in this example, the automaton returns the term "Python" event when it is included into another matching term. Is there any way to select only one of them (for example the first matching term, or the longest one)?
Many thanks for any advise!
Best regards,
Thierry