Skip to main content

No project description provided

Project description

Rhasspy Wake Pocketsphinx Hermes

Implements hermes/hotword functionality from Hermes protocol using Pocketsphinx.

Running With Docker

docker run -it rhasspy/rhasspy-wake-pocketsphinx-hermes:<VERSION> <ARGS>

Building From Source

Clone the repository and create the virtual environment:

git clone https://github.com/rhasspy/rhasspy-wake-pocketsphinx-hermes.git
cd rhasspy-wake-pocketsphinx-hermes
make venv

Run the bin/rhasspy-wake-pocketsphinx-hermes script to access the command-line interface:

bin/rhasspy-wake-pocketsphinx-hermes --help

Building the Debian Package

Follow the instructions to build from source, then run:

source .venv/bin/activate
make debian

If successful, you'll find a .deb file in the dist directory that can be installed with apt.

Building the Docker Image

Follow the instructions to build from source, then run:

source .venv/bin/activate
make docker

This will create a Docker image tagged rhasspy/rhasspy-wake-pocketsphinx-hermes:<VERSION> where VERSION comes from the file of the same name in the source root directory.

NOTE: If you add things to the Docker image, make sure to whitelist them in .dockerignore.

Command-Line Options

usage: rhasspy-wake-pocketsphinx-hermes [-h] --acoustic-model ACOUSTIC_MODEL
                                        --dictionary DICTIONARY --keyphrase
                                        KEYPHRASE
                                        [--keyphrase-threshold KEYPHRASE_THRESHOLD]
                                        [--mllr-matrix MLLR_MATRIX]
                                        [--wakewordId WAKEWORDID]
                                        [--host HOST] [--port PORT]
                                        [--siteId SITEID] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  --acoustic-model ACOUSTIC_MODEL
                        Path to Pocketsphinx acoustic model directory (hmm)
  --dictionary DICTIONARY
                        Path to pronunciation dictionary file
  --keyphrase KEYPHRASE
                        Keyword phrase to listen for
  --keyphrase-threshold KEYPHRASE_THRESHOLD
                        Threshold for keyphrase (default: 1e-40)
  --mllr-matrix MLLR_MATRIX
                        Path to tuned MLLR matrix file
  --wakewordId WAKEWORDID
                        Wakeword ID of each keyphrase (default: default)
  --host HOST           MQTT host (default: localhost)
  --port PORT           MQTT port (default: 1883)
  --siteId SITEID       Hermes siteId(s) to listen for (default: all)
  --debug               Print DEBUG messages to the console

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

File details

Details for the file rhasspy-wake-pocketsphinx-hermes-0.1.1.tar.gz.

File metadata

  • Download URL: rhasspy-wake-pocketsphinx-hermes-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for rhasspy-wake-pocketsphinx-hermes-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5714af1882730a8a7a02d776549f2f2640969419e8828c900158d8220f22506e
MD5 f2bd11a96f709b6c80f7800bf7d85d33
BLAKE2b-256 a7067786abd1003dd98373503a62b05cad16b081fa1030168bdf8d142b09814f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page