Alternatives to 2Toad/diff-match-patch
textdistance
📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.
- 3.5k
- Python
- MIT
- 19 mo ago
diff-so-fancy
Make your diffs human readable for improved code quality and faster defect detection. :tada:
- 18k
- Perl
- MIT
- 5 d ago
SymSpell
SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm
- 3.5k
- C#
- MIT
- 3 wk ago
jellyfish
🪼 a python library for doing approximate and phonetic matching of strings.
- 2.2k
- Jupyter Notebook
- MIT
- 5 wk ago
go-edlib
📚 String comparison and edit distance algorithms library, featuring : Levenshtein, LCS, Hamming, Damerau levenshtein (OSA and Adjacent transpositions algorithms), Jaro-Winkler, Cosine, etc...
- 608
- Go
- MIT
- 10 mo ago
vim-gitgutter
A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
- 8.5k
- Vim Script
- MIT
- 4 mo ago
strutil
Go metrics for calculating string similarity and other string utility functions
- 416
- Go
- MIT
- 12 d ago
pixelmatch
The smallest, simplest and fastest JavaScript pixel-level image comparison library
- 7k
- JavaScript
- ISC
- 6 wk ago
textdistance.rs
🦀📏 Rust library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, Unicode support.
- 303
- Rust
- MIT
- 2 y ago
Side by side
| Name | Stars | License | Language | Last change | In common | Compare |
|---|---|---|---|---|---|---|
| 2Toad/diff-match-patch | 1 | Apache-2.0 | JavaScript | 5 y ago | ||
| dandavison/delta | 33k | MIT | Rust | 20 h ago | diff | Compare |
| life4/textdistance | 3.5k | MIT | Python | 19 mo ago | diff, levenshtein | Compare |
| so-fancy/diff-so-fancy | 18k | MIT | Perl | 5 d ago | diff | Compare |
| wolfgarbe/SymSpell | 3.5k | MIT | C# | 3 wk ago | levenshtein | Compare |
| ds300/patch-package | 11k | MIT | TypeScript | 14 mo ago | diff | Compare |
| jamesturk/jellyfish | 2.2k | MIT | Jupyter Notebook | 5 wk ago | levenshtein | Compare |
| modem-dev/hunk | 9.9k | MIT | TypeScript | 3 d ago | diff | Compare |
| hbollon/go-edlib | 608 | MIT | Go | 10 mo ago | levenshtein | Compare |
| airblade/vim-gitgutter | 8.5k | MIT | Vim Script | 4 mo ago | diff | Compare |
| adrg/strutil | 416 | MIT | Go | 12 d ago | levenshtein | Compare |
| mapbox/pixelmatch | 7k | ISC | JavaScript | 6 wk ago | diff | Compare |
| life4/textdistance.rs | 303 | MIT | Rust | 2 y ago | diff, levenshtein | Compare |


