未提供项目描述
项目描述
Rhasspy Fuzzywuzzy
使用rapidfuzz为Rhasspy实现意图识别。
要求
- Python 3.7
安装
$ git clone https://github.com/rhasspy/rhasspy-fuzzywuzzy
$ cd rhasspy-fuzzywuzzy
$ ./configure
$ make
$ make install
部署
$ make dist
运行
$ bin/rhasspy-fuzzywuzzy <ARGS>
命令行选项
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
识别
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
训练
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
项目详情
关闭
rhasspy-fuzzywuzzy-0.4.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 7188670f19c67d6d711d4fb1594e97aec2ec9956dbdac40c2f0a43cbff53d8a2 |
|
MD5 | cb6542d4c027d2395d326b9b7715f0ae |
|
BLAKE2b-256 | fa958362dba2eaf23b2dbd93e1e4c4bae695af1f6db437771991560e23c11a76 |