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
Hi, I have this problem at hand: given a text that is stripped of punctuation, basically a long series of words separated by spaces, I need to identify all items present in the trie, with the longest ones starting first.
As an example: if in trie I entered these terms
1 lorem ipsum dolor
2 lorem ipsum
3 dolor
If my text contains 'lorem ipsum dolor' I would like to confirm key 1 as a match and ignore 2 and 3. I need to extract this way all possible matched against the given trie.
I would appreciate a little heads up, maybe some relevant docs about how to manipulate these objects towards my goal.
The text was updated successfully, but these errors were encountered:
Hi, I have this problem at hand: given a text that is stripped of punctuation, basically a long series of words separated by spaces, I need to identify all items present in the trie, with the longest ones starting first.
As an example: if in trie I entered these terms
1 lorem ipsum dolor
2 lorem ipsum
3 dolor
If my text contains 'lorem ipsum dolor' I would like to confirm key 1 as a match and ignore 2 and 3. I need to extract this way all possible matched against the given trie.
I would appreciate a little heads up, maybe some relevant docs about how to manipulate these objects towards my goal.
The text was updated successfully, but these errors were encountered: