Skip to content

A Haiku generator I made for the Writing Machines Fall 2020-Winter 2021 Evergreen program

Notifications You must be signed in to change notification settings

iplusplus42/haiku-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaikuGenerator

Generates Haikus from word lists

To-Do:

  • Find a way to collect/generate dictionary words
  • Figure out how to calculate the syllables in a word (avoiding using APIs if possible)
  • Somehow check if the haiku makes any sense at all
    • Create rulesets based on English grammar

The included word lists were provided to me by my professor.

According to this site, the longest five-syllable word in english is 21 letters long. According to this site, the longest five-syllable word in english is 15 letters long (procrastination). According to this site, the longest seven-syllable word in english is 20 letters long (Buckminsterfullerene).

For dictionary word lookup, I could use this library, but personally, that feels like cheating, so I'll leave that as a last resort.

Are they real words and do they follow English grammar

All the crossed out lines above have been resolved by my use of word lists.

About

A Haiku generator I made for the Writing Machines Fall 2020-Winter 2021 Evergreen program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published