Skip to content

vilasopher/haiku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

haiku

haiku.py is a program that creates a random haiku out of the words in any text file

typical usage:

python haiku.py words.txt

options:

-shape        is the shape of the haiku
              default is -shape [5,7,5]

-linetries    is the number of invalid lines before haiku.py gives up
              default is -linetries 1000

-wordtries    is the number of invalid words before haiku.py gives up
              default is -wordtries 1000

-help         prints this dialog

this program depends on the CMUDict python library

About

A program that generates a random haiku based on the words in any text file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages