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