From cb6988f2f45bab564e8947891eb404f5acd6aa34 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 1 Apr 2018 22:10:26 +0200 Subject: [PATCH] Fix comment in GoldParse --- spacy/gold.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/gold.pyx b/spacy/gold.pyx index c534c2d9b..c72c86876 100644 --- a/spacy/gold.pyx +++ b/spacy/gold.pyx @@ -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