Repository navigation
First Letter Filter #161
CaffeineLab
started this conversation in
Ideas
Replies: 1 comment
|
The gist of it is as follows: ` ` |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I found that pyspellchecker was giving me very accurate suggestions until I started using custom dictionaries with some non-standard words. For example, I had the word 'Zuro' in my local_dictionary and I was testing against 'Zury'. No matter what I did, I kept getting 'Fury' as the suggested correction, mostly because it's number of instances in the dictionary was waaaaaaay higher.... and that's fine...
So I had seen somewhere that I could increase the accuracy in my case if I just filtered out the list of candidates to those that shared the first letter as the word I was correcting.... and .... it was right.
Change isn't too horrible - but if interested I could supply it as a comment in this discussion, or do it in a PR....
All reactions