Skip to content

Kidel/poetry-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poetry-generator

A JavaScript translated version of the Python3 based Backus-Naur poetry generator by schollz.

This program works on the basis that every word in the English language is either "positive" or "negative." For instance "lovely" is positive and "thorn" is negative. A "poem" is a group of sentences that are structured in a way to have +1, -1 or 0 in terms of the positivity/negativity. A "mushy poem" is strictly positive.

All the syntax and word choices are in the dictionary.js file. The main program is in poem.js and for web applications use the index.html to automatically generate some different poems and titles!

demo here

About

A Python3 based Backus-Naur poetry generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 92.7%
  • HTML 7.3%