(name, path, train_split, tr_set, dev_split, dv_set, batch_size, bucketing)
return msg_list
List msg for verbose function
List msg for verbose function
List msg for verbose function
def _data_msg(name, path, train_split, tr_set, dev_split, dv_set, batch_size, bucketing):
    ''' List msg for verbose function '''
    msg_list = []
    msg_list.append('Data spec. | Corpus = {} (from {})'.format(name, path))
    msg_list.append('           | Train sets = {}\t| Number of utts = {}'.format(
        train_split, tr_set))
    msg_list.append(
        '           | Dev sets = {}\t| Number of utts = {}'.format(dev_split, dv_set))
    msg_list.append('           | Batch size = {}\t\t| Bucketing = {}'.format(
        batch_size, bucketing))
    return msg_list
def _data_msg ( name , path , train_split , tr_set , dev_split , dv_set , batch_size , bucketing ) : msg_list = [ ] msg_list . append ( 'Data spec. | Corpus = {} (from {})' . format ( name , path ) ) msg_list . append ( '           | Train sets = {}\t| Number of utts = {}' . format ( train_split , tr_set ) ) msg_list . append ( '           | Dev sets = {}\t| Number of utts = {}' . format ( dev_split , dv_set ) ) msg_list . append ( '           | Batch size = {}\t\t| Bucketing = {}' . format ( batch_size , bucketing ) ) return msg_list