From 763dcbf885d026be1412ea6b2219ceaad6125377 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Wed, 8 Jun 2022 14:45:04 +0200 Subject: [PATCH] Fix version in SpanRuler docs (#10925) * SpanRuler is new since 3.3.1 * update SpanRuler version since 3.3.1 --- website/docs/api/spanruler.md | 2 +- website/docs/usage/rule-based-matching.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/spanruler.md b/website/docs/api/spanruler.md index b573f7c58..a1c222714 100644 --- a/website/docs/api/spanruler.md +++ b/website/docs/api/spanruler.md @@ -2,7 +2,7 @@ title: SpanRuler tag: class source: spacy/pipeline/span_ruler.py -new: 3.3 +new: 3.3.1 teaser: 'Pipeline component for rule-based span and named entity recognition' api_string_name: span_ruler api_trainable: false diff --git a/website/docs/usage/rule-based-matching.md b/website/docs/usage/rule-based-matching.md index 13612ac35..e4ba4b2af 100644 --- a/website/docs/usage/rule-based-matching.md +++ b/website/docs/usage/rule-based-matching.md @@ -1447,7 +1447,7 @@ with nlp.select_pipes(enable="tagger"): ruler.add_patterns(patterns) ``` -## Rule-based span matching {#spanruler new="3.3"} +## Rule-based span matching {#spanruler new="3.3.1"} The [`SpanRuler`](/api/spanruler) is a generalized version of the entity ruler that lets you add spans to `doc.spans` or `doc.ents` based on pattern