def read_raw_data(data_fn):
    """
    Reads raw data from a file. Each line contains one example.
    """
    examples = []
    with open(data_fn, 'r') as fin:
        for line in fin:
            examples.append(line.strip())
    return examples