# Speech-to-Phrase

> Fast and personalized local speech-to-text

Source: https://talira.ai/catalog/speech-to-phrase-wppvh394
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Web app
- Categories: [home / automation / voice](https://talira.ai/categories/home/automation/voice)
- Platforms: docker[^1]
- Licence: Apache-2.0[^3]
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Supports: [Wyoming](https://talira.ai/standards/wyoming.md)[^1]
- Backed by: [Open Home Foundation](https://talira.ai/orgs/open-home-foundation.md)

Speech-to-Phrase is a fast, local speech-to-text system for [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md) voice commands that answers "which of the phrases I know did the user say?" rather than transcribing anything. It combines sentence templates with the names of your Home Assistant entities, areas and floors exposed to Assist, compiles them into a grammar, and decodes audio against it, so recognition stays fast and accurate on modest hardware; it connects to Home Assistant over the Wyoming protocol as an add-on or a Docker container. You can add your own sentences, and phrases from automations' sentence triggers are picked up automatically. The Kaldi-based versions up to 1.4.3 live in this repository; development has moved to the Open Home Foundation's OHF-Voice/apps repository, where a rewrite uses a constrained CTC decoder, Home Assistant's intents sentences and a web UI for choosing which commands to recognise, and hands unrecognised audio back so Home Assistant can fall back to cloud speech-to-text. Apache-2.0 licensed.

## Links

- GitHub: https://github.com/OHF-Voice/speech-to-phrase

## Problems it solves

- voice control for my smart home that runs fast on a Raspberry Pi without the cloud
- my local voice assistant mishears device names because general speech recognition doesn't know them
- recognise only the handful of commands I actually use so it's quick and accurate
- say custom phrases to trigger my Home Assistant automations offline
- a low-resource alternative to running Whisper for home voice commands

## Features

- recognises sentences built from your Home Assistant entity, area and floor names
- custom sentences and lists
- sentence triggers from automations picked up automatically
- Home Assistant add-on and Docker container over Wyoming
- models downloaded automatically from Hugging Face
- web UI for choosing commands and names (rewrite in OHF-Voice/apps)
- confidence gate that falls back to cloud speech-to-text
- many languages

## Limitations

- It isn't a general-purpose speech recogniser: it only recognises the sentences you enable.[^1]
- It only transcribes speech; Home Assistant's own conversation agent decides what a command means and runs it.[^2]
- The rewrite in OHF-Voice/apps serves fewer languages than the Kaldi-based v1.4.3 so far.[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.47 out of 1.
Signals: maintenance 0.62, adoption 0.51, momentum 0.37, community 0.45, backing 0.30, extensibility 0.20.

- last commit 7 days ago
- 3 commits in the last 90 days
- latest release v1.4.3 7 months ago
- 359 GitHub stars
- 12 contributors
- backed by Open Home Foundation

## Related

- Works with [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md)

## Alternatives

- [Wyoming Faster Whisper](https://talira.ai/catalog/wyoming-faster-whisper-nr163dhs.md): Wyoming protocol server for faster whisper speech to text system
- [Piper](https://talira.ai/catalog/piper-5pee7gqy.md): A fast and local neural text-to-speech engine
- [Home Assistant Link](https://talira.ai/catalog/home-assistant-link-2njw660b.md): The official Home Assistant subscription that gives you an easy, secure way to connect to your home from anywhere
- [Willow](https://talira.ai/catalog/willow-vqhzd8ze.md): Self-hosted voice assistant firmware for ESP32-S3 devices
- [Linux Voice Assistant](https://talira.ai/catalog/linux-voice-assistant-n5g8m0gz.md): Voice satellite for Home Assistant using the ESPHome protocol

## Sources

[^1]: https://github.com/OHF-Voice/speech-to-phrase (checked 23 Nov 2026)
[^2]: https://github.com/OHF-Voice/apps/blob/main/speech-to-phrase/DOCS.md (checked 23 Nov 2026)
[^3]: https://github.com/OHF-Voice/speech-to-phrase/blob/main/LICENSE.md (checked 23 Nov 2026)
