From e3c2858fcbc288771b7c59abf7ba1ecc90eea216 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Wed, 18 Jan 2023 08:41:27 +0100 Subject: [PATCH] Format --- website/docs/usage/v3-5.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/usage/v3-5.mdx b/website/docs/usage/v3-5.mdx index 9372438a2..b4af68bb8 100644 --- a/website/docs/usage/v3-5.mdx +++ b/website/docs/usage/v3-5.mdx @@ -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