logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

generate-ngram

Description

generate-ngram is a tool to generate sentences randomly according to the given N-gram language model. The
       N-gram model file binary_ngram should be an binary format.

License

       The same as Julius.

                                                   10/02/2008                                  GENERATE-NGRAM(1)

Name

           generate-ngram
          - random sentence generator from N-gram

Options

-nnum
          Number of sentences to generate (default: 10)

        -N
          Specify which length of N-gram to use (default: available max in the given model)

        -bos
          Beginning-of-sentence word (default: "<s>")

        -eos
          End-of-sentence word (default: "</s>")

        -ignore
          Specify a word to be supressed from output (default: "<UNK")

        -v
          Verbose output.

        -debug
          Debug output.

See Also

julius ( 1 ) ,
        mkbingram ( 1 )

Synopsis

generate-ngram [options...] {binary_ngram}

See Also