zengfenfei / voicebase-demo-voicebot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VoiceBase Demo VoiceBot

VoiceBase command

A node.js command line app to convert audio to text by VoiceBase API.

Quick Start

  1. Clone this repo and cd to the root directory.
  2. Install dependencies: yarn.
  3. Build: yarn build.
  4. Create the app config file ./data/config.json .
  5. Run the command: node build/recognize.js {audio-file} {custom-vocabulary-text-file}.

Custom vocabulary text file

A text file containing a comma(space or new line) separated string.

Configuration file

{
    "voicebaseToken": "{yourVoiceBaseAPIToken}"
}

About


Languages

Language:TypeScript 94.8%Language:JavaScript 5.2%