No project description provided
Project description
IPA Engine
A lightweight package to convert text to IPA (International Phonetic Alphabet) symbols.
Demo usage
import logging
from ipa_engine import IPAEngine
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
# Create an instance of IPASession
# ipa_session = IPASession(languages=["zh_hans"])
logger.debug("Initializing IPA session...")
ipa_session = IPAEngine(languages=["fr_FR"])
logger.debug("IPA session initialized.")
# Translate a sentence
sentence = "Ça va bien?"
ipa_result = ipa_session.translate_ipa(sentence)
logger.debug(
"IPA translation: %s",
"".join(ipa_result)) # Output will be a list of IPA transcriptions
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
ipa_engine-0.1.0.tar.gz
(8.7 MB
view details)
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 ipa_engine-0.1.0.tar.gz.
File metadata
- Download URL: ipa_engine-0.1.0.tar.gz
- Upload date:
- Size: 8.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b2d86c37e6ec67c7389374d5d1015de76d673384b37712f5d17c7f8f39aa2cc
|
|
| MD5 |
f4aba0408801d5259ae6033b66f59b33
|
|
| BLAKE2b-256 |
fc38e94dd703a4ee5f404dc397f4a7e5b58d9fe509b65763d5ce2f898282bd52
|
File details
Details for the file ipa_engine-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ipa_engine-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b811a196df15849e328126641315c451e5a65402c1fce5d608269a0f68c54eae
|
|
| MD5 |
63fefd63de03b1c3c3f9bfeb47f69163
|
|
| BLAKE2b-256 |
77aea0d3bc3d9f9bb28da9b7422459b4fa8140b2e8c0406e7d91c2fa808bbf8d
|