sphinx4 使用什么方法来构建其语法?

发布于 2024-10-09 17:30:58 字数 82 浏览 0 评论 0原文

sphinx4 使用什么方法来构建其语法? XML 还是增强的 BNF

What method does sphinx4 use for building its grammar? XML or augmented BNF?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

§对你不离不弃 2024-10-16 17:30:58

看来两者都接受。查看 Sphinx4 源代码发行版中的 src/apps/edu/cmu/sphinx/demo/transcriber/digits.{gram,grmxl} 文件。

It seems to accept both. Look at the src/apps/edu/cmu/sphinx/demo/transcriber/digits.{gram,grmxl} files in the Sphinx4 source distribution.

Spring初心 2024-10-16 17:30:58

Sphinx4 解析 ABNF 格式的 JSGF 语法。

目前它支持 SRGS xml 格式,但请小心。它还不是一个完整的实现,我的意思是它没有实现所有 SRGS 元素和属性,因此您实际上不能依赖它们当前的实现,除非您继续它并填充剩下的内容。

Sphinx4 parses JSGF grammar which is in ABNF format.

It currently support SRGS xml format, but take care. It is not a complete implementation yet, I mean it does not implement all SRGS elements and attributes, so you can't actually depend on their current implementation unless you continue it and fill whats left.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文