Skip to content

chansen1395/haiku-generator-tester9-2

Repository files navigation

(Haiku Checker/Generator)

(This web application will either take a user's input to check whether it is a Haiku following the 5-7-5 syllable format. It can also generate a random haiku from a dictionary containing 1000 English words.)

By (Connor Hansen)

Technologies Used

  • JavaScript
  • Jest
  • Node Package Manager
  • JQuery
  • CSS
  • HTML

Description

This application has been created to demonstrate using a project template and implementing classes with Jest for TDD.

  • User enters 3 lines of text, which are checked for Haiku syllable formatting:
    • {size east for found age} -- 5 syllables
    • {horse record reach charge hole search} -- 7 syllables
    • {process very cry} -- 5 syllables
  • If it does not have the correct number of syllables, a message will appear, saying such.
  • A user may randomly generate a Haiku when a button is pressed.

Setup/Installation Requirements

Known Bugs

  • Due to the number of exceptions to syllabic rules, not all words will be correctly parsed for the syllable count. Because of this inconsistency, the generator may occasionally incorrectly choose the incorrect number of syllables.

License

{Let me know if you run into any issues or have questions, ideas or concerns. I encourage you to contact me or make a contribution to the code.}

Contact Information

About

test using a template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published