VoPho


NameVoPho JSON
Version 0.0.16 PyPI version JSON
download
home_pageNone
SummaryAn easy to use Multilingual phonemization meta-library
upload_time2025-01-19 04:04:36
maintainerNone
docs_urlNone
authorShoukanLabs.
requires_python>=3.6
licenseNone
keywords phonemization tts multilingual
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # VoPho

VoPho is a phonemization meta-library designed to make multilingual phonemization fast, accessible, multilingual, and accurate!

## Installation

You can install VoPho via pip:

```bash
pip install VoPho
```

# Quick Start
Here's a quick example of how to use VoPho to phonemize multilingual text:

```python
from VoPho.engine import Phonemizer
from time import time

# Example input text in multiple languages
from VoPho.engine import Phonemizer
from time import time

input_text = "<phoneme>I suppose i can</phoneme>, dont take my word for it though. 音素のテストを行うことは、発音の理解を深めるために重要です。"

engine = Phonemizer()
start = time()
output = engine.phonemize(input_text, output_dict=True)
end = time()
print(input_text)
engine.pretty_print(output)
print(f"Took - First: {end - start}")

start = time()
output = engine.phonemize(input_text, output_dict=True)
end = time()
print(input_text)
engine.pretty_print(output)
print(f"Took - Instantiated: {end - start}")

```

```
<phoneme>I suppose i can</phoneme>, dont take my word for it though. 音素のテストを行うことは、発音の理解を深めるために重要です。
I suppose i can, dɔnt teɪk maɪ wɜːd fɔːɹ ɪt ðˌoʊ. onso no tesɯto o okonaɯ koto wa, hatsɯoɴ no ɽikai o fɯkamerɯ tame ni dʑɯɯjoɯ desɯ. 
Took - First: 8.168637990951538

<phoneme>I suppose i can</phoneme>, dont take my word for it though. 音素のテストを行うことは、発音の理解を深めるために重要です。
I suppose i can, dɔnt teɪk maɪ wɜːd fɔːɹ ɪt ðˌoʊ. onso no tesɯto o okonaɯ koto wa, hatsɯoɴ no ɽikai o fɯkamerɯ tame ni dʑɯɯjoɯ desɯ. 
Took - Instantiated: 0.02039504051208496
```

you can also use:
```
engine.phonemize_for_language(text, lang="ISO LANG ID (en, zh, etc.)")

OR

<en>Language tags like this</en>
```

to force particular languages

# Features
- Fast: Optimized for performance.
- Accessible: Easy to integrate and use.
- Multilingual: Supports a wide range of languages.
- Accurate: Provides precise phonemization.

# Supported Languages
| Language  | Supported           | Verified Accuracy     | Notes                                                                                 |
|-----------|---------------------|-----------------------|---------------------------------------------------------------------------------------|
| English   | Yes                 | Yes                   | Fully supported and verified (under heavy development - currently on par with espeak) |
| Russian   | Yes                 | Yes                   | Fully supported and verified                                                          |
| French    | Planned             | N/A                   | Planned for future support                                                            |
| German    | Planned             | N/A                   | Planned for future support                                                            |
| Spanish   | Planned             | N/A                   | Planned for future support                                                            |
| Italian   | Planned             | N/A                   | Planned for future support                                                            |
| Mandarin  | Yes                 | Yes                   | Fully supported and verified                                                          |
| Japanese  | Yes                 | Yes                   | Fully supported and verified                                                          |
| Korean    | Planned             | N/A                   | Planned for future support                                                            |
| Thai      | Yes                 | No                    | Supported, accuracy unverified                                                        |
| Arabic    | Planned (Difficult) | N/A                   | Planned for future support                                                            |
| Persian   | Planned (Difficult) | N/A                   | Planned for future support                                                            |
| Norwegian | Planned             | Yes (government body) | Planned for future support                                                            |


