get_ameter

aruudy.poetry.meter.get_ameter(text)

Get the Arabic meter of a given text. Produces the Arabic meter of a given text in prosody form. The Arabic meter is composed of two letters:

  • “w” watad (peg) which are vocalized letters
  • “s” sabab (cord) which are vowels and unvocalized letters
Parameters:text (str) – Arabic text in prosody form.
Returns:Arabic meter of the input text. A string composed of “w” and “s”.
Return type:str