mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 04:10:20 +03:00
Format
This commit is contained in:
parent
0de5b36292
commit
e3c2858fcb
|
@ -82,9 +82,9 @@ pattern = [{"_": {"country": {"FUZZY": "Kyrgyzstan"}}}]
|
||||||
pattern = [{"_": {"country": {"FUZZY4": "Kyrgyzstan"}}}]
|
pattern = [{"_": {"country": {"FUZZY4": "Kyrgyzstan"}}}]
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that `FUZZY` uses Levenshtein edit distance rather than
|
Note that `FUZZY` uses Levenshtein edit distance rather than Damerau-Levenshtein
|
||||||
Damerau-Levenshtein edit distance, so a transposition like `teh` for `the`
|
edit distance, so a transposition like `teh` for `the` counts as two edits, one
|
||||||
counts as two edits, one insertion and one deletion.
|
insertion and one deletion.
|
||||||
|
|
||||||
If you'd prefer an alternate fuzzy matching algorithm, you can provide your own
|
If you'd prefer an alternate fuzzy matching algorithm, you can provide your own
|
||||||
custom method to the `Matcher` or as a config option for an entity ruler and
|
custom method to the `Matcher` or as a config option for an entity ruler and
|
||||||
|
|
Loading…
Reference in New Issue
Block a user