* Hackishly patch long dependencies problem

This commit is contained in:
Matthew Honnibal 2015-07-28 00:14:29 +02:00
parent bb583f7f09
commit a8bbd7312c
1 changed files with 1 additions and 1 deletions

View File

@ -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