def load_noise(front_path, end_path):
    """
    Load the front and end noise
    :param front_path:
    :param end_path:
    :return: List: front_list, end_list
    """
    front_list = []
    end_list = []
    with open(front_path, 'r', encoding='utf-8') as front_f:
        while True:
            line = front_f.readline()
            if not line:
                print('Front noise phrase load finished!')
                break
            front_list.append(line.replace('\n', ''))

    with open(end_path, 'r', encoding='utf-8') as end_f:
        while True:
            line = end_f.readline()
            if not line:
                print('End noise phrase load finished!')
                return front_list, end_list
            end_list.append(line.replace('\n', ''))