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
xcel3011
2025-02-25 18:09:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-02-25 18:09:28 +0800
Commit
b042f5e179164b0f65b4653bf9323d74b6bc471a
b042f5e1
1 parent
0dcaf3a0
fix: AddPunct panic for Go(#1921)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
scripts/go/sherpa_onnx.go
scripts/go/sherpa_onnx.go
查看文件 @
b042f5e
...
...
@@ -1483,7 +1483,7 @@ func DeleteOfflinePunc(punc *OfflinePunctuation) {
func
(
punc
*
OfflinePunctuation
)
AddPunct
(
text
string
)
string
{
p
:=
C
.
SherpaOfflinePunctuationAddPunct
(
punc
.
impl
,
C
.
CString
(
text
))
defer
C
.
free
(
unsafe
.
Pointer
(
p
)
)
defer
C
.
SherpaOfflinePunctuationFreeText
(
p
)
text_with_punct
:=
C
.
GoString
(
p
)
...
...
请
注册
或
登录
后发表评论