Add notes on spacy.explain() to annotation docs

This commit is contained in:
ines 2017-07-22 15:02:15 +02:00
parent e3f23f9d91
commit b22b18a019

View File

@ -38,6 +38,11 @@ p
+h(2, "pos-tagging") Part-of-speech Tagging
+infobox("Tip: Understanding tags")
| In spaCy v1.8.3+, you can also use #[code spacy.explain()] to get the
| description for the string representation of a tag. For example,
| #[code spacy.explain("RB")] will return "adverb".
include _annotation/_pos-tags
+h(2, "lemmatization") Lemmatization
@ -65,10 +70,20 @@ p
+h(2, "dependency-parsing") Syntactic Dependency Parsing
+infobox("Tip: Understanding labels")
| In spaCy v1.8.3+, you can also use #[code spacy.explain()] to get the
| description for the string representation of a label. For example,
| #[code spacy.explain("prt")] will return "particle".
include _annotation/_dep-labels
+h(2, "named-entities") Named Entity Recognition
+infobox("Tip: Understanding entity types")
| 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".
include _annotation/_named-entities
+h(2, "json-input") JSON input format for training