from typing import List


def load_labelled(filename: str) -> List:
    """Helper function to load labelled dataset for supervised training.

    Args:
        filename (str): filename of dataset

    Returns:
        List: list of dataset by line.
    """
    data = []
    with open(filename, "r") as F:
        for line in F:
            data.append(line.split("\t"))
    return data