Translates French text to phonetics
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
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
Close
Hashes for phonetizer-fr-dan-0.0.3b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53e53a9a611ae263ecb7de56d4c96a222feb7a01403b1d88ce4fb01cfa3d148f |
|
MD5 | d53447747861a5ebd80d0844c0ca49f9 |
|
BLAKE2b-256 | 475c72e6d66c6e8562ffa28a227a3c1dc7706f49a7df5932c867a6ee39f7541a |