def possible_stems2(self, form, key_regex=None):
     for key, stem in self.ruleset.possible_stems2(debreath(form)):
         if key_regex is None or re.match(key_regex, key):
             yield key, rebreath(strip_accents(stem))
Esempio n. 2
0
 def possible_stems2(self, form, key_regex=None):
     for key, stem in self.ruleset.possible_stems2(debreath(form)):
         if key_regex is None or re.match(key_regex, key):
             yield key, rebreath(strip_accents(stem))