spaCy/spacy/tokens
Sofie Van Landeghem ba02957c80 Fix dependency copy for as_doc (#3969)
* failing unit test for issue 3962

* attempt to fix Issue #3962

* create artificial unit test example

* using length instead of self.length

* sp

* reformat with black

* find better ancestor within span and use generic 'dep'

* attach to span.root if there is no appropriate ancestor

* comment span text

* clean up ancestor code

* reconstruct dep tree to keep same number of sentences
2019-07-23 18:28:54 +02: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 Tidy up and improve docs and docstrings (#3370) 2019-03-08 11:42:26 +01:00
_retokenize.pyx Tidy up and improve docs and docstrings (#3370) 2019-03-08 11:42:26 +01:00
_serialize.py Reformat 2019-07-11 11:49:36 +02:00
doc.pxd cleanup 2019-07-11 13:09:22 +02:00
doc.pyx Fix dependency copy for as_doc (#3969) 2019-07-23 18:28:54 +02:00
span.pxd annotate kb_id through ents in doc 2019-03-22 11:36:44 +01:00
span.pyx Fix dependency copy for as_doc (#3969) 2019-07-23 18:28:54 +02:00
token.pxd ensure Span.as_doc keeps the entity links + unit test 2019-06-25 15:28:51 +02:00
token.pyx Merge branch 'master' into feature/el-framework 2019-03-26 11:00:02 +01:00
underscore.py 💫 Improve introspection of custom extension attributes (#3729) 2019-05-12 00:53:11 +02:00