You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A python implementation of a variety of text distance and similarity metrics.
4
8
5
-
### Requirements
6
9
---
7
-
Python 3.3+
8
10
9
-
### Install
11
+
## Install
12
+
13
+
Requirements: `py>=3.3`, `pyyaml>=5.1.2`
14
+
15
+
Install Command: `pip install pytextdist`
16
+
10
17
---
11
-
```
12
-
pip install pytextdistance
13
-
```
14
18
19
+
## Modules
20
+
21
+
### Edit Distance
22
+
23
+
All edit distances listed in [Edit Distance on Wikipedia](https://en.wikipedia.org/wiki/Edit_distance) are implemented.
24
+
25
+
> **[Levenshtein Distance](https://en.wikipedia.org/wiki/Levenshtein_distance)**: edit with insertion, deletion, and substitution
26
+
27
+
> **[Longest Common Subsequence Distance](https://en.wikipedia.org/wiki/Longest_common_subsequence_problem)**: edit with insertion and deletion
28
+
29
+
> **[Damerau-Levenshtein Distance](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance)**: edit with insertion, deletion, substitution, and transposition of two adjacent units
30
+
31
+
> **[Hamming Distance](https://en.wikipedia.org/wiki/Hamming_distance)**: edit with substition
32
+
33
+
> **[Jaro & Jaro-Winkler Similarity](https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance)**: edit with transposition
0 commit comments