Update new version identifier [ci skip]

This commit is contained in:
Ines Montani 2019-10-25 11:42:49 +02:00
parent 2abf1028cb
commit 493be8e9db
2 changed files with 2 additions and 2 deletions

View File

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

View File

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