An easy to use Multilingual phonemization meta-library
Project description
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
input_text = "hello, 你好は中国語でこんにちはと言う意味をしています。 Привет!"
# Instantiate the Phonemizer
engine = Phonemizer()
# Measure the time taken to phonemize
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}")
# Measure the time taken for subsequent calls
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}")
>>> OUTPUT: həlˈoʊ, ni˨˩˦hɑʊ˨˩˦ wa tɕɯɯgokɯ go de konnitɕiha to iɯ imi o ɕite imasɯ. prʲɪvʲ'et!
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 |
| 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 | N/A | Planned for future support |
| Persian | Planned | N/A | Planned for future support |
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 vopho-0.0.8.tar.gz.
File metadata
- Download URL: vopho-0.0.8.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4858939813eaa40ad2c36403bc0905d7f916f295fa7275bd4c53e759cd6ac10
|
|
| MD5 |
725d7df3612febfd5f8de7bb299a69a6
|
|
| BLAKE2b-256 |
1d5780a75aa0626c9ffa8bb30d44412cc24245843b921d3b17fe88ad496c261b
|
File details
Details for the file VoPho-0.0.8-py3-none-any.whl.
File metadata
- Download URL: VoPho-0.0.8-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c99446c09d8e6945a3dd6c1c1e9111ae9c0631a9e9466c7f57e943b3470e5dd9
|
|
| MD5 |
780cb0c237cd64de9bb502dd238b735a
|
|
| BLAKE2b-256 |
44f5967a17874392091e700792759b970003e7ba5a2ebc9391b2a1d5cad53c53
|