Skip to main content

No project description provided

Project description

Rhasspy Fuzzywuzzy Hermes

Continous Integration GitHub license

Implements hermes/nlu functionality from Hermes protocol using fuzzywuzzy.

Running With Docker

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

Building From Source

Clone the repository and create the virtual environment:

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

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

bin/rhasspy-fuzzywuzzy-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-fuzzywuzzy-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-fuzzywuzzy-hermes [-h] [--examples EXAMPLES]
                                 [--intent-graph INTENT_GRAPH]
                                 [--sentences SENTENCES] [--slots SLOTS]
                                 [--slot-programs SLOT_PROGRAMS]
                                 [--watch-delay WATCH_DELAY] [--host HOST]
                                 [--port PORT] [--siteId SITEID]
                                 [--language LANGUAGE] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  --examples EXAMPLES   Path to examples JSON file
  --intent-graph INTENT_GRAPH
                        Path to intent graph JSON file
  --sentences SENTENCES
                        Watch sentences.ini file(s) for changes and re-train
  --slots SLOTS         Directories with static slot text files
  --slot-programs SLOT_PROGRAMS
                        Directories with slot programs
  --watch-delay WATCH_DELAY
                        Seconds between polling sentence file(s) for training
  --host HOST           MQTT host (default: localhost)
  --port PORT           MQTT port (default: 1883)
  --siteId SITEID       Hermes siteId(s) to listen for (default: all)
  --language LANGUAGE   Language used for number replacement
  --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

rhasspy-fuzzywuzzy-hermes-0.1.1.tar.gz (7.2 kB view hashes)

Uploaded Source

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