ishmakov / tinkoff-speech-api-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tinkoff Speech API Examples

Running examples

  1. Clone this repo
$ git clone --recursive git@github.com:TinkoffCreditSystems/tinkoff-speech-api-examples.git
$ cd tinkoff-speech-api-examples
  1. Install requirements
$ pip3 install -r requirements.txt
  1. Generate protobuf and grpc definitions for your language (Python in this example):
$ ./sh/generate_protobuf.sh
  1. Run examples
$ ./sh/recognize.sh
$ ./sh/recognize_rest.sh
$ ./sh/recognize_stream_file.sh audio/sample_1.mp3

The following example needs sox (apt install sox / brew install sox):

$ ./sh/recognize_stream_mic.sh

About


Languages

Language:Python 86.3%Language:Shell 13.7%