Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Grapheme to Phoneme (G2P) with Stress
|
2 |
|
3 |
This project provides a Grapheme to Phoneme (G2P) conversion tool that first checks the CMU Pronouncing Dictionary for phoneme translations. If a word is not found in the dictionary, it utilizes two Transformer-based models to generate phoneme translations and add stress markers. The output is in ARPAbet format, and the model can also convert graphemes into phoneme integer indices.
|
@@ -41,8 +54,4 @@ phonemes = g2p(text, with_stress=False)
|
|
41 |
'AE', 'N', 'D', ' ', 'S', 'AH', 'M', ' ',
|
42 |
'S', 'T', 'R', 'EY', 'N', 'JH',' ',
|
43 |
'S', 'IH', 'M', 'B', 'AH', 'L', 'Z',' ',
|
44 |
-
'T', 'W', 'EH', 'N', 'IY', ' ', 'W', 'AH', 'N']
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
metrics:
|
6 |
+
- wer
|
7 |
+
tags:
|
8 |
+
- g2p
|
9 |
+
- grapheme
|
10 |
+
- phoneme
|
11 |
+
- text2text
|
12 |
+
- text-generation-inference
|
13 |
+
---
|
14 |
# Grapheme to Phoneme (G2P) with Stress
|
15 |
|
16 |
This project provides a Grapheme to Phoneme (G2P) conversion tool that first checks the CMU Pronouncing Dictionary for phoneme translations. If a word is not found in the dictionary, it utilizes two Transformer-based models to generate phoneme translations and add stress markers. The output is in ARPAbet format, and the model can also convert graphemes into phoneme integer indices.
|
|
|
54 |
'AE', 'N', 'D', ' ', 'S', 'AH', 'M', ' ',
|
55 |
'S', 'T', 'R', 'EY', 'N', 'JH',' ',
|
56 |
'S', 'IH', 'M', 'B', 'AH', 'L', 'Z',' ',
|
57 |
+
'T', 'W', 'EH', 'N', 'IY', ' ', 'W', 'AH', 'N']
|
|
|
|
|
|
|
|