From afed99b3c802d8404b9ba7ff12e558fb9bd34e9d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 25 Feb 2016 03:00:54 +0100 Subject: [PATCH] * Fix command line arguments for tagger --- spacy/tagger.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tagger.pyx b/spacy/tagger.pyx index df4957b4a..3c77305b2 100644 --- a/spacy/tagger.pyx +++ b/spacy/tagger.pyx @@ -254,8 +254,8 @@ cdef class Tagger: ) @classmethod - def blank(cls, vocab, templates, learn_rate=0.005): - model = CharacterTagger(vocab.morphology.n_tags, learn_rate=learn_rate) + def blank(cls, vocab, templates, **kwargs): + model = CharacterTagger(vocab.morphology.n_tags, **kwargs) return cls(vocab, model) @classmethod