mirror of https://github.com/explosion/spaCy.git
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:
parent
a4003532a3
commit
763dcbf885
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue