DIVVUN-CGSPELL(1)

NAME
divvun-cgspell - This application is part of divvun-gramcheck

DESCRIPTION

  Usage:

    divvun-cgspell [OPTION...] [BIN]... - generate spelling suggestions from a CG stream

Language data may be given as non-option arguments. A single argument is used as --archive; if given two arguments, the first is used as --lexicon and the second as --errmodel.

-a, --archive BIN
    zhfst format archive

-l, --lexicon BIN
    Use this lexicon (must also give error model as option)

-m, --errmodel BIN
    Use this error model (must also give lexicon as option)

-n, --limit N
    Suggest at most N different word forms (though each may have several analyses)

-t, --time-cutoff T
    Stop trying to find better corrections after T seconds (T is a float)

-w, --max-weight W
    Suppress corrections with correction weight above W

-W, --max-analysis-weight WA
    Suppress corrections with analysis weight above WA

-b, --beam W
    Suppress corrections worse than best candidate by more than W (W is a float)

-X, --real-word
    Also suggest corrections to correct words

-u, --max-unknown-rate U
    If ratio of unknowns > U for long sentences (???7 cohorts), don't spell the sentence. If U=1.0, spell all unknowns.

-i, --input FILE
    Input file (UNIMPLEMENTED, stdin for now)

-o, --output FILE
    Output file (UNIMPLEMENTED, stdout for now)

-z, --null-flush
    (Ignored, we always flush on <STREAMCMD:FLUSH>, outputting \0 if --json).

-v, --verbose
    Be verbose

-V, --version
    Version information

-h, --help
    Print help