Fix comment in GoldParse

This commit is contained in:
Matthew Honnibal 2018-04-01 22:10:26 +02:00
parent 00fa41a924
commit cb6988f2f4

View File

@ -586,9 +586,9 @@ cdef class GoldParse:
raise Exception("Cycle found: %s" % cycle) raise Exception("Cycle found: %s" % cycle)
def __len__(self): def __len__(self):
"""Get the number of gold-standard tokens. """Get the number of predicted tokens the annotations have been aligned to.
RETURNS (int): The number of gold-standard tokens. RETURNS (int): The number of tokens.
""" """
return self.length return self.length