parser.add_argument('indir',help="the directory to extract the text of all text files from, with path.")
parser.add_argument('outfile',nargs='?',default="./mkv-dir-output.txt",help="the file to save to, with path. if the file is used more than once, subsequent literature will be appended to the file after a star. defaults to ./mkv-dir-output.txt.")
# optional args:
parser.add_argument('-s','--statesize',help="the number of preceeding words the probability of the next word depends on. defaults to 2, 1 makes it more random, 3 less so.",type=int,default=2)
parser.add_argument('-n','--sentences',help="the number of 'sentences' to output. defaults to 5.",type=int,default=5)
parser.add_argument('-l','--length',help="set maximum number of characters per sentence.",type=int)
parser.add_argument('-o','--overlap',help="the amount of overlap allowed between original text and the output, expressed as a radio between 0 and 1. lower values make it more random. defaults to 0.5",type=float,default=0.5)
parser.add_argument('-c','--combine',help="provide an another input text file with path to be combined with the first.")
parser.add_argument('-w','--weight',help="specify the weight to be given to the second text provided with --combine. defaults to 1, and the weight of the initial text is also 1. setting this to 1.5 will place 50 percent more weight on the second text. setting it to 0.5 will place less.",type=float,default=1)