VoPho
VoPho is a phonemization meta-library designed to make multilingual phonemization fast, accessible, multilingual, and accurate!
Installation
You can install VoPho via pip:
pip install VoPho
Quick Start
Here's a quick example of how to use VoPho to phonemize multilingual text:
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 file for details.
Metadata
Release files for VoPho 0.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vopho-0.0.19.tar.gz | 25.3 kB | Without provenance | Details for vopho-0.0.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| VoPho-0.0.19-py3-none-any.whl | Python 3 | none | any | Details for VoPho-0.0.19-py3-none-any.whl |
Total release size: 51.2 kB
Release files / vopho-0.0.19.tar.gz
| Download URL | vopho-0.0.19.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c69d76454660c912a87721d9d9274a33d69eb3f0e5c03a6391c2dd2cda699f6
|
|
BLAKE2b-256 checksum How to use checksums |
ce48c19ceb022c64e2ea6713c072f6a7e5a8334a9e5f56931f3f9f5a4ea82809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / VoPho-0.0.19-py3-none-any.whl
| Download URL | VoPho-0.0.19-py3-none-any.whl |
|---|---|
| Size | 25.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b21c55b84030862edc077bca03f739c2844d5a3da63d410a008d5eed48449b3c
|
|
BLAKE2b-256 checksum How to use checksums |
c567ce7b08be1505b89fb330a30e993be5f845366c912c9c2f7dfd5e70d1899d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for VoPho 0.0.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.