mirror of https://github.com/explosion/spaCy.git
Fix not implemented Span getters
This commit is contained in:
parent
544a407b93
commit
d2df81d907
|
@ -475,14 +475,16 @@ cdef class Span:
|
||||||
span, in the syntactic dependency parse.
|
span, in the syntactic dependency parse.
|
||||||
"""
|
"""
|
||||||
# TODO: implement
|
# TODO: implement
|
||||||
raise NotImplementedError()
|
def __get__(self):
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
property n_rights:
|
property n_rights:
|
||||||
"""RETURNS (int): The number of rightward immediate children of the
|
"""RETURNS (int): The number of rightward immediate children of the
|
||||||
span, in the syntactic dependency parse.
|
span, in the syntactic dependency parse.
|
||||||
"""
|
"""
|
||||||
# TODO: implement
|
# TODO: implement
|
||||||
raise NotImplementedError()
|
def __get__(self):
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
property subtree:
|
property subtree:
|
||||||
"""Tokens that descend from tokens in the span, but fall outside it.
|
"""Tokens that descend from tokens in the span, but fall outside it.
|
||||||
|
|
Loading…
Reference in New Issue