def _get_lexeme(self, form, base_analyzer, this_method): lexemizer = self.lexemizer(form, this_method) form = without_last_method(next(lexemizer)) lexeme = lexemizer.send(base_analyzer.get_lexeme(form)) return [append_method(f, this_method) for f in lexeme]
def _normalized(self, form, base_analyzer, this_method): normalizer = self.normalizer(form, this_method) form = without_last_method(next(normalizer)) normal_form = normalizer.send(base_analyzer.normalized(form)) return append_method(normal_form, this_method)