mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
472740d613
* Added sents property to Span class that returns a generator of sentences the Span belongs to * Added description to Span.sents property * Update test_span to clarify the difference between span.sent and span.sents Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> * Update spacy/tests/doc/test_span.py Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> * Fix documentation typos in spacy/tokens/span.pyx Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> * Update Span.sents doc string in spacy/tokens/span.pyx Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> * Parametrized test_span_spans * Corrected Span.sents to check for span-level hook first. Also, made Span.sent respect doc-level sents hook if no span-level hook is provided * Corrected Span ocumentation copy/paste issue * Put back accidentally deleted lines * Fixed formatting in span.pyx * Moved check for SENT_START annotation after user hooks in Span.sents * add version where the property was introduced Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_add_entities.py | ||
test_array.py | ||
test_creation.py | ||
test_doc_api.py | ||
test_graph.py | ||
test_morphanalysis.py | ||
test_pickle_doc.py | ||
test_retokenize_merge.py | ||
test_retokenize_split.py | ||
test_span.py | ||
test_to_json.py | ||
test_token_api.py | ||
test_underscore.py |