* Fix Span.subtree property

This commit is contained in:
Matthew Honnibal 2015-05-13 21:53:15 +02:00
parent badf030b6c
commit 5a5710e711
1 changed files with 1 additions and 1 deletions

View File

@ -88,6 +88,6 @@ cdef class Span:
def __get__(self): def __get__(self):
for word in self.lefts: for word in self.lefts:
yield from word.subtree yield from word.subtree
yield self yield from self
for word in self.rights: for word in self.rights:
yield from word.subtree yield from word.subtree