Skip to content

ArashDehghanyan/markov_poem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

markov_poem

Create a poem using Markov chain We used Markov chain algorithm to produce a poem. we create new words based on previouse words and probabilities. To biuld probabilities we create a dictionary which key is a word an its value is an array of words succeed. Then we randomly found a word and possible words which follows. We used the same algorithm with a bit change for a Persian short story to produce story. The results are exciting.

About

Create a poem using Markov chain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published