From ad70b91e1e38b76103e8ca53d051bacd8293e31b Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 1 Apr 2018 13:47:16 +0200 Subject: [PATCH] Comment --- spacy/syntax/arc_eager.pyx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spacy/syntax/arc_eager.pyx b/spacy/syntax/arc_eager.pyx index 365eeada8..d09f541f9 100644 --- a/spacy/syntax/arc_eager.pyx +++ b/spacy/syntax/arc_eager.pyx @@ -26,8 +26,12 @@ DEF USE_SPLIT = False cdef weight_t MIN_SCORE = -90000 -# Break transition from here +# Break transition inspired by this paper: # http://www.aclweb.org/anthology/P13-1074 +# However, there's a significant difference in the constraints. +# The most relevant factor is whether we predict Break early, or late: +# do we wait until the root is on the stack, or do we predict when the last +# word of the previous sentence is on the stack? cdef enum: SHIFT REDUCE