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.4.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for poem_parser-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf260ac016a1721894e89d9fa48c596a2ffdb2534f14b994de0df169550270b |
|
MD5 | bcfb6cf3c6a62fa60296ed20b7080d70 |
|
BLAKE2b-256 | c0225b44476d0852022da841be2689b7cc9eaa5cbe667b0e90b10b5d0c742999 |