def loadArticle(filename):
    """
    加载文章
    :param filename: 文件路径
    :return: 文章内容
    """
    artical = []

    with open(filename, encoding='utf8') as f:
        for line in f.readlines():
            line = line.strip()
            if not line:
                continue
            # 将该行放入文章列表中
            artical.append(line)
    return artical