spaCy/spacy/pipeline
Sofie Van Landeghem 2e2334632b
Fix use_gold_ents behaviour for EntityLinker (#13400)
* fix type annotation in docs

* only restore entities after loss calculation

* restore entities of sample in initialization

* rename overfitting function

* fix EL scorer

* Relax test

* fix formatting

* Update spacy/pipeline/entity_linker.py

Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>

* rename to _ensure_ents

* further rename

* allow for scorer to be None

---------

Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2024-04-16 12:00:22 +02:00
..
_edit_tree_internals Add profile=False to currently unprofiled cython 2023-09-28 17:09:41 +02:00
_parser_internals Fix typo in method name 2024-01-16 21:54:54 +01:00
legacy Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
__init__.py Update __all__ fields (#13063) 2023-10-16 10:17:47 +02:00
attributeruler.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
dep_parser.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
edit_tree_lemmatizer.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
entity_linker.py Fix use_gold_ents behaviour for EntityLinker (#13400) 2024-04-16 12:00:22 +02:00
entityruler.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
functions.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
lemmatizer.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
morphologizer.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
multitask.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
ner.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
pipe.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
pipe.pyi Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
pipe.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
sentencizer.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
senter.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
span_finder.py SpanFinder: set default max_length to 25 (#12791) 2023-07-06 09:55:34 +02:00
span_ruler.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
spancat.py SpanFinder into spaCy from experimental (#12507) 2023-06-07 15:52:28 +02:00
tagger.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
textcat.py Add TextCatReduce.v1 (#13181) 2023-12-21 11:00:06 +01:00
textcat_multilabel.py Add TextCatReduce.v1 (#13181) 2023-12-21 11:00:06 +01:00
tok2vec.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
trainable_pipe.pxd Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
trainable_pipe.pyx Remove profile=True from currently profiled cython 2023-09-28 17:09:41 +02:00
transition_parser.pxd ci: add cython linter (#12694) 2023-07-19 12:03:31 +02:00
transition_parser.pyx Add profile=False to currently unprofiled cython 2023-09-28 17:09:41 +02:00