Skip to main content

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


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.1.tar.gz (8.8 MB view details)

Uploaded Source

Built Distribution

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

ipa_engine-0.1.1-py3-none-any.whl (8.9 MB view details)

Uploaded Python 3

File details

Details for the file ipa_engine-0.1.1.tar.gz.

File metadata

  • Download URL: ipa_engine-0.1.1.tar.gz
  • Upload date:
  • Size: 8.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.4 Windows/11

File hashes

Hashes for ipa_engine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c60a364ec9a0a7368e28872557d6ba7a6357fce1c6698dfa7649952a01e995cd
MD5 57305a26e0c3e0889f1481cead818268
BLAKE2b-256 abead8ead15de5ce235ae9f2e13e4ef0d0048f0659504d199f1f46f479ea930a

See more details on using hashes here.

File details

Details for the file ipa_engine-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ipa_engine-0.1.1-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

Hashes for ipa_engine-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63539d86f7000b2f2215e8c5f455aaff70a7518a498492a5201a6e629ee76685
MD5 8ce86abee20c0df362e02f04fb571758
BLAKE2b-256 c30cbeb9d280fb50fef0e58b3d6bc5786cded30c1191920ed839039dea174e7d

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