spaCy/.github
Álvaro Abella Bascarán 6fe276f85d Fix issue 2396 (#3089)
* Test on #2396: bug in Doc.get_lca_matrix()

* reimplementation of Doc.get_lca_matrix(), (closes #2396)

* reimplement Span.get_lca_matrix(), and call it from Doc.get_lca_matrix()

* tests Span.get_lca_matrix() as well as Doc.get_lca_matrix()

* implement _get_lca_matrix as a helper function in doc.pyx; call it from Doc.get_lca_matrix and Span.get_lca_matrix

* use memory view instead of np.ndarray in _get_lca_matrix (faster)

* fix bug when calling Span.get_lca_matrix; return lca matrix as np.array instead of memoryview

* cleaner conditional, add comment
2018-12-29 18:02:26 +01:00
..
contributors Fix issue 2396 (#3089) 2018-12-29 18:02:26 +01:00
ISSUE_TEMPLATE Documentation improvement regarding joblib and SO (#2867) 2018-10-24 15:19:17 +02:00
CONTRIBUTOR_AGREEMENT.md Restore contributor agreement 2018-03-31 14:06:37 +02:00
ISSUE_TEMPLATE.md Documentation improvement regarding joblib and SO (#2867) 2018-10-24 15:19:17 +02:00
lock.yml Add lock-threads configuration [ci skip] 2018-05-07 18:54:22 +02:00
no-response.yml Add config for no-response [ci skip] 2018-05-07 22:04:54 +02:00
PULL_REQUEST_TEMPLATE.md Update pull request template 2017-10-24 21:49:11 +02:00