ubuntu 14.04 64位安装HTK3.5
1.http://htk.eng.cam.ac.uk/download.shtml
官网下载HTK source code以及HDecode
2.分别解压HTK-3.5.beta-2.tar.gz、HDecode-3.5.beta-1.tar.gz,将其合并到一个文件夹htk中
3.查看htk/README
决定要安装的类型后,
根据描述安装即可
HTK 3.5 comes with three sets of Makefiles enabling compilation for:
1. CPU (standard)
2. CPU using MKL (Intel Math Kernel library)
3. NVIDIA GPUs (Graphic Processing Unit) using the NVIDIA CUDA compiler NVCC
These alternative Makefiles are located in each of the following directories:
HTKLib, HLMLib, HTKTools, HLMTools
Examine the MakefileCPU, MakefileMKL and MakefileNVCC
files in each of these directories and change the default
locations of CPU/GPU compilers and libraries to match the
locations on the system for which HTK 3.5 is to be installed.
In order to compile either the standard CPU version, or
the CPU version with MKL support or GPU version execute one of the following
1. make -f MakefileCPU all
2. make -f MakefileMKL all
3. make -f MakefileNVCC all
in turn in each of HTKLib, HLMLib, HTKTools and HLMTools.
Having compiled one of the branches (CPU/MKL/NVCC), the
relevant HTK tools can be installed executing one of the following
1. make -f MakefileCPU install
2. make -f MakefileMKL install
3. make -f MakefileNVCC install
commands in both the HTKTools and HLMTools directories. By default HTK
tools will be installed in bin.cpu, bin.mkl or bin.gpu depending
on the branch.
Prior to compiling a new branch it is important to clean the distribution
1. make -f MakefileCPU clean
2. make -f MakefileMKL clean
3. make -f MakefileNVCC clean
HDecode
=======
If you are also building HDecode (available from the HTK website, under a
different licence from HTK), you will firstly need to unpack the HDecode
source code (in the same directory in which you unpacked the HTK
sources). Then follow the steps above for first building HTK, and then execute
the following command in HTKLVRec directory:
1. make -f MakefileCPU all
2. make -f MakefileCPU install
or
1. make -f MakefileMKL all
2. make -f MakefileMKL install
or
1. make -f MakefileNVCC all
2. make -f MakefileNVCC install
depending on whether HTK is compiled for CPU, CPU with MKL support or GPU.
4.测试是否安装正确时注意
得先将htk/bin.cpu添加到环境变量中 ------我安装的是cpu standard类型的
命令行输入
vim ~/.bashrc
在最后一行添加
export PATH=$PATH:/home/lc/下载/htk/bin.cpu
然后回到命令行,输入
source .bashrc
使得改变生效
然后根据README里描述继续就行
Testing the Installation
========================
As an initial test of the installation please run the HTK demonstration
using the configuration file samples/HTKDemo/configs/monPlainM1S1.dcf.
There is a README file in the samples/HTKDemo directory that explains
the operation of the demonstration in detail but, in short, you need
to run the demonstration script passing it the configuration file
samples/HTKDemo/configs/monPlainM1S1.dcf as input.
测试截图
HTK 3.5 comes with three sets of Makefiles enabling compilation for:
1. CPU (standard)
2. CPU using MKL (Intel Math Kernel library)
3. NVIDIA GPUs (Graphic Processing Unit) using the NVIDIA CUDA compiler NVCC
These alternative Makefiles are located in each of the following directories:
HTKLib, HLMLib, HTKTools, HLMTools
Examine the MakefileCPU, MakefileMKL and MakefileNVCC
files in each of these directories and change the default
locations of CPU/GPU compilers and libraries to match the
locations on the system for which HTK 3.5 is to be installed.
In order to compile either the standard CPU version, or
the CPU version with MKL support or GPU version execute one of the following
1. make -f MakefileCPU all
2. make -f MakefileMKL all
3. make -f MakefileNVCC all
in turn in each of HTKLib, HLMLib, HTKTools and HLMTools.
Having compiled one of the branches (CPU/MKL/NVCC), the
relevant HTK tools can be installed executing one of the following
1. make -f MakefileCPU install
2. make -f MakefileMKL install
3. make -f MakefileNVCC install
commands in both the HTKTools and HLMTools directories. By default HTK
tools will be installed in bin.cpu, bin.mkl or bin.gpu depending
on the branch.
Prior to compiling a new branch it is important to clean the distribution
1. make -f MakefileCPU clean
2. make -f MakefileMKL clean
3. make -f MakefileNVCC clean
HDecode
=======
If you are also building HDecode (available from the HTK website, under a
different licence from HTK), you will firstly need to unpack the HDecode
source code (in the same directory in which you unpacked the HTK
sources). Then follow the steps above for first building HTK, and then execute
the following command in HTKLVRec directory:
1. make -f MakefileCPU all
2. make -f MakefileCPU install
or
1. make -f MakefileMKL all
2. make -f MakefileMKL install
or
1. make -f MakefileNVCC all
2. make -f MakefileNVCC install
depending on whether HTK is compiled for CPU, CPU with MKL support or GPU.
Compiling & Installing HTK under Windows
========================================
HTK 3.5 has not yet been tested under Windows.
Testing the Installation
========================
As an initial test of the installation please run the HTK demonstration
using the configuration file samples/HTKDemo/configs/monPlainM1S1.dcf.
There is a README file in the samples/HTKDemo directory that explains
the operation of the demonstration in detail but, in short, you need
to run the demonstration script passing it the configuration file
samples/HTKDemo/configs/monPlainM1S1.dcf as input.
To test the language modelling tools you should follow the tutorial
in the HTK book, using the files in the LMTutorial/ directory.
In addition to basic testing of the HTK installation, it is also possible
to build several HTK systems for the Resource Management (RM) task.
These systems range in complexity from simpler Gaussian mixture model
based HMMs to more complex artificial neural network based systems.
The RM recipe is located in samples/RMHTK directory and is documented
as a part of tutorial chapter in the HTK book.
ubuntu 14.04 64位安装HTK3.5的更多相关文章
- ubuntu 14.04 64位安装iNodeClient
ubuntu 14.04 64位安装iNodeClieng(华三校园客服端) http://pan.baidu.com/s/12dpxk ubuntu 14.04 64bit Install H3C ...
- ubuntu 14.04 64位安装bigbluebutton
BigBlueButton 是一个使用 ActionScript 开发的在线视频会议系统或者是远程教育系统,主要功能包括在线PPT演示.视频交流和语音交流,还可以进行文字交流.举手发言等功能,特别适合 ...
- Ubuntu 14.04 64位安装Android Studio 和 genymotion (下)
接上一篇,上回书说到,我们可以进android studio的编辑器了.感觉不错.挺好的,先不说genymotion,先看看你的android项目有没有r文件,项目有没有错误? 如果没有问题的话,下面 ...
- Ubuntu 14.04 64位安装Android Studio 和 genymotion (上)
先说下,Ubuntu 上安装Android Studio真是一路坑阿,一路坑阿,加上天 朝 防火墙挡着,折腾了快一天才弄好阿 找了n多教程,md不是抄的就是转的,而且都没说清楚具体咋装阿,一个图一个 ...
- ubuntu 14.04 64位 安装Opencv3.1.0 (包含opencv_contrib模块)
写在前边: 据官方说法,目前还不是太稳定的算法模块都在opencv_contrib里边,由于不稳定,所以不能在release版本里发行,只有在稳定以后才会放进release里边.但是这里边有很多我们经 ...
- Go在Ubuntu 14.04 64位上的安装过程
1. 从 https://golang.org/dl/ 或 https://studygolang.com/dl 下载最新的发布版本go1.10即go1.10.linux-amd64.tar.gz ...
- Ubuntu 14.04 64位上安装wps office软件(转http://m.blog.csdn.net/blog/yhc13429826359/24179933)
废话少说,只给出方法供各位参考!wps for Linux版本已经有两三年没有大的动作,当然其他平台,比如windows,Android,ios上的wps效果还是很赞的说. 下面是我成功安装的步骤: ...
- Ubuntu 14.04 64位上安装wps office软件
版权声明:本文为博主原创文章,未经博主同意不得转载. https://blog.csdn.net/tao_627/article/details/24179933 废话少说,仅仅给出方法供各位參考! ...
- Ubuntu 14.04(64位)+GTX970+CUDA8.0+Tensorflow配置 (双显卡NVIDIA+Intel集成显卡) ------本内容是长时间的积累,有时间再详细整理
(后面内容是本人初次玩GPU时,遇到很多坑的问题总结及尝试解决办法.由于买独立的GPU安装会涉及到设备的兼容问题,这里建议还是购买GPU一体机(比如https://item.jd.com/396477 ...
随机推荐
- 一个web应用的诞生(7)--结构调整
现在所有的Py代码均写在default.py文件中,很明显这种方法下,一旦程序变的负责,那么无论对于开发和维护来说,都会带来很多问题. Flask框架并不强制要求项目使用特定的组织结构,所以这里使用的 ...
- Dapper C# 访问SQLite
1.以操作SQLite为例.先下载Dapper,项目引用添加Dapper.dll,然后入下 SQLiteConnectionStringBuilder sb = new SQLiteConnectio ...
- redhat linux enterprise 5 输入ifconfig无效的解决方法
redhat linux enterprise 5 输入ifconfig无效的解决方法 在安装完成linux后,进入终端,输入命令行ifconfig,会提示bash: ifconfig: comm ...
- VUE2.0实现购物车和地址选配功能学习第四节
第四节 v-on实现金额动态计算 用¥金额 进行格式处理,可以使用原生js进行转换,但是在vuei,使用filter过滤器更加方便 注: 1.es6语法=>和import等 好处在于res参数后 ...
- 使用GDI绘制文本
/// <summary> /// 定义一个绘制文本 /// </summary> public void Texts() ...
- 使用Github Pages和Hexo构建博客
Github Pages可以创建免费的静态站点,支持自带主题.支持自制页面等,并且可以使用Jekyll或者Hexo等静态博客框架进行管理. 独立博客是博客园等博客平台之外的一个良好补充,相比使用虚拟主 ...
- BigInteger和BigDecimal的练习
前言: BigInteger用于处理大数据的计算,它继承自java.math.BigInteger.用法相对来说比较简单,掌握几个基本运算即可. 初始化: BigInteger sum=new Big ...
- 2017-3-10 SQL server 数据库 T--SQL语句
创建数据库:create datebase 数据库名 注:数据库名不能为中文,不能数字开头,不能符号开头. 删除数据库:drop datebase 数据库名 创建表:create tab ...
- WeMall微信商城源码插件会员卡代码详情
WeMall微信商城源码插件会员卡代码是用于商业推广的比较有效的方式,分享了部分比较重要的代码,供技术员学习参考 Index_index.html <html> <head> ...
- Archlinux 的U盘自动装载(二)升级到 udisks2
在安装 mysql-gui-tools 过程中,发现需要用到 udisks2.udisks和udisks2可以互相替换也可以共用.最后决定换用 udisks2 安装 先卸载原来的软件,如果有的话. p ...