mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
2d8c6e1124
Iterate over lr_edges until all heads are within the current sentence. Instead of iterating over them for a fixed number of iterations, check whether the sentence boundaries are correct for the heads and stop when all are correct. Stop after a maximum of 10 iterations, providing a warning in this case since the sentence boundaries may not be correct. |
||
---|---|---|
.. | ||
__init__.py | ||
test_add_label.py | ||
test_arc_eager_oracle.py | ||
test_ner.py | ||
test_neural_parser.py | ||
test_nn_beam.py | ||
test_nonproj.py | ||
test_parse_navigate.py | ||
test_parse.py | ||
test_preset_sbd.py | ||
test_space_attachment.py |