spaCy/spacy/tests/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
..
__init__.py
test_analysis.py
test_annotates_on_update.py
test_attributeruler.py
test_edit_tree_lemmatizer.py
test_entity_linker.py
test_entity_ruler.py
test_functions.py
test_initialize.py
test_lemmatizer.py
test_models.py
test_morphologizer.py
test_pipe_factories.py
test_pipe_methods.py
test_sentencizer.py
test_senter.py
test_span_finder.py
test_span_ruler.py
test_spancat.py
test_tagger.py
test_textcat.py
test_tok2vec.py