mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-03 20:00:21 +03:00
Format
This commit is contained in:
parent
0de5b36292
commit
e3c2858fcb
|
@ -82,9 +82,9 @@ pattern = [{"_": {"country": {"FUZZY": "Kyrgyzstan"}}}]
|
|||
pattern = [{"_": {"country": {"FUZZY4": "Kyrgyzstan"}}}]
|
||||
```
|
||||
|
||||
Note that `FUZZY` uses Levenshtein edit distance rather than
|
||||
Damerau-Levenshtein edit distance, so a transposition like `teh` for `the`
|
||||
counts as two edits, one insertion and one deletion.
|
||||
Note that `FUZZY` uses Levenshtein edit distance rather than Damerau-Levenshtein
|
||||
edit distance, so a transposition like `teh` for `the` counts as two edits, one
|
||||
insertion and one deletion.
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user