Skip to content

ChenyanGeng/Programming-System-Design-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random-Text-Generator

 Implemented a random text generator in JAVA using a word-level Markov Chain and a source file.

The right type of command line should be as follow:

java GenText prefixLength numWords sourceFile outFile or java GenText [-d] prefixLength numWords sourceFile outFile

where [-d] means in debug modle. prefixLength: length of prefix numWords: number of words to be generated sourceFiles: input file outFile: output file

About

 Implemented a random text generator in JAVA using a word-level Markov Chain and a source file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages