Find out more about markov generator here -
[login to view URL]
I want a desktop app that does the following -
1). The app has to generate sentences using the "markov generator code" - a sentence ends either with . ? !
1). User will select a file on the desktop that will be the source text.
2). User will add a "keyword to be inserted" . It can be a word or phrase. This keyword will be inserted at a random position in the sentence but not in the starting.
3). User will input number of sentences to be generated. Say n.
4). User will select minimum number of words in each sentence. Each sentence generated will have that many number of words at the very least, those sentences having lesser number of words will not be saved. Total final generated sentences will have to be n.
5). User will click on "Generate output file" and the app will save generated sentences to one text file on the desktop, each sentence on a different line.
6). The app should be able to handle large input files and should be able to generate and save thousands of sentences in the text file
Sample source and output files are attached. Basically, you might have to convert this javascript code into java. or something.