Moses运行过程记录---Moses软件的安装(二)

本文详细记录了在Ubuntu上安装Moses机器翻译工具的过程,包括GIZA++和mkcls的安装、SRILM的配置与编译、Moses的构建与测试,以及SCRIPTS的释放。在安装GIZA++时,需要修改Makefile。安装SRILM涉及多个依赖工具的安装与路径设置。Moses的构建包括运行regenerate-makefiles.sh、configure、make等步骤,并进行测试以确保正确安装。最后介绍了SCRIPTS的安装和环境变量设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

(1)Install GIZA++ and mkcls

Since I have installed GIZA++ and mkcls in my computer, I won't give the full process here. You can refer to the last report about running GIZA++.One you should do before the install is to delete the“-DBINARY_SEARCH_FOR_TTABLE” in the “Makefile”(新版的GIZA++不用删除,直接运行即可).

Just enter the install folder and use the command:

                                      $make

 (2)Install SRILM

Prepare third-party software:

You need the following free third-party software to build SRILM:

--> gcc version 3.4.3 or higher

Gcc is a compiler which is “GNU Compiler Collection” for short. It includes front ends for C, C++, Objective-C,Fortran, Java, and Ada, as well as libraries for these languages (libstdc++, libgcj...).My gcc version is 4.4.1.

--> GNU make and automake

Explain the commands in file –Makefile.

--> Libboost1.41.0

To build the program “memscore” .The details are described in http://randspringer.de/boost

--> John Ousterhout's Tcl toolkit, version 7.3 or higher

This is currently used only for some test programs, but is needed for the build to go through without manual intervention. Here I use Tcl 8.5 .

--> Csh

A kind of Unix Shell.It is very important, if you don't install this, there will be something wrong with the program!

The following tools are needed at runtime only:

--> GNU awk (gawk)

To interpret many of the utility scripts.

--> Gzip

To read/write compressed files.

--> bzip2

To read/write .bz2 compressed files.

--> p7zip</

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值