Fix not implemented Span getters

This commit is contained in:
ines 2017-10-27 18:09:28 +02:00
parent 544a407b93
commit d2df81d907

View File

@ -475,14 +475,16 @@ cdef class Span:
span, in the syntactic dependency parse.
"""
# TODO: implement
raise NotImplementedError()
def __get__(self):
raise NotImplementedError()
property n_rights:
"""RETURNS (int): The number of rightward immediate children of the
span, in the syntactic dependency parse.
"""
# TODO: implement
raise NotImplementedError()
def __get__(self):
raise NotImplementedError()
property subtree:
"""Tokens that descend from tokens in the span, but fall outside it.