poem-parser

Parse poems into stressed and unstressed syllables.


License
MIT
Install
pip install poem-parser==0.0.4

Documentation

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