1SPHINX_LM_EVAL(1) General Commands Manual SPHINX_LM_EVAL(1)
2
3
4
6 sphinx_lm_eval - Evaluate perplexity of a transcription
7
9 sphinx_lm_eval [ options ]...
10
12 This program evaluates the perplexity of a text file according to a
13 given language model. The text file is assumed to be in transcript
14 format, i.e. one utterance per line, delimited by <s> and </s>.
15
16 -help Shows the usage of the tool
17
18 -lm model file
19
20 -lmctlfn
21 file listing a set of language models
22
23 -lmname
24 of language model in -lmctlfn to use for all utterances
25
26 -logbase
27 Base in which all log-likelihoods calculated
28
29 -lsn file to evaluate
30
31 -lw Language model weight
32
33 -mmap Use memory-mapped I/O for reading binary LM files
34
35 -probdef
36 definition file for classes in LM
37
38 -text string to evaluate
39
40 -uw Unigram probability weight (interpolated with uniform distribu‐
41 tion)
42
43 -verbose
44 Print details of perplexity calculation
45
46 -wip Word insertion probability
47
49 David Huggins-Daines <dhuggins@cs.cmu.edu>
50
52 Copyright © 2007-2008 Carnegie Mellon University. See the file COPYING
53 included with this package for more information.
54
55
56
57 2008-05-12 SPHINX_LM_EVAL(1)