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 needs 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.

Command-line employment

Once installed cruscoarud on your Python environment, give

cruscoarud -h

For an outline of the commands.

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.2.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file cruscopoetry.plugins.cruscoarud-0.0.2.tar.gz.

File metadata

File hashes

Hashes for cruscopoetry.plugins.cruscoarud-0.0.2.tar.gz
Algorithm Hash digest
SHA256 33337956d5dd299905c446b45c78b8bb1aea8ea3b498546f79e6dd0659d4c5ee
MD5 3d2b638fe0c2c3954cb16dabca3630c0
BLAKE2b-256 6d7e288a92e3ebf703a11a89e5fa4314946817df325dc1233b134b887f88011b

See more details on using hashes here.

File details

Details for the file cruscopoetry.plugins.cruscoarud-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cruscopoetry.plugins.cruscoarud-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 846aa216eec56c7c9511788d0aa61c10acecff3d7c0fbd3dce9a47d3401f14c0
MD5 ad73e86973f13c434532a94a4e6e54f6
BLAKE2b-256 74c3aac289e5d8b712855909c78c446555123deef978e28116a9a3b73ff66f59

See more details on using hashes here.

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