spaCy/spacy/ml
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
..
models Define candidate generator in EL config (#5876) 2020-08-18 16:10:36 +02:00
__init__.py Tidy up and auto-format 2020-06-20 14:15:04 +02:00
_biluo.py Tidy up and auto-format 2020-08-05 16:00:59 +02:00
_character_embed.py Update docs and types 2020-07-31 17:02:54 +02:00
_iob.py Update docs and types 2020-07-31 17:02:54 +02:00
_precomputable_affine.py Tidy up, autoformat, add types 2020-07-25 15:01:15 +02:00
extract_ngrams.py Update docs and types 2020-07-31 17:02:54 +02:00
parser_model.pxd The Parser is now a Pipe (2) (#5844) 2020-07-30 23:30:54 +02:00
parser_model.pyx The Parser is now a Pipe (2) (#5844) 2020-07-30 23:30:54 +02:00
staticvectors.py Format 2020-07-29 14:00:13 +02:00
tb_framework.py The Parser is now a Pipe (2) (#5844) 2020-07-30 23:30:54 +02:00