コード例 #1
0
ファイル: filter.py プロジェクト: HatchForce/keywordextractor
def loadPositiveList(path):
    # Loader for positives list
    global positive_list
    positive_list = loadWordList(path)
コード例 #2
0
ファイル: casing.py プロジェクト: HatchForce/keywordextractor
def loadCasings(path):
    # load casing model
    model = loadWordList(path)
    for line in model:
        casings[line.lower()] = line
コード例 #3
0
ファイル: filter.py プロジェクト: HatchForce/keywordextractor
def loadNegativeList(path):
    # Loader for negatives list
    global negative_list
    negative_list = loadWordList(path)
コード例 #4
0
def loadStopWords(path):
    global stopwords
    stopwords = loadWordList(path)