aruudy.poetry.prosody Module¶
This module is used for prosody tasks:
- normalize a text
- find prosody form of a text
- find the meter
Functions¶
normalize (text) |
Normalize a given text. |
process_shatr (text) |
process a shatr. |
prosody_form (text) |
Generate the prosody form. |
aruudy.poetry.meter Module¶
Functions¶
a2e_meter (ameter) |
Transforms an Arabic meter to an English one. |
e2a_meter (emeter) |
Transforms an English meter to an Arabic one. |
extract_meter (bahrForm[, used]) |
Extract the meter description from a list of Tafiila objects. |
get_ameter (text) |
Get the Arabic meter of a given text. |
get_bahr (name[, dic]) |
Search for poetry Bahr by name. |
get_names ([lang]) |
get a list of meters names. |
name_type (name) |
decides if a name is in English or Arabic. |
search_bahr (emeter[, units]) |
Search for Bahr of a given English meter. |
Classes¶
Bahr (info) |
Representation of the Arabic meter. |
BahrForm (feet) |
The form of a Bahr (meter). |
FT |
alias of aruudy.poetry.foot.TafiilaType |
Part (tafiila_comp) |
The text’s part description. |
TafiilaComp (comp) |
Tafiila (foot) components. |
aruudy.poetry.foot Module¶
Classes¶
Tafiila |
A class describing the foot. |
TafiilaComp (comp) |
Tafiila (foot) components. |
TafiilaType |
A class with different anomalies (Zuhaf and Illa) happening to the Foot. |
WSWSWSW ([var]) |
|
WSWSWWS ([var]) |
|
WSWWS ([var]) |
|
WSWWSWS ([var]) |
|
WWSWS ([var]) |
|
WWSWSWS ([var]) |
|
WWSWWWS ([var]) |
|
WWWSWWS ([var]) |
|
ZuhafIlla (the_id, ar) |
Short summary. |