spaCy/spacy/tests/serialize
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 Revert #4334 2019-09-29 17:32:12 +02:00
test_serialize_config.py Update for new Thinc and adjust config 2020-08-13 17:38:30 +02:00
test_serialize_doc.py Tidy up and auto-format 2020-08-05 16:00:59 +02:00
test_serialize_extension_attrs.py Merge branch 'master' into develop 2020-02-18 14:47:23 +01:00
test_serialize_kb.py Define candidate generator in EL config (#5876) 2020-08-18 16:10:36 +02:00
test_serialize_language.py Remove dead and/or deprecated code (#5710) 2020-07-06 13:06:25 +02:00
test_serialize_pipeline.py Add Lemmatizer and simplify related components (#5848) 2020-08-07 15:27:13 +02:00
test_serialize_tokenizer.py Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
test_serialize_vocab_strings.py Add Lemmatizer and simplify related components (#5848) 2020-08-07 15:27:13 +02:00