1 Star 0 Fork 0

chrischen / cn-dictation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

「生字听写」小工具

一个普通程序员写给孩子们「学习生字」的小工具

体验地址:

补充完善生字步骤:

  1. 每个生字都需要写在 /books 目录下对应的 年级.学期.txt,命名规则:
    • 1、2、3、4、5、6 分别代表6个年级
    • a:上册、b:下册
  2. 生字书写规则:
    • 生字:组词1、组词2
    • 如遇到特殊多音字,参考 SSML语法 加入<phoneme alphabet="sapi" ph="...">x</phoneme>
  3. 编译环境中需要安装ffmpeg,主要用来压缩合成后的语音
  4. 自己注册微软提供的免费的Speech Studio(注册key的时候,区域选择eastasia)
  5. 将拿到的 Speech Studio Key 写到项目根目录中,文件名:.voice_key
  6. 项目中执行 npm run build_voice

说明:

每次构建声音文件时,系统会:

  1. 仅重新构建/books中源文件里,生字or组词发生变化的字
  2. 自动清除不在被引用的声音文件
Copyright 2023-PRESENT sunzsh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

https://github.com/sunzsh/cn-dictation.git 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/chrischen2018/cn-dictation.git
git@gitee.com:chrischen2018/cn-dictation.git
chrischen2018
cn-dictation
cn-dictation
master

搜索帮助