mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Update new version identifier [ci skip]
This commit is contained in:
parent
2abf1028cb
commit
493be8e9db
|
@ -202,7 +202,7 @@ All labels present in the match patterns.
|
|||
| ----------- | ----- | ------------------ |
|
||||
| **RETURNS** | tuple | The string labels. |
|
||||
|
||||
## EntityRuler.ent_ids {#labels tag="property" new="2.2"}
|
||||
## EntityRuler.ent_ids {#labels tag="property" new="2.2.2"}
|
||||
|
||||
All entity ids present in the match patterns `id` properties.
|
||||
|
||||
|
|
|
@ -986,7 +986,7 @@ doc = nlp("Apple is opening its first big office in San Francisco.")
|
|||
print([(ent.text, ent.label_) for ent in doc.ents])
|
||||
```
|
||||
|
||||
### Adding IDs to patterns {#entityruler-ent-ids new="2.2"}
|
||||
### Adding IDs to patterns {#entityruler-ent-ids new="2.2.2"}
|
||||
|
||||
The [`EntityRuler`](/api/entityruler) can also accept an `id` attribute for each
|
||||
pattern. Using the `id` attribute allows multiple patterns to be associated with
|
||||
|
|
Loading…
Reference in New Issue
Block a user