spaCy/spacy
Adriane Boyd 2c545c4c5b
Fix offsets in Span.get_lca_matrix (#8116)
* Fix range in Span.get_lca_matrix

Fix the adjusted token index / lca matrix index ranges for
`_get_lca_matrix` for spans.

* The range for `k` should correspond to the adjusted indices in
`lca_matrix` with the `start` indexed at `0`

* Update test for v3.x
2021-05-17 16:54:23 +02:00
..
cli Update debug data for textcat (#8066) 2021-05-17 13:27:04 +02:00
displacy Also exclude user hooks in displacy conversion (#7419) 2021-03-12 09:41:59 +01:00
lang Fix/fix en ordinals (#8028) 2021-05-07 10:26:42 +02:00
matcher Fix span offsets for Matcher(as_spans) on spans (#7992) 2021-05-06 18:42:44 +10:00
ml make EntityLinker robust for nO=None (#7930) 2021-05-06 18:14:47 +10:00
pipeline Preserve existing ENT_KB_ID annotation in NER (#7988) 2021-05-06 18:49:55 +10:00
tests Fix offsets in Span.get_lca_matrix (#8116) 2021-05-17 16:54:23 +02:00
tokens Fix offsets in Span.get_lca_matrix (#8116) 2021-05-17 16:54:23 +02:00
training Add callback to copy vocab/tokenizer from model (#7750) 2021-04-22 12:36:50 +02:00
__init__.pxd
__init__.py Add vocab kwarg back to spacy.load 2021-03-11 10:58:59 +01:00
__main__.py
about.py Set version to v3.0.6 (#7854) 2021-04-22 16:33:26 +02:00
attrs.pxd
attrs.pyx
compat.py
default_config.cfg Support large/infinite training corpora (#7208) 2021-04-08 18:08:04 +10:00
default_config_pretraining.cfg
errors.py Custom warning if the doc_bin is too large (#8069) 2021-05-17 15:48:40 +02:00
glossary.py Add Chinese PTB tags to glossary (#7993) 2021-05-06 18:43:03 +10:00
kb.pxd
kb.pyx Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
language.py Handle errors while multiprocessing (#8004) 2021-05-17 13:28:39 +02:00
lexeme.pxd
lexeme.pyx reduce memory load when reading all vectors from file (#6945) 2021-02-07 08:05:43 +08:00
lookups.py Update load_lookups return type and docstring (#7907) 2021-04-27 09:13:39 +02:00
morphology.pxd
morphology.pyx Prevent 0-length mem alloc (#6653) 2021-01-06 12:50:17 +11:00
parts_of_speech.pxd
parts_of_speech.pyx
pipe_analysis.py
py.typed Add py.typed 2021-03-16 09:48:31 +01:00
schemas.py Support env vars and CLI overrides for project.yml 2021-02-10 13:45:27 +11:00
scorer.py Extend score_spans for overlapping & non-labeled spans (#7209) 2021-04-08 12:19:17 +02:00
strings.pxd
strings.pyx Make vocab update in get_docs deterministic (#7603) 2021-04-09 11:53:13 +02:00
structs.pxd Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
symbols.pxd introduce token.has_head and refer to MISSING_DEP_ (WIP) 2021-01-12 17:17:06 +01:00
symbols.pyx introduce token.has_head and refer to MISSING_DEP_ (WIP) 2021-01-12 17:17:06 +01:00
tokenizer.pxd Fix tokenizer cache flushing (#7836) 2021-04-22 18:14:57 +10:00
tokenizer.pyx Fix tokenizer cache flushing (#7836) 2021-04-22 18:14:57 +10:00
typedefs.pxd
typedefs.pyx
util.py Refactor util.to_ternary_int (#7944) 2021-04-29 16:58:54 +02:00
vectors.pyx Fix vectors data on GPU (#7626) 2021-04-19 18:30:03 +10:00
vocab.pxd
vocab.pyx Skip vector ngram backoff if minn is not set (#7925) 2021-05-06 18:34:35 +10:00