去停词

    Keyword arguments:
    list            -- 列表类型
    Return:
        不含停词的list

def drop_stopwords(list):
    """去停词

    Keyword arguments:
    list            -- 列表类型
    Return:
        不含停词的list
    """
    stopwords_list = []
    with open(get_default_stop_words_file(), encoding='utf-8') as stopwords:
        for line in stopwords:
            stopwords_list.append(line.replace('\n', ''))

    list_clean = []
    for i in list:
        if i not in stopwords_list:
            list_clean.append(i)
    return list_clean