From 789a44755eb84ccef467246b75432a4febab6087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Wed, 22 Jun 2022 16:24:14 +0200 Subject: [PATCH] Formatting fixes in Tagger --- spacy/pipeline/tagger.pyx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spacy/pipeline/tagger.pyx b/spacy/pipeline/tagger.pyx index d5374a6e3..548e895ee 100644 --- a/spacy/pipeline/tagger.pyx +++ b/spacy/pipeline/tagger.pyx @@ -50,7 +50,7 @@ DEFAULT_TAGGER_MODEL = Config().from_str(default_model_config)["model"] "overwrite": False, "scorer": {"@scorers": "spacy.tagger_scorer.v1"}, "neg_prefix": "!", - "store_activations": False + "store_activations": False, }, default_score_weights={"tag_acc": 1.0}, ) @@ -70,7 +70,8 @@ def make_tagger( in size, and be normalized as probabilities (all scores between 0 and 1, with the rows summing to 1). """ - return Tagger(nlp.vocab, model, name, overwrite=overwrite, scorer=scorer, neg_prefix=neg_prefix, store_activations=store_activations) + return Tagger(nlp.vocab, model, name, overwrite=overwrite, scorer=scorer, neg_prefix=neg_prefix, + store_activations=store_activations) def tagger_score(examples, **kwargs):