Skip to main content

Grapheme-to-Phoneme conversion for the Meranaw language

Project description

meranaw-g2p

───────────────────────────────────────────────
⊹ ࣪ ˖ ૮( ˶ᵔ ᵕ ᵔ˶ )っ meranaw-g2p vers. 0.1.0
───────────────────────────────────────────────

Grapheme-to-Phoneme (G2P) conversion for the Meranaw language using finite-state transducers.

Built on Pynini, a Python library for finite-state grammar compilation.

Installation

pip install meranaw-g2p

Usage

from meranaw_g2p import build_pipeline, transcribe

pipeline = build_pipeline("meranaw")

results = transcribe("philian", pipeline)
print(results)  # ["p'iliyan"]

results = transcribe("dî", pipeline)
print(results)  # ["diʔ"]

Development

git clone https://github.com/lavahotsnacks/meranaw-g2p
cd meranaw-g2p
pip install -e .
pytest

License

MIT

                                  |
                                 |||
                                |||||
                  |    |    |   |||||||
                 )_)  )_)  )_)   ~|~
                )___))___))___)\  |
               )____)____)_____)\\|
             _____|____|____|_____\\\__
             \                       /
       ~^~^~~^~^~~^~^~~^~^~~^~^~~^~^~~^~^~~^~^~
               ~^~  all aboard!  ~^~
       ~^~^~~^~^~~^~^~~^~^~~^~^~~^~^~~^~^~~^~^~

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

meranaw_g2p-0.1.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

meranaw_g2p-0.1.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file meranaw_g2p-0.1.0.tar.gz.

File metadata

  • Download URL: meranaw_g2p-0.1.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for meranaw_g2p-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3aeeb071de0beb2771709d02fec3603449a8adc1a61ca73fdc5f6eae4ba029c8
MD5 798c7ce2906716245c5aeebfcd33f367
BLAKE2b-256 e32359c838c5dc90e640f3e80935745edb4291f58ab4be8695e7b92720b6dd55

See more details on using hashes here.

Provenance

The following attestation bundles were made for meranaw_g2p-0.1.0.tar.gz:

Publisher: publish.yml on lavahotsnacks/meranaw-g2p

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meranaw_g2p-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: meranaw_g2p-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for meranaw_g2p-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cef42093fa930efb6c37f1700cb5f0db80b6072fe53d25af217398b30aa2e1ef
MD5 3222d7c42122773e0057067d35410b68
BLAKE2b-256 bfe348037121a5cddef549f4ca7bf246c703de83c610371efd5c90cb65457aa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for meranaw_g2p-0.1.0-py3-none-any.whl:

Publisher: publish.yml on lavahotsnacks/meranaw-g2p

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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