From 857454ffa0c7d66a788d15e1f6feb1ba6ba1ba59 Mon Sep 17 00:00:00 2001 From: Wolfgang Seeker Date: Mon, 2 May 2016 17:10:41 +0200 Subject: [PATCH] fix indentation -.- --- spacy/de/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spacy/de/__init__.py b/spacy/de/__init__.py index e76431b15..f2a173e71 100644 --- a/spacy/de/__init__.py +++ b/spacy/de/__init__.py @@ -12,9 +12,10 @@ from .. import about class German(Language): lang = 'de' - @classmethod + @classmethod def default_vocab(cls, package, get_lex_attr=None, vectors_package=None): vocab = super(German,cls).default_vocab(package,get_lex_attr,vectors_package) - # for now until the morphology is done for German + # set a dummy lemmatizer for now that simply returns the same string + # until the morphology is done for German vocab.morphology.lemmatizer = lambda string,pos: set([string]) return vocab