Skip to main content

ʿArūḍ parser for poems in cruscopoetry format

Project description

Welcome to CruscoArud, a plugin of CruscoPoetry that allows to parse lines written in one of the sixteen Classical Arabic metres (the ʿArūḍ metres) and store the result of this parsing in the poem’s JSON file.

Requirements

Since the base version of Cruscopetry doesn’t provide a specific syllabification algorithm, cruscoarud can work only with customized packages. In particular, the customized classes inheriting from cruscopoetry.abstracts.AbstractSyllable need to include the attribute (or property) morae, whose value must be a positive integer indicating the syllabic quantity (for example, 1 for short syllables, 2 for long, 3 for extra-long ones in the Arabic language). Moreover, in the metadata section of the text the key cruscoarud_metre, to whom an appropriate integer value must correspond (see the documentation for further details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cruscopoetry.plugins.cruscoarud-0.0.1.tar.gz (34.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page