📄 mkbingram.1
字号:
.de Sp.if t .sp .5v.if n .sp...de Ip.br.ie \\n.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH MKBINGRAM 1 LOCAL.UC 6.SH NAMEmkbingram - make binary N-gram from two arpa LMs.SH SYNOPSIS.B mkbingram 2gram.arpa rev3gram.arpa bingram.SH DESCRIPTION.I mkbingrammakes a binary N-gram file for Julius from word 2-gram and reverseword 3-gram LMs in ARPA standard format. Using the binary file, theinitial startup of Julius becomes much faster..PPNote that the word 2-gram and reverse word 3-gram should be trained inthe same corpus, same parameters (i.e. cut-off thresholds) and havethe same vocabulary..PP.I mkbingramcan read gzipped ARPA file..PP.I mkbingramthat comes with Julius version 3.5 and later can generate more size-optimized binary N-gram by using 24bit index instead of 32bitand 2-gram backoff data compression. The byte order was alsochanged from 3.5 to use the system's native order by default..PPAlthough the old binary N-gram can be directly read by Julius,(in that case Julius performs on-line conversion), you can alsoupdate your binary N-gram using.I mkbingramusing -d option..PPPlease note that binary N-gram file converted by mkbingram of version 3.5and later cannot be read by Julius/Julian 3.4.2 and earlier..SH OPTIONS.Ip "2gram.arpa"input word 2-gram file in ARPA standard format..Ip "rev3gram.arpa"input reverse word 3-gram in ARPA standard format..Ip "-d old_bingram"input binary N-gram file (for conversion from old format)..Ip "bingram"output binary N-gram file..SH EXAMPLEConvert ARPA files to binary format:.PP % mkbingram ARPA_2gram ARPA_rev_3gram outfile.PPConvert old binary N-gram file to new format:.PP % mkbingram -d old_bingram new_bingram.SH USAGEYou can specify the generated binary N-gram file on Julius/Julian usingoption "-d"..SH "SEE ALSO"julius(1).SH COPYRIGHTCopyright (c) 1991-2006 Kawahara Lab., Kyoto University.brCopyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology.brCopyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology.SH AUTHORSLEE Akinobu (Nagoya Institute of Technology, Japan).brcontact: julius-info at lists.sourceforge.jp.SH LICENSESame as .I Julius.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -