Closed darkowlzz closed 3 years ago
This looks great! It might be helpful to accompany this PR with the PR than finally makes theme names follow arch naming standards #9 . @darkowlzz If you want to take that on, that'd be great; otherwise will merge when I can test later today.
Best, Mau
I had a moment to review and test. This is awesome! good work.
@lex148 thanks.
@mautamu I've encountered the issue in #9 myself and wanted to fix it. Was just trying to get some more rust experience before working on it. I'll give it a try. Thanks.
Introduces fuzzy matcher to improve the theme search.
I observed the following results in the theme search:
Edit distance string metric of 3 seems to be not helping much here. I tried to replace that with a fuzzy matcher and got some comparatively good results.
NOTE: I've added test cases comparing the two methods. If we agree to go with fuzzy matcher, I'll remove the edit_distance method and related tests.