Skip to main content

Parse poems into stressed and unstressed syllables.

Project description

poem_parser

Parse words into stressed and unstressed syllables.

Installation

To install:

$ pip install poem_parser

Example usage

To parse a line:

$ python -m poem_parser "Just give me the likes, dont pass or scroll"
just|GIVE|me.the|LIKES|dont|PASS|or|SCROLL

To parse a file:

$ python -m poem_parser -f poem.txt
RO|ses.are|RED
VIOLETS|||are|BLUE

License

MIT

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

poem_parser-0.0.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

poem_parser-0.0.3-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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