eSpeak Phonemizer Windows
Uses espeak-ng to transform text into IPA phonemes.
This is a fork of espeak-phonemizer that adds support for Windows.
Installation
pip install espeak_phonemizer_windows
If installation was successful, you should be able to run:
espeak-phonemizer --version
Basic Phonemization
Simply pass your text into the standard input of espeak-phonemizer:
echo 'This is a test.' | espeak-phonemizer -v en-us
ðɪs ɪz ɐ tˈɛst
Separators
Phoneme and word separators can be changed:
echo 'This is a test.' | espeak-phonemizer -v en-us -p '_' -w '#'
ð_ɪ_s#ɪ_z#ɐ#t_ˈɛ_s_t
Punctuation and Stress
Some punctuation can be kept (.,;:!?) in the output:
echo 'This: is, a, test.' | espeak-phonemizer -v en-us --keep-punctuation
ðˈɪs: ˈɪz, ˈeɪ, tˈɛst.
Stress markers can also be dropped:
echo 'This is a test.' | espeak-phonemizer -v en-us --no-stress
ðɪs ɪz ɐ tɛst
Delimited Input
The --csv flag enables delimited input with fields separated by a '|' (change with --csv-delimiter):
echo 's1|This is a test.' | espeak-phonemizer -v en-us --csv
s1|This is a test.|ðɪs ɪz ɐ tˈɛst
Phonemes are added as a final column, allowing you to pass arbitrary metadata through to the output.
Metadata
Release files for espeak-phonemizer-windows 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| espeak_phonemizer_windows-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / espeak_phonemizer_windows-1.0.4-py3-none-any.whl
| Download URL | espeak_phonemizer_windows-1.0.4-py3-none-any.whl |
|---|---|
| Size | 9.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
495a8cfc5c882ecefcf0e103bab64509f9e326017c070c1aa832bccc9ff9ebc3
|
|
BLAKE2b-256 checksum How to use checksums |
d96c23c1c0bf0340f8191b6e4a32257e3b6281fa2feb6b53d2248290209f67cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|