<gh_stars>1-10
import string
hidden_size = 256
sample_rate = 16000


max_duration = 8
MAX_LENGTH = max_duration*100+1
mels_dims = 80
window_sz = 25
skip = 10



teacher_forcing_ratio = 0.80




table_trans = str.maketrans(dict.fromkeys(string.punctuation))

dictOfindex = {0: ' ',
 1: 'a',
 2: 'b',
 3: 'c',
 4: 'd',
 5: 'e',
 6: 'f',
 7: 'g',
 8: 'h',
 9: 'i',
 10: 'j',
 11: 'k',
 12: 'l',
 13: 'm',
 14: 'n',
 15: 'o',
 16: 'p',
 17: 'q',
 18: 'r',
 19: 's',
 20: 't',
 21: 'u',
 22: 'v',
 23: 'w',
 24: 'x',
 25: 'y',
 26: 'z',
 27: 'EOS',
 28: 'SOS',
 29: 'PAD'}

char_index = {' ': 0,
 'a': 1,
 'b': 2,
 'c': 3,
 'd': 4,
 'e': 5,
 'f': 6,
 'g': 7,
 'h': 8,
 'i': 9,
 'j': 10,
 'k': 11,
 'l': 12,
 'm': 13,
 'n': 14,
 'o': 15,
 'p': 16,
 'q': 17,
 'r': 18,
 's': 19,
 't': 20,
 'u': 21,
 'v': 22,
 'w': 23,
 'x': 24,
 'y': 25,
 'z': 26,
 'EOS': 27,
 'SOS': 28,
 'PAD': 29}

SOS_token = char_index['SOS']
EOS_token = char_index['EOS']
PAD_token = char_index['PAD']


import string
hidden_size = 256
sample_rate = 16000


max_duration = 8
MAX_LENGTH = max_duration*100+1
mels_dims = 80
window_sz = 25
skip = 10



teacher_forcing_ratio = 0.80




table_trans = str.maketrans(dict.fromkeys(string.punctuation))

dictOfindex = {0: ' ',
 1: 'a',
 2: 'b',
 3: 'c',
 4: 'd',
 5: 'e',
 6: 'f',
 7: 'g',
 8: 'h',
 9: 'i',
 10: 'j',
 11: 'k',
 12: 'l',
 13: 'm',
 14: 'n',
 15: 'o',
 16: 'p',
 17: 'q',
 18: 'r',
 19: 's',
 20: 't',
 21: 'u',
 22: 'v',
 23: 'w',
 24: 'x',
 25: 'y',
 26: 'z',
 27: 'EOS',
 28: 'SOS',
 29: 'PAD'}

char_index = {' ': 0,
 'a': 1,
 'b': 2,
 'c': 3,
 'd': 4,
 'e': 5,
 'f': 6,
 'g': 7,
 'h': 8,
 'i': 9,
 'j': 10,
 'k': 11,
 'l': 12,
 'm': 13,
 'n': 14,
 'o': 15,
 'p': 16,
 'q': 17,
 'r': 18,
 's': 19,
 't': 20,
 'u': 21,
 'v': 22,
 'w': 23,
 'x': 24,
 'y': 25,
 'z': 26,
 'EOS': 27,
 'SOS': 28,
 'PAD': 29}

SOS_token = char_index['SOS']
EOS_token = char_index['EOS']
PAD_token = char_index['PAD']