mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
cc477be952
* Remove previous alignment * Implement better alignment, using ragged data structure * Use pytokenizations for alignment * Fixes * Fixes * Fix overlapping entities in alignment * Fix align split_sents * Update test * Commit align.py * Try to appease setuptools * Fix flake8 * use realistic entities for testing * Update tests for better alignment * Improve alignment heuristic Co-authored-by: svlandeg <sofie.vanlandeghem@gmail.com>
8 lines
136 B
Cython
8 lines
136 B
Cython
from ..tokens.doc cimport Doc
|
|
|
|
|
|
cdef class Example:
|
|
cdef readonly Doc x
|
|
cdef readonly Doc y
|
|
cdef readonly object _alignment
|