Fix version in SpanRuler docs (#10925)

* SpanRuler is new since 3.3.1

* update SpanRuler version since 3.3.1
This commit is contained in:
Sofie Van Landeghem 2022-06-08 14:45:04 +02:00 committed by GitHub
parent a4003532a3
commit 763dcbf885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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