mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-29 15:07:54 +03:00
* Handle partial entities in Span.as_doc In `Span.as_doc` replace partial entities at the beginning or end of the span with missing entity annotation. Fixes a bug where invalid entity annotation (no initial `B`) was returned for an initial partial entity. * Check for empty span in ents conversion Note: `Span.as_doc()` will still fail on an empty span due to failures in `Span.vector`. |
||
|---|---|---|
| .. | ||
| __init__.pxd | ||
| __init__.py | ||
| _dict_proxies.py | ||
| _retokenize.pyx | ||
| _serialize.py | ||
| doc.pxd | ||
| doc.pyx | ||
| graph.pxd | ||
| graph.pyx | ||
| morphanalysis.pxd | ||
| morphanalysis.pyx | ||
| span_group.pxd | ||
| span_group.pyx | ||
| span.pxd | ||
| span.pyx | ||
| token.pxd | ||
| token.pyx | ||
| underscore.py | ||