mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
72e4d3782a
The doc.retokenize() context manager wasn't resizing doc.tensor, leading to a mismatch between the number of tokens in the doc and the number of rows in the tensor. We fix this by deleting rows from the tensor. Merged spans are represented by the vector of their last token. * Add test for resizing doc.tensor when merging * Add test for resizing doc.tensor when merging. Closes #1963 * Update get_lca_matrix test for develop * Fix retokenize if tensor unset |
||
---|---|---|
.. | ||
__init__.py | ||
_test_issue1622.py | ||
_test_issue2800.py | ||
test_issue1-1000.py | ||
test_issue1001-1500.py | ||
test_issue1501-2000.py | ||
test_issue1773.py | ||
test_issue2001-2500.py | ||
test_issue2396.py | ||
test_issue2564.py | ||
test_issue2569.py | ||
test_issue2626.py | ||
test_issue2671.py | ||
test_issue2754.py | ||
test_issue2772.py | ||
test_issue2782.py | ||
test_issue2871.py | ||
test_issue2901.py | ||
test_issue3009.py | ||
test_issue3012.py |