From 493be8e9db85d203fbfaa6365c448dc8fba12b8f Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 25 Oct 2019 11:42:49 +0200 Subject: [PATCH] Update new version identifier [ci skip] --- website/docs/api/entityruler.md | 2 +- website/docs/usage/rule-based-matching.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/entityruler.md b/website/docs/api/entityruler.md index 80fab9500..af3db0dcb 100644 --- a/website/docs/api/entityruler.md +++ b/website/docs/api/entityruler.md @@ -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. diff --git a/website/docs/usage/rule-based-matching.md b/website/docs/usage/rule-based-matching.md index 235e9c4ff..663ac5e5a 100644 --- a/website/docs/usage/rule-based-matching.md +++ b/website/docs/usage/rule-based-matching.md @@ -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