Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2023-10-08 11:39:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-10-08 11:39:59 +0800
Commit
be081017de2abffcaad5ea9bf227f9025eaed766
be081017
1 parent
40760244
Fix typos/bugs (#351)
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
1 行删除
python-api-examples/speech-recognition-from-microphone-with-endpoint-detection.py
sherpa-onnx/csrc/online-recognizer.h
python-api-examples/speech-recognition-from-microphone-with-endpoint-detection.py
查看文件 @
be08101
...
...
@@ -128,7 +128,7 @@ def create_recognizer(args):
rule3_min_utterance_length
=
300
,
# it essentially disables this rule
decoding_method
=
args
.
decoding_method
,
provider
=
args
.
provider
,
hotwords_file
=
a
gr
s
.
hotwords_file
,
hotwords_file
=
a
rg
s
.
hotwords_file
,
hotwords_score
=
args
.
hotwords_score
,
)
return
recognizer
...
...
sherpa-onnx/csrc/online-recognizer.h
查看文件 @
be08101
...
...
@@ -95,6 +95,7 @@ struct OnlineRecognizerConfig {
const
std
::
string
&
hotwords_file
,
float
hotwords_score
)
:
feat_config
(
feat_config
),
model_config
(
model_config
),
lm_config
(
lm_config
),
endpoint_config
(
endpoint_config
),
enable_endpoint
(
enable_endpoint
),
decoding_method
(
decoding_method
),
...
...
请
注册
或
登录
后发表评论