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.4.tar.gz (18.9 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.4-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vopho-0.0.4.tar.gz
  • Upload date:
  • Size: 18.9 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.4.tar.gz
Algorithm Hash digest
SHA256 e3276b0054a3f2ca083af2028103ef4de197529a9eddc752e8deda036dc998be
MD5 f1259decb95a573a6015115b850ddcf8
BLAKE2b-256 77a78877b71aa7a9517203175210a354b0b64ee882c2bad7679c05a087a0efc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: VoPho-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 05ace073cb635069bc22a2d0abfe576939eb52d2f0a68aba151028080d8d952b
MD5 b9675060b0369b5a5d96db68f2e0f87e
BLAKE2b-256 4c33ea8ee2dbc4713c766ae452f32642fda62865aa70092a454b66e8074d2a66

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