⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anti-ngram.1

📁 这是一款很好用的工具包
💻 1
字号:
.\" $Id: anti-ngram.1,v 1.6 2004/12/03 17:59:01 stolcke Exp $.TH anti-ngram 1 "$Date: 2004/12/03 17:59:01 $" "SRILM Tools".SH NAMEanti-ngram \- count posterior-weighted N-grams in N-best lists.SH SYNOPSIS.B anti-ngram[\c.BR \-help ].I option \&....SH DESCRIPTION.B anti-ngramcounts the N-grams in a set of N-best hypotheses lists.The N-gram counts are weighted by the posterior probabilities of thehypotheses they occur in.Thus, .B anti-ngram can be used to construct language models of word sequencesthat are acoustically confusable with correct hypotheses.The counts output should be processed with.B "ngram-count \-float-counts"to estimate a language model..SH OPTIONS.PPEach filename argument can be an ASCII file, or a compressed file (name ending in .Z or .gz), or ``-'' to indicatestdin/stdout..TP.B \-helpPrint option summary..TP.B \-versionPrint version information..TP.BI \-refs " file"Read the reference transcripts from .IR file .Each line should contain an utterance ID followed by the transcript words..TP.BI \-nbest-files " file"List of N-best files.The base components of filenames must correspond to the utterance IDs foundin the reference file..TP.BI \-max-nbest " n"Limits the number of hypotheses read from each N-best list to the first.IR n ..TP.BI \-order " n"Set the maximal order (length) of N-grams to count.The default order is 3..TP.BI \-lm " file"Reads an ARPA language model from .I fileand rescores the N-best lists with it prior to counting N-grams..TP.BI \-classes " file"Interpret the LM as a class-based N-gram and read class definitionsin .BR classes-format (5)from.IR file ..TP.B \-tolowerMap vocabulary to lowercase, eliminating case distinctions..TP.B \-multiwordsSplit multiwords (words joined by '_') into their components whenreading N-best lists..TP.BI \-rescore-lmw " lmw"Sets the language model weight used in combining the language model logprobabilities with acoustic log probabilities(only relevant if separate scores are given in the N-best input)..TP.BI \-rescore-wtw " wtw"Sets the word transition weight used to weight the number of words relative tothe acoustic log probabilities(only relevant if separate scores are given in the N-best input)..TP.BI \-posterior-scale " scale"Divide the total weighted log score by .I scalewhen computing normalized posterior probabilities.This controls the peakedness of the posterior distribution. The default value is whatever was chosen for .BR \-rescore-lmw , so that language model scores are scaled to have weight 1,and acoustic scores have weight 1/\fIlmw\fP..TP.B \-all-ngramsCauses even N-grams that occur in the reference string to be counted.By default N-best N-grams that also occur in the corresponding reference are excluded..TP.BI \-min-count " C"Prune all N-grams from the output that have counts less than.IR C ..TP.BI \-read-counts " countsfile"Read N-gram counts from a file.Each line contains an N-gram of words, followed by an integer or fractional count, all separated by whitespace.Repeated counts for the same N-gram are added.N-grams from N-best lists are added to those read with this option..TP.BI \-write-counts " countsfile"Writes total N-gram counts to.IR countsfile .The default is to write to stdout..TP.B \-sortOutput counts in lexicographic order, as required for.BR ngram-merge (1)..TP.BI \-debug " level"Set debugging output level.Level 0 means no debugging.Debugging messages are written to stderr..SH "SEE ALSO"ngram(1), ngram-merge(1), ngram-count(1), nbest-scripts(1),classes-format(5),.brA. Stolcke et al., "The SRI March 2000 Hub-5 Conversational SpeechTranscription System",\fIProc. NIST Speech Transcription Workshop\fP, College Park, MD, 2000..SH BUGSThere is no.B \-vocaboption to limit the vocabulary..SH AUTHORAndreas Stolcke <stolcke@speech.sri.com>..brCopyright 2000\-2004 SRI International

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -