Skip to content

Commit

Permalink
Fix spelling and add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristofKaufmann authored Jul 16, 2024
1 parent bcd2174 commit 3383672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Features:
| Algorithm | Class | Functions |
|-------------------------------------------------------------------------------------------|----------------------|------------------------|
| [Hamming](https://en.wikipedia.org/wiki/Hamming_distance) | `Hamming` | `hamming` |
| [MLIPNS](http://www.sial.iias.spb.su/files/386-386-1-PB.pdf) | `Mlipns` | `mlipns` |
| [MLIPNS](http://www.sial.iias.spb.su/files/386-386-1-PB.pdf) | `MLIPNS` | `mlipns` |
| [Levenshtein](https://en.wikipedia.org/wiki/Levenshtein_distance) | `Levenshtein` | `levenshtein` |
| [Damerau-Levenshtein](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance) | `DamerauLevenshtein` | `damerau_levenshtein` |
| [Jaro-Winkler](https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance) | `JaroWinkler` | `jaro_winkler`, `jaro` |
Expand Down
2 changes: 1 addition & 1 deletion textdistance/algorithms/token_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'Jaccard', 'Sorensen', 'Tversky',
'Overlap', 'Cosine', 'Tanimoto', 'MongeElkan', 'Bag',

'jaccard', 'sorensen', 'tversky', 'sorensen_dice',
'jaccard', 'sorensen', 'tversky', 'sorensen_dice', 'dice',
'overlap', 'cosine', 'tanimoto', 'monge_elkan', 'bag',
]

Expand Down

0 comments on commit 3383672

Please sign in to comment.