Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand fuzzy string matching to collection of words for Marco.wordsearch method #3

Open
andrewrgarcia opened this issue Aug 20, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@andrewrgarcia
Copy link
Owner

andrewrgarcia commented Aug 20, 2023

In line 192 of bcrpy/main.py it can be seen that fuzzy string matching is assessed for ANY word in the word sequence that may be greater than the cutoff value ( due to the word splitting and individual assessments thereof) . Because of this limitation, keyword can only be a single word with no spacing; spacing still considers it a single word and ergo, collections of words fail in giving accurate matches.

issue3
The idea is to implement a better language processing algorithm that may assess both individual words and collection of words with the cutoff metric.

@andrewrgarcia andrewrgarcia added enhancement New feature or request good first issue Good for newcomers labels Aug 21, 2023
@andrewrgarcia
Copy link
Owner Author

image text (to run as prompt):

Desired wordsearch behavior

red apple --> [red apple] find: red apple (cutoff 1.0) FOUND

red apple Newton --> [red apple, Newton] find: red apple (cutoff 1.0) FOUND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant