espeak-phonemizer-windows


Nameespeak-phonemizer-windows JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/mush42/espeak-phonemizer-windows
SummaryUses espeak-ng to transform text into IPA phonemes.
upload_time2023-04-22 13:18:31
maintainer
docs_urlNone
authormush42
requires_python>=3.8,<4.0
licenseGNU GENERAL PUBLIC LICENSE
keywords espeak phonemes ipa nlp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # eSpeak Phonemizer Windows


Uses [espeak-ng](https://github.com/espeak-ng/espeak-ng) to transform text into [IPA](https://en.wikipedia.org/wiki/International_Phonetic_Alphabet) phonemes.

This is a fork of [espeak-phonemizer](https://github.com/rhasspy/espeak-phonemizer) that adds support for Windows.

## Installation

```sh
pip install espeak_phonemizer_windows
```

If installation was successful, you should be able to run:

```sh
espeak-phonemizer --version
```

## Basic Phonemization

Simply pass your text into the standard input of `espeak-phonemizer`:

```sh
echo 'This is a test.' | espeak-phonemizer -v en-us
ðɪs ɪz ɐ tˈɛst
```

### Separators

Phoneme and word separators can be changed:

```sh
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:

```sh
echo 'This: is, a, test.' | espeak-phonemizer -v en-us --keep-punctuation
ðˈɪs: ˈɪz, ˈeɪ, tˈɛst.
```

Stress markers can also be dropped:

```sh
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`):

```sh
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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mush42/espeak-phonemizer-windows",
    "name": "espeak-phonemizer-windows",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "espeak,phonemes,ipa,nlp",
    "author": "mush42",
    "author_email": "ibnomer2011@hotmail.com",
    "download_url": "",
    "platform": null,
    "description": "# eSpeak Phonemizer Windows\n\n\nUses [espeak-ng](https://github.com/espeak-ng/espeak-ng) to transform text into [IPA](https://en.wikipedia.org/wiki/International_Phonetic_Alphabet) phonemes.\n\nThis is a fork of [espeak-phonemizer](https://github.com/rhasspy/espeak-phonemizer) that adds support for Windows.\n\n## Installation\n\n```sh\npip install espeak_phonemizer_windows\n```\n\nIf installation was successful, you should be able to run:\n\n```sh\nespeak-phonemizer --version\n```\n\n## Basic Phonemization\n\nSimply pass your text into the standard input of `espeak-phonemizer`:\n\n```sh\necho 'This is a test.' | espeak-phonemizer -v en-us\n\u00f0\u026as \u026az \u0250 t\u02c8\u025bst\n```\n\n### Separators\n\nPhoneme and word separators can be changed:\n\n```sh\necho 'This is a test.' | espeak-phonemizer -v en-us -p '_' -w '#'\n\u00f0_\u026a_s#\u026a_z#\u0250#t_\u02c8\u025b_s_t\n```\n\n### Punctuation and Stress\n\nSome punctuation can be kept (.,;:!?) in the output:\n\n```sh\necho 'This: is, a, test.' | espeak-phonemizer -v en-us --keep-punctuation\n\u00f0\u02c8\u026as: \u02c8\u026az, \u02c8e\u026a, t\u02c8\u025bst.\n```\n\nStress markers can also be dropped:\n\n```sh\necho 'This is a test.' | espeak-phonemizer -v en-us --no-stress\n\u00f0\u026as \u026az \u0250 t\u025bst\n```\n\n### Delimited Input\n\nThe `--csv` flag enables delimited input with fields separated by a '|' (change with `--csv-delimiter`):\n\n```sh\necho 's1|This is a test.' | espeak-phonemizer -v en-us --csv\ns1|This is a test.|\u00f0\u026as \u026az \u0250 t\u02c8\u025bst\n```\n\nPhonemes are added as a final column, allowing you to pass arbitrary metadata through to the output.\n\n\n",
    "bugtrack_url": null,
    "license": "GNU GENERAL PUBLIC LICENSE",
    "summary": "Uses espeak-ng to transform text into IPA phonemes.",
    "version": "1.0.4",
    "split_keywords": [
        "espeak",
        "phonemes",
        "ipa",
        "nlp"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d96c23c1c0bf0340f8191b6e4a32257e3b6281fa2feb6b53d2248290209f67cb",
                "md5": "aa6704151a14756d86c97ec26490d3d0",
                "sha256": "495a8cfc5c882ecefcf0e103bab64509f9e326017c070c1aa832bccc9ff9ebc3"
            },
            "downloads": -1,
            "filename": "espeak_phonemizer_windows-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "aa6704151a14756d86c97ec26490d3d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 9447754,
            "upload_time": "2023-04-22T13:18:31",
            "upload_time_iso_8601": "2023-04-22T13:18:31.132488Z",
            "url": "https://files.pythonhosted.org/packages/d9/6c/23c1c0bf0340f8191b6e4a32257e3b6281fa2feb6b53d2248290209f67cb/espeak_phonemizer_windows-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-22 13:18:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "mush42",
    "github_project": "espeak-phonemizer-windows",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "espeak-phonemizer-windows"
}
        
Elapsed time: 0.83021s