Rhasspy Fuzzywuzzy
Intent recognition for Rhasspy using rapidfuzz.
Requirements
- Python 3.7
Installation
$ git clone https://github.com/rhasspy/rhasspy-fuzzywuzzy
$ cd rhasspy-fuzzywuzzy
$ ./configure
$ make
$ make install
Deployment
$ make dist
Running
$ bin/rhasspy-fuzzywuzzy <ARGS>
Command-Line Options
usage: rhasspy-fuzzywuzzy [-h] [--debug] {recognize,train} ...
positional arguments:
{recognize,train}
recognize Do intent recognition
train Generate intent examples from sentences and slots
optional arguments:
-h, --help show this help message and exit
--debug Print DEBUG messages to the console
Recognize
usage: rhasspy-fuzzywuzzy recognize [-h] --examples EXAMPLES --intent-graph
INTENT_GRAPH [--replace-numbers]
[--language LANGUAGE]
[--word-casing {upper,lower,ignore}]
[query [query ...]]
positional arguments:
query Query input sentences
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
--replace-numbers Automatically replace numbers in query text
--language LANGUAGE Language used for number replacement
--word-casing {upper,lower,ignore}
Case transformation applied to query text
Train
usage: rhasspy-fuzzywuzzy train [-h] [--examples EXAMPLES]
[--intent-graph INTENT_GRAPH]
[--sentences SENTENCES]
optional arguments:
-h, --help show this help message and exit
--examples EXAMPLES Path to write examples JSON file
--intent-graph INTENT_GRAPH
Path to write intent graph JSON file
--sentences SENTENCES
Paths to sentences ini files
Release files for rhasspy-fuzzywuzzy 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rhasspy-fuzzywuzzy-0.4.0.tar.gz | 7.3 kB | Details |
Release files / rhasspy-fuzzywuzzy-0.4.0.tar.gz
| Download URL | rhasspy-fuzzywuzzy-0.4.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7188670f19c67d6d711d4fb1594e97aec2ec9956dbdac40c2f0a43cbff53d8a2
|
|
BLAKE2b-256 checksum How to use checksums |
fa958362dba2eaf23b2dbd93e1e4c4bae695af1f6db437771991560e23c11a76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.0 CPython/3.7.7
|