C/C++ HTK(隐马尔可夫工具包)的代码示例
我正在尝试开始使用 HTK,我抓了一份副本,编译了它,抓了这本书,一切都或多或少顺利,到处都有一些小麻烦,但没有什么严重的。
现在,在读完这本书并在谷歌上搜索了很长一段时间后,我没有看到任何关于我的重要部分的文档:HTKLib。所有 HTK 工具程序(可编写脚本的命令行界面工具)的所有内容都被描述为最小的细节,但我找不到如何实际调用该库的单个示例或教程。
有人能给我指出一个方向吗? 包含了各个工具的源代码,但是必须通过阅读源代码来提取信誉良好的库的信息会相当麻烦......我本来期望有更多的文档,但也许我只是忽略了它?
非常感谢任何帮助,
汤姆
编辑: 我试图将 HTK 用于计算机视觉目的,而不是用于 NLP,为此我要求我可以链接它,并从我的代码中调用它。感谢您的回复。
I am trying to get started with HTK, I grabbed a copy, compiled it, grabbed the book, and all went more or less fine, little troubles here and there but nothing serious.
Now after reading the book and googling quite a while, I do not see any documentation for the essential part for me: HTKLib. Everything is described into the smallest detail for all HTK tool programs (scriptable command line interface tools) but I cannot find a single example or tutorial how to actually call the lib.
Could anyone point me into a direction?
The source code for the respective tools is included, but it would be rather cumbersome to have to extract the information for a reputable library by reading the source code... I would have expected a little more documentation , but maybe I simply overlooked it?
Any help is deeply appreciated,
Tom
edit:
I was trying to use HTK for computer vision purposes, not for NLP, and for that I required that I could link against it, and call it from within my code. Thanks for your replies.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许ATK更适合您。以下是 ATK 网站的解释:
“ATK 是一个 API,旨在帮助构建 HTK 实验性应用程序。它由位于标准 HTK 库之上的 C++ 层组成。”
此外,微软研究院还有另一个研究工具此处 用于训练声学模型。这包括 HTKlib 的一组可视化项目和一组 C++ HTK 包装器,但它可能仅包含 HTK 功能的子集并且具有许可证限制。
Maybe ATK is more suitable for you. Here is the explantation from the ATK site:
"ATK is an API designed to facilitate building experimental applications for HTK. It consists of a C++ layer sitting on top of the standard HTK libraries."
In addition Microsoft Research has another research tool here for training acoustic models. This includes a set visual project for HTKlib and a set of C++ HTK wrappers, but it may only include a subset of the HTK functionality and has licence restrictions.
我没有使用过它,但使用了语言建模工具包。我认为主要目的是使用提供的命令行工具。我认为它们是非常灵活的工具,使您能够构建和测试模型。为什么要使用代码?
还有你想做什么?
I have not used it but use I the language modeling toolkit. I think the main intention is to use the command line tools provided. I imagine they are very flexible tools that will enable you to build and test models. Why do you want to use the code?
Also what are you trying to do?