Here's my dictionary: <?xml version="1.0" encoding="UTF-8"?> <dictionary case_sensitive="false"> <entry> <token>vitamin</token> <token>b12</token> </entry> <entry> <token>vitamin</token> <token>b</token> </entry> <entry> <token>john</token> <token>doe</token> </entry> <entry> <token>john</token> <token>d</token> </entry> </dictionary>
When ran on this sentence using a DictionaryNameFinder: My name is john doe, aka john d. I like vitamin b12. The following tokens are found: john doe, john d, vitamin b As you can see, when the 2nd token ends in a number, the longest match is discarded. Bug, or am I missing something? Thanks
