Exemplo n.º 1
0
 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]
Exemplo n.º 2
0
 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]
Exemplo n.º 3
0
    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)
Exemplo n.º 4
0
    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)