BahrForm

class aruudy.poetry.meter.BahrForm(feet)

Bases: object

The form of a Bahr (meter).

For a given Arabic meter (Bahr), there may be multiple forms.

Parameters:feet (list(Tafiila)) – A list of feet describing the meter.
feet

A list of feet describing the meter.

Type:list(Tafiila)

Methods Summary

validate(emeter[, units]) Chacks if an emeter follows this meter’s form.

Methods Documentation

validate(emeter, units=[])

Chacks if an emeter follows this meter’s form.

Parameters:
  • emeter (str) – The English meter of the text.
  • units (list(str)) – A list of vocallized and unvocalized elements, generated from the text.
Returns:

The part object.

Return type:

Part