mirror of https://github.com/explosion/spaCy.git
* Hackishly patch long dependencies problem
This commit is contained in:
parent
bb583f7f09
commit
a8bbd7312c
|
@ -35,7 +35,7 @@ cdef class TransitionSystem:
|
|||
self.freqs[attr] = defaultdict(int)
|
||||
self.freqs[attr][0] = 1
|
||||
# Ensure we've seen heads. Need an official dependency length limit...
|
||||
for i in range(1024):
|
||||
for i in range(10024):
|
||||
self.freqs[HEAD][i] = 1
|
||||
self.freqs[HEAD][-i] = 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue