mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
* Fix indentation error in API docs.
This commit is contained in:
parent
bf4d30c5b6
commit
e7a7f3bd63
|
@ -374,27 +374,27 @@ mixin Func(type1, type2)
|
||||||
+Define("whitespace_")
|
+Define("whitespace_")
|
||||||
| The number of immediate syntactic children following the word in the string.
|
| The number of immediate syntactic children following the word in the string.
|
||||||
|
|
||||||
define
|
details
|
||||||
summary: h4 Navigating the Parse Tree
|
summary: h4 Navigating the Parse Tree
|
||||||
|
|
||||||
ul
|
|
||||||
+Define("head")
|
|
||||||
| The immediate syntactic head of the token. If the token is the root of its sentence, it is the token itself, i.e. #[code root_token.head is root_token]
|
|
||||||
|
|
||||||
+Define("children")
|
ul
|
||||||
| An iterator that yields from lefts, and then yields from rights.
|
+Define("head")
|
||||||
|
| The immediate syntactic head of the token. If the token is the root of its sentence, it is the token itself, i.e. #[code root_token.head is root_token]
|
||||||
+Define("subtree")
|
|
||||||
| An iterator for the part of the sentence syntactically governed by the word, including the word itself.
|
|
||||||
|
|
||||||
+Define("left_edge")
|
|
||||||
| The leftmost edge of the token's subtree
|
|
||||||
|
|
||||||
+Define("right_edge")
|
|
||||||
| The rightmost edge of the token's subtree
|
|
||||||
|
|
||||||
+method("nbor(i=1)")(open=true)
|
+Define("children")
|
||||||
| Get the #[em i]th next / previous neighboring token.
|
| An iterator that yields from lefts, and then yields from rights.
|
||||||
|
|
||||||
|
+Define("subtree")
|
||||||
|
| An iterator for the part of the sentence syntactically governed by the word, including the word itself.
|
||||||
|
|
||||||
|
+Define("left_edge")
|
||||||
|
| The leftmost edge of the token's subtree
|
||||||
|
|
||||||
|
+Define("right_edge")
|
||||||
|
| The rightmost edge of the token's subtree
|
||||||
|
|
||||||
|
+method("nbor(i=1)")(open=true)
|
||||||
|
| Get the #[em i]th next / previous neighboring token.
|
||||||
|
|
||||||
details
|
details
|
||||||
summary: h4 Named Entities
|
summary: h4 Named Entities
|
||||||
|
|
Loading…
Reference in New Issue
Block a user