mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-25 03:13:41 +03:00
Use collapsible sections for pos/dep scheme and update
Will ensure better overview as we add more schemes for more languages
This commit is contained in:
parent
a9c77e01b4
commit
2d59dd374b
|
@ -1,10 +1,15 @@
|
|||
//- 💫 DOCS > API > ANNOTATION > DEPENDENCY LABELS
|
||||
|
||||
+h(3, "dependency-parsing-english") English dependency labels
|
||||
|
||||
p
|
||||
| The English dependency labels use the #[+a("http://www.clearnlp.com") ClearNLP]
|
||||
| #[+a("http://www.mathcs.emory.edu/~choi/doc/clear-dependency-2012.pdf") CLEAR Style].
|
||||
| This section lists the syntactic dependency labels assigned by
|
||||
| spaCy's #[+a("/models") models]. The individual labels are
|
||||
| language-specific and depend on the training corpus.
|
||||
|
||||
+accordion("English", "dependency-parsing-english")
|
||||
p
|
||||
| The English dependency labels use the
|
||||
| #[+a("http://www.mathcs.emory.edu/~choi/doc/clear-dependency-2012.pdf") CLEAR Style]
|
||||
| by #[+a("http://www.clearnlp.com") ClearNLP].
|
||||
|
||||
+table(["Label", "Description"])
|
||||
+dep-row("acomp", "adjectival complement")
|
||||
|
@ -60,8 +65,7 @@ p
|
|||
+dep-row("root", "root")
|
||||
+dep-row("xcomp", "open clausal complement")
|
||||
|
||||
+h(3, "dependency-parsing-german") German dependency labels
|
||||
|
||||
+accordion("German", "dependency-parsing-german")
|
||||
p
|
||||
| The German dependency labels use the
|
||||
| #[+a("http://www.ims.uni-stuttgart.de/forschung/ressourcen/korpora/TIGERCorpus/annotation/index.html") TIGER Treebank]
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
//- 💫 DOCS > API > ANNOTATION > POS TAGS
|
||||
|
||||
+h(3, "pos-tagging-english") English part-of-speech tag scheme
|
||||
p
|
||||
| This section lists the fine-grained and coarse-grained part-of-speech
|
||||
| tags assigned by spaCy's #[+a("/models") models]. The individual mapping
|
||||
| is specific to the training corpus and can be defined in the respective
|
||||
| language data's #[+a("/usage/adding-languages#tag-map") #[code tag_map.py]].
|
||||
|
||||
+accordion("English", "pos-tagging-english")
|
||||
p
|
||||
| The English part-of-speech tagger uses the
|
||||
| #[+a("https://catalog.ldc.upenn.edu/LDC2013T19") OntoNotes 5] version of
|
||||
|
@ -66,8 +71,7 @@ p
|
|||
+pos-row("WRB", "ADV", "PronType=int|rel", "wh-adverb")
|
||||
+pos-row("XX", "X", "", "unknown")
|
||||
|
||||
+h(3, "pos-tagging-german") German part-of-speech tag scheme
|
||||
|
||||
+accordion("German", "pos-tagging-german")
|
||||
p
|
||||
| The German part-of-speech tagger uses the
|
||||
| #[+a("http://www.ims.uni-stuttgart.de/forschung/ressourcen/korpora/TIGERCorpus/annotation/index.html") TIGER Treebank]
|
||||
|
|
|
@ -181,6 +181,10 @@ p
|
|||
+annotation-row(["their", "ADJ", "poss", "requests"], style)
|
||||
+annotation-row(["requests", "NOUN", "dobj", "submit"], style)
|
||||
|
||||
+h(3, "dep-scheme") Dependency label scheme
|
||||
|
||||
include ../../api/_annotation/_dep-labels
|
||||
|
||||
+h(3, "displacy") Visualizing dependencies
|
||||
|
||||
p
|
||||
|
|
|
@ -68,4 +68,6 @@ p
|
|||
| list-based exception files, acquired from
|
||||
| #[+a("https://wordnet.princeton.edu/") WordNet].
|
||||
|
||||
+h(3, "pos-scheme") Part-of-speech tag scheme
|
||||
|
||||
include ../../api/_annotation/_pos-tags
|
||||
|
|
Loading…
Reference in New Issue
Block a user