# License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/ShoukanLabs/VoPho/blob/main/LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "VoPho",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "Phonemization, TTS, Multilingual",
    "author": "ShoukanLabs.",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/24/a4/80b830f2a92d3e262cd72e292e0e19229e0c05a1569c32452bbff23f4422/vopho-0.0.16.tar.gz",
    "platform": null,
    "description": "# VoPho\n\nVoPho is a phonemization meta-library designed to make multilingual phonemization fast, accessible, multilingual, and accurate!\n\n## Installation\n\nYou can install VoPho via pip:\n\n```bash\npip install VoPho\n```\n\n# Quick Start\nHere's a quick example of how to use VoPho to phonemize multilingual text:\n\n```python\nfrom VoPho.engine import Phonemizer\nfrom time import time\n\n# Example input text in multiple languages\nfrom VoPho.engine import Phonemizer\nfrom time import time\n\ninput_text = \"<phoneme>I suppose i can</phoneme>, dont take my word for it though. \u97f3\u7d20\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u3053\u3068\u306f\u3001\u767a\u97f3\u306e\u7406\u89e3\u3092\u6df1\u3081\u308b\u305f\u3081\u306b\u91cd\u8981\u3067\u3059\u3002\"\n\nengine = Phonemizer()\nstart = time()\noutput = engine.phonemize(input_text, output_dict=True)\nend = time()\nprint(input_text)\nengine.pretty_print(output)\nprint(f\"Took - First: {end - start}\")\n\nstart = time()\noutput = engine.phonemize(input_text, output_dict=True)\nend = time()\nprint(input_text)\nengine.pretty_print(output)\nprint(f\"Took - Instantiated: {end - start}\")\n\n```\n\n```\n<phoneme>I suppose i can</phoneme>, dont take my word for it though. \u97f3\u7d20\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u3053\u3068\u306f\u3001\u767a\u97f3\u306e\u7406\u89e3\u3092\u6df1\u3081\u308b\u305f\u3081\u306b\u91cd\u8981\u3067\u3059\u3002\nI suppose i can, d\u0254nt te\u026ak ma\u026a w\u025c\u02d0d f\u0254\u02d0\u0279 \u026at \u00f0\u02cco\u028a. onso no tes\u026fto o okona\u026f koto wa, hats\u026fo\u0274 no \u027dikai o f\u026fkamer\u026f tame ni d\u0291\u026f\u026fjo\u026f des\u026f. \nTook - First: 8.168637990951538\n\n<phoneme>I suppose i can</phoneme>, dont take my word for it though. \u97f3\u7d20\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u3053\u3068\u306f\u3001\u767a\u97f3\u306e\u7406\u89e3\u3092\u6df1\u3081\u308b\u305f\u3081\u306b\u91cd\u8981\u3067\u3059\u3002\nI suppose i can, d\u0254nt te\u026ak ma\u026a w\u025c\u02d0d f\u0254\u02d0\u0279 \u026at \u00f0\u02cco\u028a. onso no tes\u026fto o okona\u026f koto wa, hats\u026fo\u0274 no \u027dikai o f\u026fkamer\u026f tame ni d\u0291\u026f\u026fjo\u026f des\u026f. \nTook - Instantiated: 0.02039504051208496\n```\n\nyou can also use:\n```\nengine.phonemize_for_language(text, lang=\"ISO LANG ID (en, zh, etc.)\")\n\nOR\n\n<en>Language tags like this</en>\n```\n\nto force particular languages\n\n# Features\n- Fast: Optimized for performance.\n- Accessible: Easy to integrate and use.\n- Multilingual: Supports a wide range of languages.\n- Accurate: Provides precise phonemization.\n\n# Supported Languages\n| Language  | Supported           | Verified Accuracy     | Notes                                                                                 |\n|-----------|---------------------|-----------------------|---------------------------------------------------------------------------------------|\n| English   | Yes                 | Yes                   | Fully supported and verified (under heavy development - currently on par with espeak) |\n| Russian   | Yes                 | Yes                   | Fully supported and verified                                                          |\n| French    | Planned             | N/A                   | Planned for future support                                                            |\n| German    | Planned             | N/A                   | Planned for future support                                                            |\n| Spanish   | Planned             | N/A                   | Planned for future support                                                            |\n| Italian   | Planned             | N/A                   | Planned for future support                                                            |\n| Mandarin  | Yes                 | Yes                   | Fully supported and verified                                                          |\n| Japanese  | Yes                 | Yes                   | Fully supported and verified                                                          |\n| Korean    | Planned             | N/A                   | Planned for future support                                                            |\n| Thai      | Yes                 | No                    | Supported, accuracy unverified                                                        |\n| Arabic    | Planned (Difficult) | N/A                   | Planned for future support                                                            |\n| Persian   | Planned (Difficult) | N/A                   | Planned for future support                                                            |\n| Norwegian | Planned             | Yes (government body) | Planned for future support                                                            |\n\n\n# License\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/ShoukanLabs/VoPho/blob/main/LICENSE) file for details.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An easy to use Multilingual phonemization meta-library",
    "version": "0.0.16",
    "project_urls": {
        "homepage": "https://github.com/ShoukanLabs/VoPho"
    },
    "split_keywords": [
        "phonemization",
        " tts",
        " multilingual"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f47c6b97b4cd0d7102db9c6f0947d82a422d23db91b6c04e45cffc41db742da",
                "md5": "0415b18388a05bd947744498afb681e9",
                "sha256": "5382bae9b6df830c52625cd589bcb873e9e42f2a270737c43a49bf054440cff8"
            },
            "downloads": -1,
            "filename": "VoPho-0.0.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0415b18388a05bd947744498afb681e9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 25626,
            "upload_time": "2025-01-19T04:04:34",
            "upload_time_iso_8601": "2025-01-19T04:04:34.704816Z",
            "url": "https://files.pythonhosted.org/packages/4f/47/c6b97b4cd0d7102db9c6f0947d82a422d23db91b6c04e45cffc41db742da/VoPho-0.0.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24a480b830f2a92d3e262cd72e292e0e19229e0c05a1569c32452bbff23f4422",
                "md5": "edde548780d6e568addc5abba27a3f38",
                "sha256": "71949c5d576aba2f149cb8cee169d483a77634d20f38cf4c142caf91daa3f2d9"
            },
            "downloads": -1,
            "filename": "vopho-0.0.16.tar.gz",
            "has_sig": false,
            "md5_digest": "edde548780d6e568addc5abba27a3f38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 25176,
            "upload_time": "2025-01-19T04:04:36",
            "upload_time_iso_8601": "2025-01-19T04:04:36.330304Z",
            "url": "https://files.pythonhosted.org/packages/24/a4/80b830f2a92d3e262cd72e292e0e19229e0c05a1569c32452bbff23f4422/vopho-0.0.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-19 04:04:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ShoukanLabs",
    "github_project": "VoPho",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "vopho"
}
        
Elapsed time: 0.53832s