File size: 4,252 Bytes
a6f742e
 
8b8dd09
 
 
 
f61cdfa
8b8dd09
 
866abcb
f61cdfa
8b8dd09
 
 
f61cdfa
8b8dd09
 
866abcb
f61cdfa
 
8b8dd09
 
f61cdfa
 
8b8dd09
866abcb
f61cdfa
 
8b8dd09
866abcb
f61cdfa
 
8b8dd09
 
f61cdfa
 
8b8dd09
 
f61cdfa
 
8b8dd09
 
f61cdfa
866abcb
8b8dd09
866abcb
 
 
8b8dd09
 
866abcb
 
8b8dd09
 
866abcb
 
8b8dd09
 
866abcb
 
8b8dd09
866abcb
 
 
 
 
 
 
8b8dd09
 
866abcb
 
8b8dd09
 
866abcb
 
 
 
 
 
 
 
 
 
 
 
 
 
8b8dd09
 
866abcb
 
8b8dd09
 
866abcb
 
8b8dd09
 
866abcb
 
 
 
 
 
 
 
 
 
 
 
 
 
a6f742e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4de4bc9
bf0a860
4de4bc9
 
 
bf0a860
 
 
c091d8d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4de4bc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
---
license: mit
configs:
  - config_name: af
    data_files:
      - split: train
        path: af/*.txt
  - config_name: am
    data_files:
      - split: test
        path: am/*.txt
  - config_name: ar
    data_files:
      - split: train
        path: ar/*.txt
  - config_name: az
    data_files:
      - split: test
        path: az/*.txt
  - config_name: ca
    data_files:
      - split: train
        path: ca/*.txt
  - config_name: de
    data_files:
      - split: test
        path: de/*.txt
  - config_name: en
    data_files:
      - split: test
        path: en/*.txt
  - config_name: es
    data_files:
      - split: train
        path: es/*.txt
  - config_name: fa
    data_files:
      - split: train
        path: fa/*.txt
  - config_name: fr
    data_files:
      - split: train
        path: fr/*.txt
  - config_name: hi
    data_files:
      - split: test
        path: hi/*.txt
  - config_name: hu
    data_files:
      - split: train
        path: hu/*.txt
  - config_name: it
    data_files:
      - split: train
        path: it/*.txt
  - config_name: mr
    data_files:
      - split: train
        path: mr/*.txt
  - config_name: pl
    data_files:
      - split: test
        path: pl/*.txt
  - config_name: pt
    data_files:
      - split: test
        path: pt/*.txt
  - config_name: ru
    data_files:
      - split: train
        path: ru/*.txt
  - config_name: sv
    data_files:
      - split: train
        path: sv/*.txt
  - config_name: ta
    data_files:
      - split: test
        path: ta/*.txt
  - config_name: th
    data_files:
      - split: test
        path: th/*.txt
  - config_name: tr
    data_files:
      - split: test
        path: tr/*.txt
  - config_name: ug
    data_files:
      - split: train
        path: ug/*.txt
  - config_name: uk
    data_files:
      - split: train
        path: uk/*.txt
  - config_name: ur
    data_files:
      - split: train
        path: ur/*.txt
  - config_name: vi
    data_files:
      - split: test
        path: vi/*.txt
  - config_name: yue
    data_files:
      - split: test
        path: yue/*.txt
  - config_name: zh
    data_files:
      - split: test
        path: zh/*.txt

language:
- af
- am
- az
- ar
- ca
- de
- en
- es
- fa
- fr
- fi
- hi
- hu
- it
- mr
- pl
- pt
- ru
- sv
- ta
- th
- tr
- ug
- uk
- vi
- zh
---

# Phoneme-UD: A Multilingual Phonemized Universal Dependencies Corpus for 26+ Languages




## G2P+ Phonemizer

We use G2P+ to phonemize Universal Dependencies. Here is an example usage: 


```
# Install required packages
!apt-get install -y espeak-ng
!pip install phonemizer g2p-plus
# Set the environment variable from Python
import os
os.environ["PHONEMIZER_ESPEAK_LIBRARY"] = "/usr/lib/x86_64-linux-gnu/libespeak-ng.so.1"

# Now run your transcription
from g2p_plus import transcribe_utterances

lines = ['hello there!', 'nice to meet you.']
phonemized = transcribe_utterances(lines, "phonemizer", "en-gb", keep_word_boundaries=True)
print(phonemized)
```



```
@misc{goriely2025ipachildesg2pfeaturerich,
      title={IPA-CHILDES & G2P+: Feature-Rich Resources for Cross-Lingual Phonology and Phonemic Language Modeling}, 
      author={Zébulon Goriely and Paula Buttery},
      year={2025},
      eprint={2504.03036},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2504.03036}, 
}
```


## Attribution

G2P+ incorporates content from the following sources:

<!-- - **Phoible** by **Moran, Steven & McCloy, Daniel**, licensed under [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/).  
  Original work: [https://phoible.org/](https://phoible.org/)  -->
- **Pingyam** by **Open Dictionary**, licensed under [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/).  
  Original work: [https://github.com/kfcd/pingyam/tree/master](https://github.com/kfcd/pingyam/tree/master) 
- **CEDICT** by **MDBG**, licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).  
  Original work: [https://www.mdbg.net/chinese/dictionary?page=cc-cedict](https://www.mdbg.net/chinese/dictionary?page=cc-cedict) 

In accordance with the **CC BY-SA 3.0** license, any derivative work or adaptation of these resources must also be shared under the same license.