IsOttavaRima is a program that detects whether a string of text representing a poem stanza conforms to the ottava rima rhyming style.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
classes
garbage-poems
ottava-rima-poems
README.md
is_ottava_rima.php
is_ottava_rima_test.php

README.md

IsOttavaRima

Ottava rima is a rhyming stanza that must satisfy three rules:

  1. Each stanza must have 8 lines,
  2. The lines must be iambic pentameter,
  3. The stanza must have the rhyming format a-b-a-b-a-b-c-c.

This program is a simple ottava rima detector. For more information on its implementation, please see this blog post..