9 from mm
import ModelMatrix
11 from importer
import import_markopy
14 from base
import BaseCLI, AbstractGenerationModelCLI
16 import allogate
as logging
20 @brief Extension of Python.Markopy.Base.BaseCLI for Markov::API::ModelMatrix
21 @belongsto Python::Markopy
22 @extends Python::Markopy::AbstractGenerationModelCLI
23 @extends Python::Markopy::ModelMatrix
25 adds -st/--stdout arguement to the command line.
28 "! @brief initialize model with Markov::API::ModelMatrix"
34 self.
parserparser.add_argument(
"-st",
"--stdout", action=
"store_true", help=
"Stdout mode")
43 if __name__ ==
"__main__":
abstract class for generation capable models
Extension of Python.Markopy.Base.BaseCLI for Markov::API::ModelMatrix.
def _generate(self, str wordlist)
wrapper for generate function.
def __init__(self, bool add_help=True)
initialize base CLI
def init_post_arguments(self)
Abstract representation of a matrix based model.
def FastRandomWalk(int count, str wordlist, int minlen, int maxlen)
def import_markopy()
import and return markopy module