<commit_before>from __future__ import unicode_literals, print_function

from os import path

from ..language import Language
from ..vocab import Vocab
from .. import attrs
from .. import util
from .. import about


class German(Language):
    lang = 'de'

	@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
        vocab.morphology.lemmatizer = lambda string,pos: set([string])
        return vocab<commit_msg>fix indentation -.-<commit_after>from __future__ import unicode_literals, print_function

from os import path

from ..language import Language
from ..vocab import Vocab
from .. import attrs
from .. import util
from .. import about


class German(Language):
    lang = 'de'

    @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)
        # 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
{'fraction_non_alphanumeric': 0.07886435331230283, 'fraction_numerical': 0.0, 'mean_word_length': 3.8068181818181817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1737374', 'n_tokens_mistral': 379, 'n_tokens_neox': 372, 'n_words': 117}