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_")
|
||||
| The number of immediate syntactic children following the word in the string.
|
||||
|
||||
define
|
||||
summary: h4 Navigating the Parse Tree
|
||||
details
|
||||
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]
|
||||
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")
|
||||
| An iterator that yields from lefts, and then yields from rights.
|
||||
+Define("children")
|
||||
| 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("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("left_edge")
|
||||
| The leftmost edge of the token's subtree
|
||||
|
||||
+Define("right_edge")
|
||||
| The rightmost 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.
|
||||
+method("nbor(i=1)")(open=true)
|
||||
| Get the #[em i]th next / previous neighboring token.
|
||||
|
||||
details
|
||||
summary: h4 Named Entities
|
||||
|
|
Loading…
Reference in New Issue
Block a user