mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
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
|
title: SpanRuler
|
||||||
tag: class
|
tag: class
|
||||||
source: spacy/pipeline/span_ruler.py
|
source: spacy/pipeline/span_ruler.py
|
||||||
new: 3.3
|
new: 3.3.1
|
||||||
teaser: 'Pipeline component for rule-based span and named entity recognition'
|
teaser: 'Pipeline component for rule-based span and named entity recognition'
|
||||||
api_string_name: span_ruler
|
api_string_name: span_ruler
|
||||||
api_trainable: false
|
api_trainable: false
|
||||||
|
|
|
@ -1447,7 +1447,7 @@ with nlp.select_pipes(enable="tagger"):
|
||||||
ruler.add_patterns(patterns)
|
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
|
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
|
that lets you add spans to `doc.spans` or `doc.ents` based on pattern
|
||||||
|
|
Loading…
Reference in New Issue
Block a user