Last updated:
0 purchases
poemparser 0.0.4
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.