mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-10 15:14:56 +03:00
Fix comment in GoldParse
This commit is contained in:
parent
00fa41a924
commit
cb6988f2f4
|
@ -586,9 +586,9 @@ cdef class GoldParse:
|
|||
raise Exception("Cycle found: %s" % cycle)
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user