def preprocess_text8(data):
    """
    Text8 dataset contains a lot of single-letter words.
    We have to remove those letters before working with the dataset
    """
    words = [w for w in data.split(" ") if len(w) > 1]
    words.append('a')
    words.append('i')
    return ' '.join(words)