Dataset Viewer
language
stringclasses 2
values | word
stringlengths 1
45
| pos
stringclasses 10
values | phonemes
stringlengths 1
53
⌀ |
---|---|---|---|
en-US
|
'Merica
|
DEFAULT
|
mˈɛɹəkə
|
en-US
|
'Ndrangheta
|
DEFAULT
|
ndɹæŋɡˈɛɾə
|
en-US
|
'cause
|
DEFAULT
|
kˈʌz
|
en-US
|
'cept
|
DEFAULT
|
sˈɛpt
|
en-US
|
'd
|
DEFAULT
|
d
|
en-US
|
'em
|
DEFAULT
|
əm
|
en-US
|
'fraid
|
DEFAULT
|
fɹˈAd
|
en-US
|
'gainst
|
DEFAULT
|
ɡˈɛnst
|
en-US
|
'll
|
DEFAULT
|
əl
|
en-US
|
'm
|
DEFAULT
|
m
|
en-US
|
'mongst
|
DEFAULT
|
mˈʌŋst
|
en-US
|
'n'
|
DEFAULT
|
ən
|
en-US
|
'neath
|
DEFAULT
|
nˈiθ
|
en-US
|
'nother
|
DEFAULT
|
nˈʌðəɹ
|
en-US
|
'pon
|
DEFAULT
|
pˈɑn
|
en-US
|
'roid
|
DEFAULT
|
ɹˈYd
|
en-US
|
's
|
DEFAULT
|
s
|
en-US
|
't
|
DEFAULT
|
t
|
en-US
|
'tis
|
DEFAULT
|
tˈɪz
|
en-US
|
'tude
|
DEFAULT
|
tˈud
|
en-US
|
'twas
|
DEFAULT
|
twˈʌz
|
en-US
|
'tween
|
DEFAULT
|
twˈin
|
en-US
|
'twere
|
DEFAULT
|
twˈɜɹ
|
en-US
|
'twill
|
DEFAULT
|
twˈɪl
|
en-US
|
'twixt
|
DEFAULT
|
twˈɪkst
|
en-US
|
'twould
|
DEFAULT
|
twˈʊd
|
en-US
|
'un
|
DEFAULT
|
ən
|
en-US
|
'za
|
DEFAULT
|
zɑ
|
en-US
|
-able
|
DEFAULT
|
ˈʌbᵊl
|
en-US
|
-ful
|
DEFAULT
|
fˈʊl
|
en-US
|
-san
|
DEFAULT
|
sˌɑn
|
en-US
|
A
|
DEFAULT
|
ˈA
|
en-US
|
A's
|
DEFAULT
|
ˈAz
|
en-US
|
A-frame
|
DEFAULT
|
ˈAfɹˌAm
|
en-US
|
A-line
|
DEFAULT
|
ˈAlˌIn
|
en-US
|
A-list
|
DEFAULT
|
ˈAlˌɪst
|
en-US
|
A-shirt
|
DEFAULT
|
ˈAʃˌɜɹt
|
en-US
|
A-side
|
DEFAULT
|
ˈAsˌId
|
en-US
|
A-team
|
DEFAULT
|
ˈAtˌim
|
en-US
|
AA
|
DEFAULT
|
ˈɑˌɑ
|
en-US
|
AA
|
NOUN
| null |
en-US
|
ABS
|
DEFAULT
|
ˈæbz
|
en-US
|
ABS
|
NOUN
| null |
en-US
|
ABTA
|
DEFAULT
|
ˈæbtə
|
en-US
|
ACAS
|
DEFAULT
|
ˈAkˌæs
|
en-US
|
ACAT
|
DEFAULT
|
ˈAkˌæt
|
en-US
|
ACOSS
|
DEFAULT
|
ˈAkˌɑs
|
en-US
|
ACT
|
DEFAULT
|
ˈækt
|
en-US
|
ACT
|
NOUN
| null |
en-US
|
AD
|
DEFAULT
|
ˈæd
|
en-US
|
AD
|
NOUN
| null |
en-US
|
ADA-accessible
|
DEFAULT
|
ˌAdˌiˌAəksˈɛsəbᵊl
|
en-US
|
ADA-compliant
|
DEFAULT
|
ˌAdˌiˌAkəmplˈIənt
|
en-US
|
ADAS
|
DEFAULT
|
ˈAdˌæs
|
en-US
|
ADD
|
DEFAULT
|
ˈæd
|
en-US
|
ADD
|
NOUN
| null |
en-US
|
AG
|
DEFAULT
|
ˈæɡ
|
en-US
|
AG
|
NOUN
| null |
en-US
|
AH
|
DEFAULT
|
ˈɑ
|
en-US
|
AH
|
NOUN
| null |
en-US
|
AI
|
DEFAULT
|
ˈAˌI
|
en-US
|
AID
|
DEFAULT
|
ˈAd
|
en-US
|
AID
|
NOUN
| null |
en-US
|
AIDS
|
DEFAULT
|
ˈAdz
|
en-US
|
AIM
|
DEFAULT
|
ˈAm
|
en-US
|
AJ
|
DEFAULT
|
ˈAʤˌA
|
en-US
|
AM
|
DEFAULT
|
æm
|
en-US
|
AM
|
NOUN
| null |
en-US
|
AMAT
|
DEFAULT
|
ˈAmˌæt
|
en-US
|
AMRAAM
|
DEFAULT
|
ˈæmɹˌæm
|
en-US
|
ANSI
|
DEFAULT
|
ˈænsi
|
en-US
|
APEC
|
DEFAULT
|
ˈApˌɛk
|
en-US
|
APRA
|
DEFAULT
|
ˈæpɹə
|
en-US
|
ARC
|
DEFAULT
|
ˈɑɹk
|
en-US
|
AS
|
DEFAULT
|
æz
|
en-US
|
AS
|
NOUN
| null |
en-US
|
ASAP
|
DEFAULT
|
ˈAsæp
|
en-US
|
ASAT
|
DEFAULT
|
ˈAsˌæt
|
en-US
|
ASBO
|
DEFAULT
|
ˈæzbO
|
en-US
|
ASCAP
|
DEFAULT
|
ˈæzkˌæp
|
en-US
|
ASCII
|
DEFAULT
|
ˈæski
|
en-US
|
ASDIC
|
DEFAULT
|
ˈæzdˌɪk
|
en-US
|
ASEAN
|
DEFAULT
|
ˈæsiˌæn
|
en-US
|
ASIC
|
DEFAULT
|
ˈAsɪk
|
en-US
|
ASIO
|
DEFAULT
|
ˈAziO
|
en-US
|
ASLEF
|
DEFAULT
|
ˈæzlɛf
|
en-US
|
ATOL
|
DEFAULT
|
ˈAtˌɔl
|
en-US
|
AWACS
|
DEFAULT
|
ˈAwˌæks
|
en-US
|
AWOL
|
DEFAULT
|
ˈAwˌɔl
|
en-US
|
Aachen
|
DEFAULT
|
ˈɑkən
|
en-US
|
Aadhaar
|
DEFAULT
|
ɑdhˈɑɹ
|
en-US
|
Aalborg
|
DEFAULT
|
ˈɔlbˌɔɹɡ
|
en-US
|
Aarhus
|
DEFAULT
|
ˈɔɹhˌus
|
en-US
|
Aaron
|
DEFAULT
|
ˈɛɹən
|
en-US
|
Aaronic
|
DEFAULT
|
əɹˈɑnɪk
|
en-US
|
Ab
|
DEFAULT
|
ˈɑb
|
en-US
|
Abadan
|
DEFAULT
|
ˌɑbədˈɑn
|
en-US
|
Abaddon
|
DEFAULT
|
əbˈædən
|
en-US
|
Abakan
|
DEFAULT
|
ˈɑbəkɑn
|
en-US
|
Abba
|
DEFAULT
|
ˈɑbə
|
End of preview. Expand
in Data Studio
Data checkpoints from https://github.com/hexgrad/misaki for Grapheme To Phoneme (G2P) conversion.
Code to generate:
!git clone https://github.com/hexgrad/misaki
%cd misaki
import subprocess
import json
import pandas as pd
from misaki import __version__
def get_git_commit_hash():
result = subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True, check=True)
return result.stdout.strip()
def get_rows(data, language):
rows = []
for key, values in data.items():
if not isinstance(values, dict):
values = dict(DEFAULT=values)
for pos, phonemes in values.items():
rows.append(dict(
language=language,
word=key,
pos=pos,
phonemes=phonemes,
))
return rows
dictionaries = ["us_gold", "us_silver", "gb_gold", "gb_silver"]
data = {}
for dictionary in dictionaries:
with open(f"./misaki/data/{dictionary}.json") as f:
data[dictionary] = json.load(f)
rows = []
for dictionary, data in data.items():
rows.extend(get_rows(data, f"en-{'US' if dictionary.startswith('us_') else 'GB'}"))
df = pd.DataFrame(rows)
commit_hash = get_git_commit_hash()
dataset_name = f"{__version__}-{commit_hash}.parquet"
df.to_parquet(dataset_name)
- Downloads last month
- 3