Add spacy.explain() note to NER annotation scheme

This commit is contained in:
ines 2017-05-03 19:41:49 +02:00
parent 219369bb7d
commit 1570b83ee5

View File

@ -1,5 +1,10 @@
//- 💫 DOCS > API > ANNOTATION > NAMED ENTITIES //- 💫 DOCS > API > ANNOTATION > NAMED ENTITIES
+infobox("Tip")
| In spaCy v1.8.3+, you can also use #[code spacy.explain()] to get the
| description for the string representation of an entity label. For example,
| #[code spacy.explain("LANGUAGE")] will return "any named language".
+table([ "Type", "Description" ]) +table([ "Type", "Description" ])
+row +row
+cell #[code PERSON] +cell #[code PERSON]