k-means algorithm with nltk library