From 534c4474addc7da03f92166d6922012b31d34d98 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Wed, 11 Jan 2023 14:28:42 +0100 Subject: [PATCH] adjust to new style --- website/docs/usage/rule-based-matching.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/usage/rule-based-matching.mdx b/website/docs/usage/rule-based-matching.mdx index 1170b431d..8c9de0d79 100644 --- a/website/docs/usage/rule-based-matching.mdx +++ b/website/docs/usage/rule-based-matching.mdx @@ -365,7 +365,7 @@ else: -#### Fuzzy matching {#fuzzy new="3.5"} +#### Fuzzy matching {id="fuzzy", version="3.5"} Fuzzy matching allows you to match tokens with alternate spellings, typos, etc. without specifying every possible variant. @@ -394,7 +394,7 @@ pattern = [{"_": {"country": {"FUZZY": "Kyrgyzstan"}}}] pattern = [{"_": {"country": {"FUZZY3": "Kyrgyzstan"}}}] ``` -#### Regex and fuzzy matching with lists {#regex-fuzzy-lists new="3.5"} +#### Regex and fuzzy matching with lists {id="regex-fuzzy-lists", version="3.5"} Starting in spaCy v3.5, both `REGEX` and `FUZZY` can be combined with the attributes `IN` and `NOT_IN`: