a2e_meter

aruudy.poetry.meter.a2e_meter(ameter)

Transforms an Arabic meter to an English one. The Arabic meter uses vocalization as a basis:

  • “w” watad (peg) which are vocalized letters
  • “s” sabab (cord) which are vowels and unvocalized letters

While English meter uses syllables:

  • “-” for long syllables, equivalent to “ws” in the Arabic one
  • “u” for short syllables, equivalent to “w” in the Arabic one.
Parameters:ameter (str) – The Arabic meter using the two letters: “w” and “s”.
Returns:The English meter using the two characters: “-” and “u”.
Return type:str