def category_words():
		return ((cat, (word for i in instance_list for word in i)) for cat, instance_list in iteritems(train_instances))					

##################
## word scoring ##
##################
return an iteration of tuples of category and list of all words in instances of that category.
dataset/ETHPy150Open japerk/nltk-trainer/train_classifier.py/category_words