

def update_language(self, meta_lang):
    'Required to be called before the extraction process in some\n        cases because the stopwords_class has to set incase the lang\n        is not latin based\n        '
    if meta_lang:
        self.language = meta_lang
        self.stopwords_class = self.config.get_stopwords_class(meta_lang)

dataset/ETHPy150Open codelucas/newspaper/newspaper/outputformatters.py OutputFormatter.update_language/original