Scroll to navigation

EVALUATE-NGRAM(1) User Commands EVALUATE-NGRAM(1)

NAME

evaluate-ngram - evaluates n-gram language model

SYNOPSIS

evaluate-ngram [Options]

DESCRIPTION

Evaluates the performance of an n-gram language model. It also supports various n-gram language model conversions, including changes in order, vocabulary, and file format.

Filename argument can be an ASCII file, a compressed file (ending in .Z or .gz), or '-' to indicate stdin/stdout.

OPTIONS

Print this message.
Set verbosity level.
Default: 1
Set the n-gram order of the estimated LM.
Default: 3
Fix the vocab to only words from the specified file.
Load specified LM.
[SLS] Compile lattices into a binary format.
Write LM/counts files in binary format.
Default: false
Write LM vocab to file.
Write ARPA backoff LM to file.
Compute test set perplexity.
Compute test set lattice word error rate.
Compute test set lattice margin.

SEE ALSO

estimate-ngram(1), interpolate-ngram(1)

January 2013 MITLM