def load_data_str(data_dir):
    """ load the arithmetic expression data in string format """

    fname = 'equation2_15_dataset.txt'
    with open(data_dir / fname) as f:
        eqs = f.readlines()

    for i in range(len(eqs)):
        eqs[i] = eqs[i].strip().replace(' ', '')

    return eqs