mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
fix indentation -.-
This commit is contained in:
parent
dae6bc05eb
commit
857454ffa0
|
@ -15,6 +15,7 @@ class German(Language):
|
|||
@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
|
||||
|
|
Loading…
Reference in New Issue
Block a user