Skip to main content

Translates French words to phonetics. Checks phonetization.

Project description

Phonetizer - French

Utils library that converts French word or text into phonems. Provides python functions and CLI.

Usage

Install as pip package, then use command line:

$ sentence_to_phonem maison
-> mEz§

GCP API

In Process...

Under the cogs

  • Cuts sentence into words
  • Checks if word is in dictionary
  • If so returns phonemic translation
  • Else returns WordNotFoundError

Dev

To dev in local while retaining access to GCP:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/gcp/jsons/phonetizer-dev-key.json

Todo

  • Lib for nn inference of unknown words is up. Needs to be faster (preload model before inference). Use it to guess new words.
  • Parse Wiktionaire for more comprehensive dictionary
  • Create POS-Tagging to resolve non-homophonic homograms

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

phonetizer-fr-dan-0.1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

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