spaCy/spacy
Sofie Van Landeghem 536798f9e3
Disallow False for first/last arguments of add_pipe (#12793)
* Literal True for first/last options

* add test case

* update docs

* remove old redundant test case

* black formatting

* use Optional typing in docstrings

Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>

---------

Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2023-07-06 15:20:13 +02:00
..
cli Merge remote-tracking branch 'upstream/master' into v4-isort 2023-06-26 12:43:00 +02:00
displacy isort all the things 2023-06-26 11:41:03 +02:00
kb Merge remote-tracking branch 'upstream/master' into v4-isort 2023-06-26 12:43:00 +02:00
lang isort all the things 2023-06-26 11:41:03 +02:00
matcher Merge remote-tracking branch 'upstream/master' into v4-isort 2023-06-26 12:43:00 +02:00
ml isort all the things 2023-06-26 11:41:03 +02:00
pipeline isort all the things 2023-06-26 11:41:03 +02:00
tests Disallow False for first/last arguments of add_pipe (#12793) 2023-07-06 15:20:13 +02:00
tokens Fix span <-> underscore import cycle 2023-06-26 12:43:21 +02:00
training Fix training.callbacks <-> language import cycle 2023-06-26 12:43:45 +02:00
__init__.pxd * Seems to be working after refactor. Need to wire up more POS tag features, and wire up save/load of POS tags. 2014-10-24 02:23:42 +11:00
__init__.py isort all the things 2023-06-26 11:41:03 +02:00
__main__.py Tidy up 2020-06-22 00:45:40 +02:00
about.py Set version to v4.0.0.dev1 (#12748) 2023-06-23 09:43:41 +02:00
attrs.pxd isort all the things 2023-06-26 11:41:03 +02:00
attrs.pyx Consolidate and freeze symbols (#11352) 2022-09-02 09:08:40 +02:00
compat.py isort all the things 2023-06-26 11:41:03 +02:00
default_config_distillation.cfg Add the configuration schema for distillation (#12201) 2023-01-31 13:06:02 +01:00
default_config_pretraining.cfg Add new parameter for saving every n epoch in pretraining (#8912) 2021-08-12 11:14:48 +02:00
default_config.cfg Add training.before_update callback (#11739) 2022-11-23 17:54:58 +01:00
errors.py Disallow False for first/last arguments of add_pipe (#12793) 2023-07-06 15:20:13 +02:00
glossary.py isort all the things 2023-06-26 11:41:03 +02:00
language.py Disallow False for first/last arguments of add_pipe (#12793) 2023-07-06 15:20:13 +02:00
lexeme.pxd isort all the things 2023-06-26 11:41:03 +02:00
lexeme.pyi isort all the things 2023-06-26 11:41:03 +02:00
lexeme.pyx isort all the things 2023-06-26 11:41:03 +02:00
lookups.py isort all the things 2023-06-26 11:41:03 +02:00
morphology.pxd isort all the things 2023-06-26 11:41:03 +02:00
morphology.pyx isort all the things 2023-06-26 11:41:03 +02:00
parts_of_speech.pxd isort all the things 2023-06-26 11:41:03 +02:00
parts_of_speech.pyx Drop Python 2.7 and 3.5 (#4828) 2019-12-22 01:53:56 +01:00
pipe_analysis.py isort all the things 2023-06-26 11:41:03 +02:00
py.typed Add py.typed 2021-03-16 09:48:31 +01:00
schemas.py isort all the things 2023-06-26 11:41:03 +02:00
scorer.py isort all the things 2023-06-26 11:41:03 +02:00
strings.pxd isort all the things 2023-06-26 11:41:03 +02:00
strings.pyi isort all the things 2023-06-26 11:41:03 +02:00
strings.pyx isort all the things 2023-06-26 11:41:03 +02:00
structs.pxd isort all the things 2023-06-26 11:41:03 +02:00
symbols.pxd Consolidate and freeze symbols (#11352) 2022-09-02 09:08:40 +02:00
symbols.pyx Consolidate and freeze symbols (#11352) 2022-09-02 09:08:40 +02:00
tokenizer.pxd isort all the things 2023-06-26 11:41:03 +02:00
tokenizer.pyx isort all the things 2023-06-26 11:41:03 +02:00
ty.py isort all the things 2023-06-26 11:41:03 +02:00
typedefs.pxd isort all the things 2023-06-26 11:41:03 +02:00
typedefs.pyx Tidy up rest 2017-10-27 21:07:59 +02:00
util.py isort all the things 2023-06-26 11:41:03 +02:00
vectors.pyx isort all the things 2023-06-26 11:41:03 +02:00
vocab.pxd isort all the things 2023-06-26 11:41:03 +02:00
vocab.pyi isort all the things 2023-06-26 11:41:03 +02:00
vocab.pyx isort all the things 2023-06-26 11:41:03 +02:00