Coder Social home page Coder Social logo

cn-dictation's Introduction

「生字听写」小工具

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

体验地址:

补充完善生字步骤:

  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. 自动清除不在被引用的声音文件

cn-dictation's People

Contributors

sunzsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.