Skip to content

The Haiku Generator, a system that generates a seemingly infinite number of Haikus with just the press of a button.

Notifications You must be signed in to change notification settings

zsaralin/haiku-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

haiku-generator

The Haiku Generator is fed a series of pre-existing poems, and uses Markov chains to generate a large number of sentences from those poems. The text generated is then fed through a series of tests to determine which sequence of words are added to the final haiku.

To start generating haikus, run HaikuMain.java

Note: Run FileAdjustments.java if changes to the poem.txt file are made (or if you create your own list of poems to generate the haikus from). Make sure to add specific file names in the main method.

HaikuVideo.mp4

MarkovChain.java : open source code from https://rosettacode.org/wiki/Markov_chain_text_generator, under GNU Free Documentation License 1.2

SyllableCounter.java : from https://github.com/wfreitag/syllable-counter-java

About

The Haiku Generator, a system that generates a seemingly infinite number of Haikus with just the press of a button.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages