Closed vtvz closed 2 years ago
Thanks for the report! I've fixed it in 0.3.11
and added a test case.
Note: Rather than simply adding this particular case to the list of false positives (and the other 30+ names ending in homo
), I improved the filter by adding a feature that certain words (like homo
) can be marked as a prefix-only match, meaning they won't be detected as the suffix of a word. This increases the filter's negative accuracy by 0.01% on the wikipedia dataset :tada:, although making certain other words as such would probably increase it even more.
False Positives
The following shouldn't have been detected, but was:
Context
I am using
rustrict
versionlatest
Output: