#Unigrams Create a sequence of unigrams based on a first order Markov Chain.
###Usage Compile:
javac Unigrams.java
Run:
java Unigrams pathToInputFile numberOfOutputStrings
The process takes two command line arguments. The first is a path to an input file from which to construct the Makov Chain. The second argument is the number of words to print.
Example:
java Unigrams files/textInput.txt 80
To output to a text file:
java Unigrams files/textInput.txt 80 > files/output.txt
Here is an example output that was built from this article about JMW Turner!
years from silence to tate britain like glowing jellyfish his hero and mythological information making prior judgments about which works from monet to explain how the imaginations of course it breaks apart and reworked in apocalyptic frenzy wagner who wallow in 1828 and reworked in the romantic age becomes modernist critics who invented modern world art