Skip to content

Commit

Permalink
Export set_children_from_heads C function from doc.pxd
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Mar 31, 2018
1 parent 84a8de9 commit 774acef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spacy/tokens/doc.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ cdef int token_by_start(const TokenC* tokens, int length, int start_char) except
cdef int token_by_end(const TokenC* tokens, int length, int end_char) except -2


cdef int set_children_from_heads(TokenC* tokens, int length) except -1

cdef class Doc:
cdef readonly Pool mem
cdef readonly Vocab vocab
Expand Down

0 comments on commit 774acef

Please sign in to comment.