spaCy/spacy/tokens
Sofie Van Landeghem 1a2b8fc264
set vector of merged entity (#5085)
* merge_entities sets the vector in the vocab for the merged token

* add unit test

* import unicode_literals

* move code to _merge function

* only set vector if vocab has non-zero vectors
2020-03-06 14:45:28 +01:00
..
__init__.pxd * Break up tokens.pyx into tokens/doc.pyx, tokens/token.pyx, tokens/spans.pyx 2015-07-13 20:20:58 +02:00
__init__.py DocPallet -> DocBin 2019-09-18 15:15:37 +02:00
_retokenize.pyx set vector of merged entity (#5085) 2020-03-06 14:45:28 +01:00
_serialize.py Include Doc.cats in serialization of Doc and DocBin (#4774) 2019-12-06 14:07:39 +01:00
doc.pxd Iterate over lr_edges until sents are correct (#4702) 2019-11-25 13:06:36 +01:00
doc.pyx Improve token head verification (#5079) 2020-03-03 21:44:51 +01:00
morphanalysis.pxd Add header for morphanalysis 2019-03-07 17:24:57 +01:00
morphanalysis.pyx Add more docstrings for MorphAnalysis 2019-09-12 16:48:30 +02:00
span.pxd annotate kb_id through ents in doc 2019-03-22 11:36:44 +01:00
span.pyx Sync Span __eq__ and __hash__ (#5005) 2020-02-16 17:20:36 +01:00
token.pxd serialize ENT_ID (#4852) 2020-01-06 14:57:34 +01:00
token.pyx Improve token head verification (#5079) 2020-03-03 21:44:51 +01:00
underscore.py load Underscore state when multiprocessing 2020-02-12 11:50:42 +01:00