An open API service indexing awesome lists of open source software.

https://github.com/rhasspy/rhasspy-asr-kaldi-hermes

MQTT service for speech to text with Kaldi using Hermes protocol
https://github.com/rhasspy/rhasspy-asr-kaldi-hermes

Last synced: 10 days ago
JSON representation

MQTT service for speech to text with Kaldi using Hermes protocol

Awesome Lists containing this project

README

        

# Rhasspy ASR Kaldi Hermes MQTT Service

[![Continous Integration](https://github.com/rhasspy/rhasspy-asr-kaldi-hermes/workflows/Tests/badge.svg)](https://github.com/rhasspy/rhasspy-asr-kaldi-hermes/actions)
[![GitHub license](https://img.shields.io/github/license/rhasspy/rhasspy-asr-kaldi-hermes.svg)](https://github.com/rhasspy/rhasspy-asr-kaldi-hermes/blob/master/LICENSE)

Implements `hermes/asr` functionality from [Hermes protocol](https://docs.snips.ai/reference/hermes) using [rhasspy-asr-kaldi](https://github.com/rhasspy/rhasspy-asr-kaldi).

## Requirements

* Python 3.7
* [Kaldi](https://kaldi-asr.org)
* Expects `$KALDI_DIR` in environment
* [Opengrm](http://www.opengrm.org/twiki/bin/view/GRM/NGramLibrary)
* Expects `ngram*` in `$PATH`
* [Phonetisaurus](https://github.com/AdolfVonKleist/Phonetisaurus)
* Expects `phonetisaurus-apply` in `$PATH`

See [pre-built apps](https://github.com/synesthesiam/prebuilt-apps) for pre-compiled binaries.

## Installation

```bash
$ git clone https://github.com/rhasspy/rhasspy-asr-kaldi-hermes
$ cd rhasspy-asr-kaldi-hermes
$ ./configure --enable-in-place
$ make
$ make install
```

## Running

```bash
$ ./rhasspy-asr-kaldi-hermes
```