This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from nltk import numpy | |
from nltk.cluster import kmeans, gaac, euclidean_distance | |
import nltk.corpus | |
from nltk import decorators | |
import nltk.stem | |
stemmer_func = nltk.stem.snowball.EnglishStemmer().stem | |
stopwords = nltk.corpus.stopwords.words("english") |