def loadPositiveList(path): # Loader for positives list global positive_list positive_list = loadWordList(path)
def loadCasings(path): # load casing model model = loadWordList(path) for line in model: casings[line.lower()] = line
def loadNegativeList(path): # Loader for negatives list global negative_list negative_list = loadWordList(path)
def loadStopWords(path): global stopwords stopwords = loadWordList(path)