Here is the usage help text:
# fauxtexte Usage: learn INPUT OUTPUT generate INPUT [SOME FUN ...]
fauxtexte learn INPUT OUTPUT will learn the vocabulary.
supposed to be a text file with a single phrase per line.
will be the name of the generated model. You can call multiple time
learn with different
INPUT but the same
fauxtexte generate INPUT [SOME FUN ...] will generate a single
sentence using the
OUTPUT of the above command. That is
in this command is the name you passed as
OUTPUT in the above!
Here is an example run:
# ./fauxtexte learn data/scheme-2020-04.txt model.fauxtexte done! # ./fauxtexte generate model.fauxtexte % scheme is % scheme is pascal and pascal is fortran # ./fauxtexte generate model.fauxtexte % scheme is % scheme is fascinating # ./fauxtexte generate model.fauxtexte % scheme is % scheme is appropriate in your redefinitions
% in the
fauxtexte generate command will instruct the program
to try to start with the beginning of known sentences, otherwise it
can pick any word it learned from anywhere in a sentence.