spaCy/spacy/ml/models
Sofie Van Landeghem 358cbb21e3
Define candidate generator in EL config (#5876)
* candidate generator as separate part of EL config

* update comment

* ent instead of str as input for candidate generation

* Span instead of str: correct type indication

* fix types

* unit test to create new candidate generator

* fix replace_pipe argument passing

* move error message, general cleanup

* add vocab back to KB constructor

* provide KB as callable from Vocab arg

* rename to kb_loader, fix KB serialization as part of the EL pipe

* fix typo

* reformatting

* cleanup

* fix comment

* fix wrongly duplicated code from merge conflict

* rename dump to to_disk

* from_disk instead of load_bulk

* update test after recent removal of set_morphology in tagger

* remove old doc
2020-08-18 16:10:36 +02:00
..
__init__.py Tidy up and auto-format 2020-06-20 14:15:04 +02:00
entity_linker.py Define candidate generator in EL config (#5876) 2020-08-18 16:10:36 +02:00
multi_task.py Update docs and types 2020-07-31 17:02:54 +02:00
parser.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00
simple_ner.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00
tagger.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00
textcat.py Add docstring notes 2020-08-07 16:17:34 +02:00
tok2vec.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00