mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-14 18:22:27 +03:00
Extend init config tests
This commit is contained in:
parent
9514bfd9e1
commit
40d06ab7c4
|
@ -552,7 +552,14 @@ def test_parse_cli_overrides():
|
||||||
|
|
||||||
@pytest.mark.parametrize("lang", ["en", "nl"])
|
@pytest.mark.parametrize("lang", ["en", "nl"])
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"pipeline", [["tagger", "parser", "ner"], [], ["ner", "textcat", "sentencizer"]]
|
"pipeline",
|
||||||
|
[
|
||||||
|
["tagger", "parser", "ner"],
|
||||||
|
[],
|
||||||
|
["ner", "textcat", "sentencizer"],
|
||||||
|
["morphologizer", "spancat", "entity_linker"],
|
||||||
|
["spancat_singlelabel", "textcat_multilabel"],
|
||||||
|
],
|
||||||
)
|
)
|
||||||
@pytest.mark.parametrize("optimize", ["efficiency", "accuracy"])
|
@pytest.mark.parametrize("optimize", ["efficiency", "accuracy"])
|
||||||
@pytest.mark.parametrize("pretraining", [True, False])
|
@pytest.mark.parametrize("pretraining", [True, False])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user