# Speech-To-Phrase

Speech-To-Phrase is a self-hosted ai app. A fast and local speech-to-text system that is personalized with your Home Assistant device and area names. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/753/speech-to-phrase

## Description

A fast and local speech-to-text system that is personalized with your Home Assistant device and area names.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

57/100 (Fair), based on 3 of 4 factors.
- Maintained: 72 (last commit 24 days ago)
- Popular: 51 (342 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/rhasspy/wyoming-speech-to-phrase
- GitHub: https://github.com/OHF-voice/speech-to-phrase
- Unraid: https://ca.unraid.net/apps/speech-to-phrase-06c1zgg0kd2f44?q=Speech-To-Phrase

## Common questions

### Which repository has the newer rewrite of Speech-to-Phrase?

Development has moved to OHF-Voice/apps, while this repository holds the older Kaldi-based version up to v1.4.3. The rewrite uses a constrained CTC decoder, home-assistant-intents sentences, and a web UI for choosing commands.

### How can you add your own sentence values?

Use --custom-sentences-dir to point at directories of YAML files per language. For an English model, the example file is /path/to/custom_sentences/en/sentences.yaml, and list values should be quoted.

### Which Home Assistant names does Speech-to-Phrase use?

It combines predefined sentence templates with the names of Home Assistant entities, areas, and floors that are exposed to Assist. It only matches known phrases rather than acting as general-purpose speech recognition.

### What language support does the rewrite currently have?

The rewrite currently serves ca, cs, de, en, es, fr, it, and nl. It notes that ru, hi, and sl still need sentences, while the rest need both sentences and an acoustic model.

---
Source: Our Local Host (https://ourlocalhost.com/app/753/speech-to-phrase), the self-hosted and open-source app directory.
