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
Jingzhao Ou
2023-07-27 23:19:49 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-07-28 14:19:49 +0800
Commit
daffdab52acde37e3f7751b15a7d3d0307c77e81
daffdab5
1 parent
a12252a0
Updated hypothesis key generation to be the same as sherpa (#226)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
sherpa-onnx/csrc/hypothesis.h
sherpa-onnx/csrc/hypothesis.h
查看文件 @
daffdab
...
...
@@ -60,9 +60,9 @@ struct Hypothesis {
std
::
string
Key
()
const
{
// TODO(fangjun): Use a hash function?
std
::
ostringstream
os
;
std
::
string
sep
=
"-"
;
std
::
string
sep
;
for
(
auto
i
:
ys
)
{
os
<<
i
<<
sep
;
os
<<
sep
<<
i
;
sep
=
"-"
;
}
return
os
.
str
();
...
...
请
注册
或
登录
后发表评论