CS224-Markov
How to run:
-
Using Terminal, navigate to the directory containing markov-words.sh.
-
Run a command in the format of: $ ./markov-words.sh input_file.txt output_file.txt. input_file.txt must contain the text output_file.txt will use to generate a list of 4-word lines.
-
Run a command in the format of: $ ./markov-sentence.sh output_file.txt (an integer greater than 0) output_file.txt is the list of 4-word lines you just generated. The integer you enter specifies the number of words that will be generated using that file.
Note: You will need a working shuffle executable in the directory.