在Windows10中安装HTK/找不到VC98 [英] HTK installing in windows10 / Not able to find VC98

查看:122
本文介绍了在Windows10中安装HTK/找不到VC98的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows 10计算机中安装HTK Toolkit.

I am trying to install HTK Toolkit in my windows 10 machine.

它具有以下先决条件:确保您的PATH包含C:\ Program Files \ Microsoft Visual Studio \ VC98 \ bin

It has a prerequisite of: Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin

我安装了Microsoft Visual Studio,但是在安装Visual Studio的位置找不到VC98文件夹(文件).

I installed Microsoft Visual studios but I am not able to find the VC98 folder(file) in location where my visual studio is installed.

我尝试搜索了很多次,但是仍然找不到它.

I tried to search it a lot of times, but still I was unsuccessful in finding it.

有人可以帮我解决这个问题吗?

Can someone please solve this for me.

我的最终目标是安装HTK

My final goal is to install HTK

在Microsoft Windows上安装HTK

Installing HTK on Microsoft Windows

先决条件

HTK已被验证可以使用Microsoft Visual Studio进行编译.

HTK has been verified to compile using Microsoft Visual Studio.

要进行测试,您将需要Perl解释程序,例如ActivePerl.

For testing, you will require a Perl interpreter such as ActivePerl.

您将需要7-zip之类的工具来解压缩HTK源代码档案.

You will need a tool such as 7-zip for unpacking the HTK source code archive.

通过接受HTK最终用户许可协议在此站点上注册,然后下载最新的HTK源代码.

Register on this site by accepting the HTK End User Licence Agreement, then download the latest HTK source code.

如果您熟悉使用DOS命令行界面,这将很有帮助,因为您将需要与之交互才能编译,安装和运行HTK.

It is helpful if you have some familiarity with using the DOS command line interface, as you will need to interact with it in order to compile, install and run HTK.

确保您的PATH包含C:\ Program Files \ Microsoft Visual Studio \ VC98 \ bin编译

Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin Compilation

使用7-zip解压缩HTK源.

Unpack the HTK sources using 7-zip.

打开DOS命令窗口:单击开始",选择运行",在提示符下键入cmd,然后单击确定".

Open a DOS command window: Click Start, select Run type cmd at the prompt and click OK.

cd进入解压缩源文件的目录.

cd into the directory in which you unpacked the sources.

cd进入htk目录.类型:

cd into the htk directory. Type:

cd htk

为库和工具创建目录.类型:

Create a directory for the library and tools. Type:

mkdir bin.win32

mkdir bin.win32

运行VCVARS32(应该在您的路径中,请参阅上面的先决条件)

Run VCVARS32 (it should be in your path, see prerequisites above)

构建HTK库,该库提供了HTK工具使用的常用功能.输入以下命令:

Build the HTK Library, which provides the common functionality used by the HTK Tools. Enter the following commands:

cd HTKLib

cd HTKLib

nmake/f htk_htklib_nt.mkf全部

nmake /f htk_htklib_nt.mkf all

cd ..

构建HTK工具

cd HTKTools

cd HTKTools

nmake/f htk_htktools_nt.mkf全部

nmake /f htk_htktools_nt.mkf all

cd ..

cd HLMLib

cd HLMLib

nmake/f htk_hlmlib_nt.mkf全部

nmake /f htk_hlmlib_nt.mkf all

cd ..

cd HLMTools

cd HLMTools

nmake/f htk_hlmtools_nt.mkf全部

nmake /f htk_hlmtools_nt.mkf all

cd ..

安装

HTK工具现已构建,位于bin.win32目录中.您应该将此目录添加到PATH中,以便将来可以从命令行轻松运行它们.

The HTK tools have now been built and are in the bin.win32 directory. You should add this directory to your PATH, so that you can run them easily from the command line in future.

推荐答案

安装HTK:

我在计算机上安装HTK的过程非常艰难.

I went through a very very tough time installing HTK on my computer.

此文档将有助于在其他任何计算机上安装它.

This documentation will be helpful in installing it on any other computer.

先决条件:

您应该安装了带有c ++发行版的Visual Studio.(不只是下载MSVC).下载完整的C ++发行版.

You should have a visual studio installed with c++ distribution. (Don’t just download MSVC). Download complete C++ distribution.

下载HTK源代码和HTK示例.

Download HTK Source code and HTK Samples.

下载并安装Perl

下载任何提取软件,例如(7-zip)

Download any extracting software like( 7-zip)

主要步骤:

提取您的HTK和HTK示例并将其保存在两个不同的目录中.(彼此分开)

Extract your HTK and HTK sample and keep it in two different directories. (Apart from each other)

打开VS并进入工具→命令行→任何命令提示符(我选择了开发人员命令提示符)

Open VS and go on tool→ command line → any command prompt(I selected Developer command prompt)

安装步骤cd进入解压缩源文件的目录.(源代码而非示例)依次执行以下命令.

Installing steps cd into the directory in which you unpacked the sources.(source code and not the sample) Execute the below commands one after the other.

cd htk

mkdir bin.win32

mkdir bin.win32

cd HTKLib

cd HTKLib

nmake/f htk_htklib_nt.mkf全部

nmake /f htk_htklib_nt.mkf all

cd ..

构建HTK工具

cd HTKTools

cd HTKTools

nmake/f htk_htktools_nt.mkf全部

nmake /f htk_htktools_nt.mkf all

cd ..

cd HLMLib

cd HLMLib

nmake/f htk_hlmlib_nt.mkf全部

nmake /f htk_hlmlib_nt.mkf all

cd ..

cd HLMTools

cd HLMTools

nmake/f htk_hlmtools_nt.mkf全部

nmake /f htk_hlmtools_nt.mkf all

cd ..

之后,转到您的bin.win32文件夹并将所有文件复制到您的

After this go to your bin.win32 folder and copy all the files to your

HTKDemo中的示例目录.

Sample directory inside HTKDemo.

cd进入目录HTKDemo并执行命令:

cd into the directory HTKDemo and execute the command:

perl runDemo.pl configs/monPlainM1S1.dcf

perl runDemo.pl configs/monPlainM1S1.dcf

现在,执行此操作时,您可能会发现诸如hmm不存在或此类文件不存在之类的错误.

Now you might find errors like hmm does not exist or such files does not exist when you execute this .

只需输入mkdir(缺少带括号的文件名)

Just type mkdir (missing filename without parentheses)

并继续执行此操作,直到没有发现错误为止

And continue to do it until no errors are found

很快您就进入了最后阶段:成功.

And soon you have reached the final stage : Success.

我知道当前HTK的文档太过时且具有误导性,但是stackoverflow社区帮助我度过了难关.我附上了一些可能有用的链接:

I know the documentation of current HTK is way too outdated and misleading but the stackoverflow community helped me to get through it. I am attaching some links that might be helpful:

http://htk.eng.cam.ac.uk/docs/inst-win.shtml

https://ubuntuforums.org/showthread.php?t=1092317&; page = 2

https://ubuntuforums.org/archive/index.php/t-1522471.html

在Windows10中安装HTK/找不到VC98

https://ubuntuforums.org/showthread.php?t=1522471

这篇关于在Windows10中安装HTK/找不到VC98的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