Package: add 1000-hours repo in workspace (#337)

* add 1000-hours repo in workspace

* update README
This commit is contained in:
an-lee
2024-02-20 15:40:18 +08:00
committed by GitHub
parent 66bad2002c
commit dab09ea644
385 changed files with 21653 additions and 36 deletions

View File

@@ -0,0 +1,13 @@
function getAudioPath(word, accent) {
word = word.toLowerCase();
accent = accent || 'us';
const item = mapping[word];
if (item && item[accent] && item[accent].length !== 0) {
return `/vendor/audios/${item[accent][0]}`
}
return '';
}
export {
getAudioPath
}