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
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)
Built Distribution
Close
Hashes for poem_parser-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a4d14e8afdc321734edbf30b6a953cded87db9589b88f964493e2345510f72 |
|
MD5 | 77c93dffdd3e64e71e82e8b3d5a6da19 |
|
BLAKE2b-256 | d4fb21b238da43d8f5e30568d1e3157d3f2febdbb5b16c3e80145102f375f0d6 |