def singularize(self, word): singularWord = inflect.engine().singular_noun(word) if singularWord: return singularWord return word