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

Gw 192 symspell pred time (#1) #146

Closed
wants to merge 1 commit into from
Closed

Conversation

mwrobelermlab
Copy link

  • add DAMERAUOSAPYX to DistanceAlgorithm

  • add DamerauOSAWeightened

  • fixed missing editdistance

  • add keyboarddistance

  • add AbstractDistanceComparer to EditDistance

  • added optional normalisation of char weights

  • removed dist weights for transpositions

  • updated weights normalisation

  • changed tokenizer to toktok

  • add poetry toml

  • removed AbstractDistanceComparer

  • put back AbstractDistanceComparer into EditDistance init

* add DAMERAUOSAPYX to DistanceAlgorithm

* add DamerauOSAWeightened

* fixed missing editdistance

* add keyboarddistance

* add AbstractDistanceComparer to EditDistance

* added optional normalisation of char weights

* removed dist weights for transpositions

* updated weights normalisation

* changed tokenizer to toktok

* add poetry toml

* removed AbstractDistanceComparer

* put back AbstractDistanceComparer into EditDistance init

Co-authored-by: Łukasz Sawaniewski <[email protected]>
@mammothb
Copy link
Owner

Thank you for the PR, however I would like to keep the library lean and not add to many extra dependencies.

Custom edit distance comparers are officially supported with this PR #159 so you should be able to use the distance comparers you have implement in this PR for you use cases without having to modify symspellpy's source code.

Feel free to raise an issue if you encounter any problems!

@mammothb mammothb closed this Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants