fix indentation -.-

This commit is contained in:
Wolfgang Seeker 2016-05-02 17:10:41 +02:00
parent dae6bc05eb
commit 857454ffa0

View File

@ -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