mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
* 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
Block a user