Skip to content
/ 605204 Public

Simple Haiku converter written in Python + Project to convert the vital wikipedia articles to Haiku

License

Notifications You must be signed in to change notification settings

ixt/605204

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

60//5\204

A sequel to 60//5\203, now with automation!

in this repo there is:

  • an article list
  • a python scrypt with no none core dependencies
  • a shell script that goes through the list, grabbing the articles putting the output through the python script

Using lynx to get the articles is good most of the time this is demonstrated in the included script which is meant for pulling the 1000 articles that are important to have in every wikipedia & convert them into haikus. The wikipedia chosen was the Simple English one. Only one article fails right now (2016/09/05) which is Trimurti due to too little words, but if one does the process outlined in the python script it should actually find a haiku. This is due to the counting algorithm, which can probably be improved greatly (many examples can be found of it counting too little syllables)

Utilities I use in the example script:

  • Lynx
  • cat
  • sed
  • echo
  • python (imports sys, os, getopt)
  • ascii2uni && uni2ascii

About

Simple Haiku converter written in Python + Project to convert the vital wikipedia articles to Haiku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published