def steam_words(self, word):
ps_obj = PorterStemmer() # creating the port steamer
steamed_word = ps_obj.stem(word)
return steamed_word # returns the steamed word to the main file .
# Natural Language displaying setneces .
评论列表
文章目录