mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* More debug prints
This commit is contained in:
parent
5458f220f8
commit
b38093237e
|
@ -105,7 +105,9 @@ def _align_annotations_to_non_gold_tokens(tokens, words, annot):
|
|||
print words
|
||||
for token in tokens:
|
||||
print token.orth_, words[0]
|
||||
print token.idx, annot[0][0]
|
||||
while annot and token.idx > annot[0][0]:
|
||||
print 'pop', token.idx, annot[0][0]
|
||||
annot.pop(0)
|
||||
words.pop(0)
|
||||
loss += 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user