A framework script to group words to a list of manually defined categories by using wordnet