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
foreversimon
2024-03-19 15:04:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-03-19 15:04:08 +0800
Commit
ce60100f68f78ffbe7ea0af60a5bb550509dd0da
ce60100f
1 parent
fda614d0
Add HotwordsFile and HotwordsScore fields to OnlineRecognizerConfig in C# API (#675)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
9 行增加
和
0 行删除
scripts/dotnet/online.cs
scripts/dotnet/online.cs
查看文件 @
ce60100
...
...
@@ -129,6 +129,8 @@ namespace SherpaOnnx
Rule1MinTrailingSilence
=
1.2F
;
Rule2MinTrailingSilence
=
2.4F
;
Rule3MinUtteranceLength
=
20.0F
;
HotwordsFile
=
""
;
HotwordsScore
=
2F
;
}
public
FeatureConfig
FeatConfig
;
public
OnlineModelConfig
ModelConfig
;
...
...
@@ -158,6 +160,13 @@ namespace SherpaOnnx
/// this value.
/// Used only when enable_endpoint is not 0.
public
float
Rule3MinUtteranceLength
;
/// Path to the hotwords.
[
MarshalAs
(
UnmanagedType
.
LPStr
)]
public
string
HotwordsFile
;
/// Bonus score for each token in hotwords.
public
float
HotwordsScore
;
}
public
class
OnlineRecognizerResult
...
...
请
注册
或
登录
后发表评论