Fuzzy#26
Conversation
|
Thanks so much Bob! Please give me a week or two to review both the PRs |
|
Hi Rob, thanks so much for these changes, I took some time to run everything but I think I unfortunately can't merge them. The reason is that I've been trying to keep the project lightweight so that it can run very quickly e.g. on Azure Functions, and we're adding more third party dependencies. The response time has become quite slow now with the extra dependencies. However, I do really like what you did with the library and I could point to your fork in the README? Also, I tested the input e.g. "i bought some Amphoteracin B" and that works both in the modified version and the original version, so I am not sure what advantage adding fuzzyset and the English library dependencies is bringing? Is it possible to apply the English word check at the time that the drug name dictionary is built? If things like NLTK can be invoked only when the package is built, but not needed to run the library, that would be ideal. Are there some false positives that I'm missing that are fixed by these changes? In which case I could cherry pick bits of your logic over into the main branch. |
Description
Improve fuzzy matching performance. Changes include:
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Testing
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration
Checklist
pyproject.toml