def stem(self, text):
        """Stem a text string to its common stem form."""
        normalizedText = TextNormalizer.normalize_text(text)

        words = normalizedText.split(' ')
        stems = []

        for word in words:
            stems.append(self.stem_word(word))

        return ' '.join(stems)
def stem ( self , text ) : normalizedText = TextNormalizer . normalize_text ( text ) words = normalizedText . split ( ' ' ) stems = [ ] for word in words : stems . append ( self . stem_word ( word ) ) return ' ' . join ( stems )
Stem a text string to its common stem form.