Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanghay/native-khmer-g2p
Native Khmer Word to Phonemic
https://github.com/seanghay/native-khmer-g2p
cambodia khmer khmer-language openfst thrax
Last synced: 2 days ago
JSON representation
Native Khmer Word to Phonemic
- Host: GitHub
- URL: https://github.com/seanghay/native-khmer-g2p
- Owner: seanghay
- Created: 2023-09-03T05:55:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-03T06:04:14.000Z (about 1 year ago)
- Last Synced: 2024-08-02T16:30:51.296Z (3 months ago)
- Topics: cambodia, khmer, khmer-language, openfst, thrax
- Language: Python
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-khmer-language - native-khmer-g2p
README
## Native Khmer Word to Phonemic
This repo shows how to use [automatic-phonemic-and-phonetic-transcription](https://gitlab.com/mkrlab/automatic-phonemic-and-phonetic-transcription) with `pynini`
Install pynini
```shell
conda install -c conda-forge pynini
```Run
```shell
python khmer_rewriter.py
```### Compiling with Thrax
```shell
# Install on macOS
brew install thrax# Compile .grm file to get .far
./compile.sh
```
### References- [automatic-phonemic-and-phonetic-transcription](https://gitlab.com/mkrlab/automatic-phonemic-and-phonetic-transcription) by [@MakaraSok](https://github.com/MakaraSok)