Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[csharp] SherpaOfflinePunctuationAddPunct. Unhandled exception. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception #975

Closed
bnuzhouwei opened this issue Jun 5, 2024 · 2 comments

Comments

@bnuzhouwei
Copy link

bnuzhouwei commented Jun 5, 2024

一段40分钟音频就别做疲劳测试,随机出现一些文本会报External component has thrown an exception.

说明现实生活中肯定更没有超载了因为现实生活中比这七点五吨还轻呢肯定不能中过八折对吗不多说了啊好继续
Unhandled exception. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at SherpaOnnx.OfflinePunctuation.SherpaOfflinePunctuationAddPunct(IntPtr handle, String text)
at SherpaOnnx.OfflinePunctuation.AddPunct(String text)

@csukuangfj
Copy link
Collaborator

Please see
#976

You need to build sherpa-onnx from source.

@csukuangfj
Copy link
Collaborator

A sample output for your text is given below

input: 说明现实生活中肯定更没有超载了因为现实生活中比这七点五吨还轻呢肯定不能中过八折对吗不多说了啊好继续
output: 说明现实生活中肯定更没有超载了,因为现实生活中比这七点五吨还轻呢,肯定不能中过八折。对吗?不多说了啊,好继续。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants