Moses manual 中Basline System 2.3.4节用IRSTLM创建语言模型的命令有误
手册里写到:
~/irstlm/bin/compile-lm \
--text yes \
news-commentary-v8.fr-en.lm.en.gz \
news-commentary-v8.fr-en.arpa.en
经过查阅compile-lm的帮助里写到:
compile-lm - compiles an ARPA format LM into an IRSTLM format one USAGE:
compile-lm [options] <input-file.lm> [output-file.blm] DESCRIPTION:
compile-lm reads a standard LM file in ARPA format and produces
a compiled representation that the IRST LM toolkit can quickly
read and process. LM file can be compressed. OPTIONS:
Parameters:
Help: print this help
d: verbose output for --eval option; default is
debug: verbose output for --eval option; default is
dict_load_factor: sets the load factor for ngram cache; it should be a positive real value; default is
dub: dictionary upperbound to compute OOV word penalty: default ^
e: computes perplexity of the specified text file
eval: computes perplexity of the specified text file
f: filter a binary language model with a word list
filter: filter a binary language model with a word list
h: print this help
i: builds an inverted n-gram binary table for fast access; default if false
invert: builds an inverted n-gram binary table for fast access; default if false
keepunigrams: filter by keeping all unigrams in the table, default is true
ku: filter by keeping all unigrams in the table, default is true
l: maximum level to load from the LM; if value is larger than the actual LM order, the latter is taken
level: maximum level to load from the LM; if value is larger than the actual LM order, the latter is taken
memmap: uses memory map to read a binary LM
mm: uses memory map to read a binary LM
ngram_load_factor: sets the load factor for ngram cache; it should be a positive real value; default is false
r: computes N random calls on the specified text file
randcalls: computes N random calls on the specified text file
s: computes log-prob scores of n-grams from standard input
score: computes log-prob scores of n-grams from standard input
sentence: computes perplexity at sentence level (identified through the end symbol)
t: output is again in text format; default is false
text: output is again in text format; default is false
tmpdir: directory for temporary computation, default is either the environment variable TMP if defined or "/tmp")
也就是说 --text参数后面无需再加yes,不知道为什么Hieu加了yes,可能是版本不同?今晚给mailing list发个邮件试试
Moses manual 中Basline System 2.3.4节用IRSTLM创建语言模型的命令有误的更多相关文章
- 成功完成Moses Manual中BaseLineSystem
终于把这个破法语句子翻译出来了,各种耗时,bug,弄了一天,明天争取看完详细的翻译教程! 而且还要学习中文分词,晚安,Moses!
- Linux manual中命令标号的含义
如果查看Linux manual(例如,执行:man open), 会发现文档中有这样的表达方式:read(2), write(2), lseek(2), fcntl(2)等,括号中的数值表达什么含义 ...
- 在.net程序中使用System.Net.Mail来发送邮件
System.Net.Mail是微软自家提供的工具,在.net程序中可以使用该空间中的SmtpClient实例来实现邮件的发送. 使用System.Net.Mail空间与Web.config配置相配合 ...
- ISE 中使用system generate
本文讲解简单的ISE中使用system generate,system generate基本使用规则在此不详细说明可以见博客http://blog.csdn.net/xiabodan/article/ ...
- 解决未能从程序集xxx中加载类型System.ServiceModel.Activation.HttpModule的问题
在IIS中运行网站时,出现错误: 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c ...
- 未能从程序集“System.ServiceModel, Version=3.0.0.0”中加载类型“System.ServiceModel.Activation.HttpModule” 的解决办法
未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“ ...
- 未能从程序集“System.ServiceModel,xxx”中加载类型“System.ServiceModel.Activation.HttpModule”。
一.平台环境 二.问题描述 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561 ...
- Web.config 文件中的 system.webServer
Web.config 文件中的 system.webServer 节用于指定适用于 Web 应用程序的 IIS 7.0 设置.system.WebServer 是 configuration 节的子级 ...
- 配置IIS提示打开目录浏览时的问题:未能从程序集“System.ServiceModel, Version=3.0.0.0”中加载类型“System.ServiceModel.Activation.HttpModule” 的解决办法
错误消息: 未能从程序集“System.ServiceModel, Version=3.0.0.0”中加载类型“System.ServiceModel.Activation.HttpModule” 的 ...
随机推荐
- SQL SERVER树型数据处理时,函数递归调用问题,查询根节点,子节点函数
/* 标题:查询指定节点及其所有子节点的函数 作者:爱新觉罗.毓华(十八年风雨,守得冰山雪莲花开) 时间:2008-05-12 地点:广东深圳 */ ) , pid ) , name )) ' , n ...
- vc读写注册表
注册表是Windows重要组成部分,注册表记录了大量有关电脑软硬件的信息.注册表中的值通过其名称标识.值名称由与键名相同的字符组成.值本身可以是字符串.二进制数据或者是32位无符号值.在这里我们主要运 ...
- STL之vetor 排序
1 STL提供的Sort 算法 C++之所以得到这么多人的喜欢,是因为它既具有面向对象的概念,又保持了C语言高效的特点.STL 排序算法同样需要保持高效.因此,对于不同的需求,STL提供的不同的函数, ...
- 支撑5亿用户、1.5亿活跃用户的Twitter最新架构详解及相关实现
如果你对项目管理.系统架构有兴趣,请加微信订阅号"softjg",加入这个PM.架构师的大家庭 摘要:Twitter出道之初只是个奋斗在RoR上的小站点,而如今已拥有1.5亿的活跃 ...
- BZOJ1070 修车-费用网络流
http://www.lydsy.com/JudgeOnline/problem.php?id=1070 Description 同一时刻有N位车主带着他们的爱车来到了汽车维修中心.维修中心共有M位技 ...
- ios如何获取位置权限
获取当前位置需要改plist文件 在plist文件加入 NSLocationWhenInUseUsageDescription 字段 /** 初始化一个管理器对象 */ locationMan ...
- pyhton标准库 json
使用loads方法即可将json字符串转换成python对象,对应关系如下: #JSON Python object dict array list string unicode number (in ...
- SQL Server 开发指南
SQL Server 数据库设计 一.数据库设计的必要性 二.什么是数据库设计 三.数据库设计的重要 四.数据模型 实体-关系(E-R)数据模型 ...
- Windows 10 LNK File分析
前情提要:警方接获线报,黑道份子阿强涉及制造与贩卖毒品,警方在其住处扣得笔记本电脑及数个U盘,送往实验室进行取证分析. 取证人员对证物进行证物镜像制作,并进行证物处理(Evidence Process ...
- 二十四、Struts2中的UI标签
二十四.Struts2中的UI标签 Struts2中UI标签的优势: 数据回显 页面布局和排版(Freemark),struts2提供了一些常用的排版(主题:xhtml默认 simple ajax) ...