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.3b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b8e81e307f26c693f173620625eae8462949d788f9fdecbe60cbc2619a35b3c |
|
MD5 | fc31b67dc4a4115414b2cb4d3005b27b |
|
BLAKE2b-256 | 7e9ad6316d8262de0a592aa7b4384704368d929fca79abcba82be457a5f84910 |