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 Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_annotates_on_update.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_attributeruler.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_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
test_entity_linker.py Fix use_gold_ents behaviour for EntityLinker (#13400) 2024-04-16 12:00:22 +02:00
test_entity_ruler.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_functions.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_initialize.py Allow pydantic v2 using transitional v1 support (#12888) 2023-08-08 11:27:28 +02:00
test_lemmatizer.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_models.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_morphologizer.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_pipe_factories.py Update `TextCatBOW` to use the fixed `SparseLinear` layer (#13149) 2023-11-29 09:11:54 +01:00
test_pipe_methods.py Revert disable/disabled merging behavior (#11745) 2022-11-08 14:58:10 +01:00
test_sentencizer.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_senter.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_span_finder.py Use spans_ prefix for default span finder scores (#12753) 2023-06-27 19:32:17 +02:00
test_span_ruler.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_spancat.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_tagger.py Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
test_textcat.py `TextCatParametricAttention.v1`: set key transform dimensions (#13249) 2024-02-02 13:01:59 +01:00
test_tok2vec.py Address issues with source with component names and replacing listeners (#12701) 2023-06-27 10:47:07 +02:00