#define T_TOP 0001 /* -------------------- Global variables ----------------------- */
void ReportUsage(void) { printf("\nUSAGE: LNorm [options] inModel outModel\n\n"); printf(" Option Default\n\n"); printf(" -c n c set cutoff for n-gram to c 0\n"); printf(" -d n c set weighted discount pruning to c off\n"); printf(" -f s set output LM format to s %s\n", ReturnLMName(DEF_SAVEFMT)); printf(" -n n save model as n-gram max\n"); printf(" -w fn prune model using word list in fn off\n"); PrintStdOpts("GIST"); printf("\n\n"); }
void ReportUsage(void) { printf("\nUSAGE: HLMCopy [options] inModel outModel\n\n"); printf(" Option Default\n\n"); printf(" -c n c set pruning for n-gram to c 0\n"); printf(" -d s read source dict from s none\n"); printf(" -f s set output LM format to s %s\n", ReturnLMName(DEF_SAVEFMT)); printf(" -m allow multiple identical prons all\n"); printf(" -n n save model as n-gram max\n"); printf(" -o copy first dictionary pron to output all\n"); printf(" -u s read new unigrams from s none\n"); printf(" -v s write pruned dictionary to s none\n"); printf(" -w fn prune model using word list in fn off\n"); PrintStdOpts("ST"); printf("\n\n"); }
void ReportUsage(void) { printf("\nUSAGE: LAdapt [options] langModel txtfile ....\n\n"); printf(" Option Default\n\n"); printf(" -a n allow n new words in input text %d\n", newWords); printf(" -b n set ngram buffer size %d\n", ngbSize); printf(" -c n c set pruning for n-gram to c %d\n", DEF_CUTOFF); printf(" -d s set root n-gram data file name %s\n", rootFN); printf(" -f s set output LM format to s %s\n", ReturnLMName(DEF_SAVEFMT)); printf(" -g use existing n-gram files off\n"); printf(" -i f s interpolate with model s, weight f off\n"); printf(" -j n c set weighted discount pruning to c off\n"); printf(" -n n set n-gram size %d\n", nSize); #ifndef HTK_TRANSCRIBER printf(" -s s store s in gram header source flds none\n"); printf(" -t use Turing-Good discounting off\n"); #endif printf(" -w fn load word list from fn none\n"); #ifndef HTK_TRANSCRIBER printf(" -x save model with counts off\n"); #endif PrintStdOpts(""); printf("\n\n"); }