项目作者: nezorflame

项目描述 :
Speech recognition bot for Telegram using Yandex SpeechKit through gRPC
高级语言: Go
项目地址: git://github.com/nezorflame/speech-recognition-bot.git
创建时间: 2019-03-06T14:10:46Z
项目社区:https://github.com/nezorflame/speech-recognition-bot

开源协议:MIT License

下载


speech-recognition-bot CircleCI Go Report Card GolangCI FOSSA Status

Speech recognition bot for Telegram using Yandex SpeechKit API through gRPC.

Currently only the client for the SpeechKit API is implemented (as POC). Bot will be implemented at the later stages.

Installation

This project uses Go modules.
To install it, starting with Go 1.12 you can just use go get:

go get github.com/nezorflame/speech-recognition-bot

or

go install github.com/nezorflame/speech-recognition-bot/cmd/speech-client

Also you can just clone this repo and use the build/install targets from Makefile.

Prerequisits

Make sure you have acquired:

  • OAuth token
  • Folder ID (can be found at your Cloud page after you’ve selected your project (in the form of https://console.cloud.yandex.ru/folders/YOUR_FOLDER_ID)

Bot

Located at cmd/speech-recognizer-bot.
Uses config in the TOML format. Example can be found at config.example.toml.

Usage:

  1. --config string Config file name (default "config")
  2. --log-level string Logrus log level (DEBUG, INFO, WARN, etc.) (default "INFO")

Client test app

Located at cmd/speech-client.

Usage:

  1. --audio-file string Audio file path (for recognition)
  2. --folder-id string Yandex Cloud folder ID
  3. --lang string Language to detect (default "en-US")
  4. --log-level string Logrus log level (DEBUG, WARN, etc.) (default "INFO")
  5. --token string Yandex Cloud OAuth token

License

FOSSA Status