'Load French and English sentence data from file.'

def __init__(self, time_steps, path, tokenizer=None, onehot_input=False, get_prev_target=False, split=None, dataset='un2000', subset_pct=100):

    assert (dataset in ('europarl7', 'un2000')), 'invalid    dataset'
    processed_file = os.path.join(path, (((dataset + '-') + split) + '.h5'))
    assert os.path.exists(processed_file), (("Dataset    at    '" + processed_file) + "'    not    found")
    self.subset_pct = subset_pct
    super(TextNMT, self).__init__(time_steps, processed_file, vocab=None, tokenizer=tokenizer, onehot_input=onehot_input, get_prev_target=get_prev_target, reverse_target=True)
