ABOUT

Our goal is to provide a tool that parses a poem and analyzes it according to the following:

  • Strophes
    • Name (based on number of verses) [done]
    • Type (based on verse metrics)
  • Verses
    • Syllable division
    • Grammatical
    • Poetical
    • Metric and name
    • Cadency (rhythm)
  • Poem
    • Number os strophes [done]
    • Number of verses [done]
    • Rhymes
    • Name (based on strophe structure)

We are focusing in the portuguese (brazillian) language since it's our native language and phonetics vary from language to language.

For more details and examples, see our wiki: https://github.com/lfilho/poetize/wiki

USAGE

Certify you chmod the poetize file to be an executable:

$chmod +x poetize

Then run in your shell:

$ poetize file_path [, ignore_line[, ignore_line[,...]]]

The ignore_line argument is the line(s) you want the program to ignore (i.e. the title, author, date created, dedicated to, etc...)

Usage examples:

poetize ./samples/my_poem.txt

poetize /home/user/docs/love_poem.txt 1 2 13 14

REFERENCES

Good site for learning about "poetic science":

ABOUT THE DEVELOPERS

We started this project to learn Ruby and TDD so expect it to be noobly coded :-) Feel free to refactor the code and contribute to our learning experience ;-)