(ai: hw1): import a simple solution aided with nltk.