mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-04 21:50:35 +03:00
* Fix compile error in conll.pyx
This commit is contained in:
parent
f1e0272b18
commit
ba07b925a7
|
@ -145,7 +145,7 @@ def _parse_line(line):
|
||||||
|
|
||||||
|
|
||||||
cdef class GoldParse:
|
cdef class GoldParse:
|
||||||
def __init__(self, tokens, annot_tuples, brackets=(,)):
|
def __init__(self, tokens, annot_tuples, brackets=tuple()):
|
||||||
self.mem = Pool()
|
self.mem = Pool()
|
||||||
self.loss = 0
|
self.loss = 0
|
||||||
self.length = len(tokens)
|
self.length = len(tokens)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user