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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poem_parser-0.0.4.tar.gz.
File metadata
- Download URL: poem_parser-0.0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6737ab764117498ea9f5f8e41fdee78326744827f33b62241f2b3d51379f1b1f
|
|
| MD5 |
fbb299631978c425a96503729456a274
|
|
| BLAKE2b-256 |
cb811c6ae0f5a3ab7f3310c77fb77c075f321d527cd44b49441357cfa6e66a62
|
File details
Details for the file poem_parser-0.0.4-py3-none-any.whl.
File metadata
- Download URL: poem_parser-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbf260ac016a1721894e89d9fa48c596a2ffdb2534f14b994de0df169550270b
|
|
| MD5 |
bcfb6cf3c6a62fa60296ed20b7080d70
|
|
| BLAKE2b-256 |
c0225b44476d0852022da841be2689b7cc9eaa5cbe667b0e90b10b5d0c742999
|