mirror of https://github.com/explosion/spaCy.git
* Roll back proposed change to Break transition while investigate effect
This commit is contained in:
parent
d7cc2338e7
commit
6c5632b71c
|
@ -408,8 +408,8 @@ cdef inline bint _can_break(const State* s) nogil:
|
||||||
return False
|
return False
|
||||||
elif at_eol(s):
|
elif at_eol(s):
|
||||||
return False
|
return False
|
||||||
elif NON_MONOTONIC:
|
#elif NON_MONOTONIC:
|
||||||
return True
|
# return True
|
||||||
else:
|
else:
|
||||||
# In the Break transition paper, they have this constraint that prevents
|
# In the Break transition paper, they have this constraint that prevents
|
||||||
# Break if stack is disconnected. But, if we're doing non-monotonic parsing,
|
# Break if stack is disconnected. But, if we're doing non-monotonic parsing,
|
||||||
|
|
Loading…
Reference in New Issue