sunyanqing / kaldi-audio-server

An Audio Server based on Kaldi
Apache License 2.0
5 stars 4 forks source link

An Audio Server based on Kaldi

This project shows how to build an ASR service based on Kaldi, a famous Speech Recognition Toolkit.

Currently, two server side program audio-server-online2-nnet2 (out-of-date) and audio-server-online2-nnet3 are provided. They are based on online2 & nnet2/nnet3(chain), and provide multi tcp service at the same time. More features that maybe useful for a practical system, as well as client side demo will be added later.

To start, you need to INSTALL Kaldi from main Kaldi repository in GitHub. Make ext maybe also required. Then build audio-server-online2-nnet2 (out-of-date) and audio-server-online2-nnet3 based on Kaldi.

To test, you could use any online2 & nnet2/nnet3(chain) model trained with kaldi, such as Api.ai kaldi Speech Recognition Model or Librispeech TDNN models with silence probability.

A simple example using nnet3 model

A simple example using nnet2 model (out-of-date)

Test