MCPcopy
hub / github.com/andabi/deep-voice-conversion / load_vocab

Function load_vocab

data_load.py:170–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168
169
170def load_vocab():
171 phn2idx = {phn: idx for idx, phn in enumerate(phns)}
172 idx2phn = {idx: phn for idx, phn in enumerate(phns)}
173
174 return phn2idx, idx2phn
175
176

Callers 2

evalFunction · 0.90
get_mfccs_and_phonesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected