* Fix span getting

This commit is contained in:
Matthew Honnibal 2015-07-11 21:41:41 +02:00
parent 11e8f2ffb4
commit da9f358166
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ cdef class Span:
head = start
while start <= (head + head.head) < end and head.head != 0:
head += head.head
return self[head - self._seq.data]
return self._seq[head - self._seq.data]
property lefts:
"""Tokens that are to the left of the Span, whose head is within the Span."""