spaCy/spacy/tests/parser
Matthew Honnibal 19ac03ce09 Go back to letting Break work with deeper stacks
It seems very appealing to restrict Break so that it only works when
there's one word on the stack. Then we can pop that word, mark it as the
root, and continue.

However, results are suggesting it's nice to be able to predict Break
when the last word of the previous sentence is on the stack, and the
first word of the next sentence is at the buffer. This does make sense!
Consider that the last word is often a period or something --- a pretty
huge clue. We otherwise have to go out of our way to get that feature
in.

The really decisive thing is we have to handle upcoming sentence breaks
anyway, because we need to conform to preset SBD constraints. So, we may
as well let the parser predict the Break when it's at a stack/queue
position that is most revealing.
2018-04-01 14:32:15 +02:00
..
__init__.py add __init__.py to empty package dirs 2016-03-14 11:28:03 +01:00
test_add_label.py Rewrite oracle to not use fast-forward. Seems to work? 2018-04-01 10:43:11 +02:00
test_arc_eager_oracle.py Go back to letting Break work with deeper stacks 2018-04-01 14:32:15 +02:00
test_beam_parse.py Limit parser model size, to hopefully reduce memory during CI tests 2018-01-28 21:00:32 +01:00
test_ner.py Add test for NER 2017-07-22 01:48:58 +02:00
test_neural_parser.py Fix names of pipeline components 2017-10-26 12:38:23 +02:00
test_nn_beam.py Rewrite oracle to not use fast-forward. Seems to work? 2018-04-01 10:43:11 +02:00
test_nonproj.py PseudoProjectivity->nonproj 2017-05-22 05:39:03 -05:00
test_parse_navigate.py Fix equality check in test 2017-10-16 19:50:35 +02:00
test_parse.py Redesign training to integrate NN components 2017-05-16 16:17:30 +02:00
test_preset_sbd.py Make test less flakey 2017-11-03 14:36:08 +01:00
test_space_attachment.py Redesign training to integrate NN components 2017-05-16 16:17:30 +02:00
test_split_word.py Rewrite oracle to not use fast-forward. Seems to work? 2018-04-01 10:43:11 +02:00
test_to_from_bytes_disk.py Fix names of pipeline components 2017-10-26 12:38:23 +02:00