2ndLA / PROnunciation

🚧 [WIP] All about pronunciation of computer terms. 专注计算机词汇发音。
MIT License
6 stars 0 forks source link

word helper script #7

Closed shady-robot closed 5 years ago

shady-robot commented 5 years ago

根据指定单词文本 NewWords.txt,自动下载对应 google translate 音频保存,并按照单词格式

{
  spell: 'MySQL',
  symbol: '/maɪˌɛskjuːˈɛl/',
  audio: 'mysql.m4a',
  reference: {
    desc: 'dev.mysql.com',
    url: 'https://dev.mysql.com/doc/refman/8.0/en/what-is-mysql.html',
  },
}

填充成 json 格式置相应文件,如果原单词已存在词库中,则跳过不处理。