Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vopho-0.0.7.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

VoPho-0.0.7-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file vopho-0.0.7.tar.gz.

File metadata

  • Download URL: vopho-0.0.7.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for vopho-0.0.7.tar.gz
Algorithm Hash digest
SHA256 26570376611ec01ac27b5a426d609595954311a8a5fea72916ff5743ad5cc6e6
MD5 993992f2a622a53448c4019080345113
BLAKE2b-256 7facecd960cb8fbb632bc1a9f65b07fdd18e566555e5b4bbb22f830c34f88daf

See more details on using hashes here.

File details

Details for the file VoPho-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: VoPho-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for VoPho-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 45d4f95d10dc5a98ace29efd928fa623df70894f0c87fef86d1837a23b75c5e3
MD5 357d522a6efcc534a436c215d5a3572a
BLAKE2b-256 5f42a47c3f80caaa0e3abca8e0d7fc1b3d7f9ec2aa84cb7e904b91db8dd068bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page