1
1
mirror of https://github.com/explosion/spaCy.git synced 2025-01-24 16:24:16 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
Ines Montani
f580302673 Tidy up and auto-format 2019-08-20 17:36:34 +02:00
Sofie Van Landeghem
ba02957c80 Fix dependency copy for as_doc ()
* failing unit test for issue 3962

* attempt to fix Issue 

* 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