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
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
File details
Details for the file phonetizer-fr-dan-0.1.0.tar.gz.
File metadata
- Download URL: phonetizer-fr-dan-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb3f0c3727de8c7a4677b4cb1f866828f9169ca1150191f1e1777e1210a76564
|
|
| MD5 |
b3cd7bef13289b2f6612bf6d6bb3c8b7
|
|
| BLAKE2b-256 |
99f2e674940ab99bb3422c2ea55eb1bdf565ad10f73d17041cffe6f7a5015b10
|