Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
170
def
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
eval
Function · 0.90
get_mfccs_and_phones
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected