Datasets:
Vu Anh
Claude
commited on
Commit
·
ee3f5c5
1
Parent(s):
e5ce09b
Convert dataset to JSONL format for better Hugging Face compatibility
Browse files- Converted CSV dataset to JSONL format with structured audio metadata
- Updated all Python scripts to work with JSONL instead of CSV
- Added proper audio sampling rate metadata (22050 Hz)
- Removed old CSV file in favor of JSONL
- Ensures word and IPA columns are properly displayed in Dataset Viewer
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- convert_to_jsonl.py +45 -0
- example_usage.py +13 -5
- generate_audio.py +36 -14
- vietnamese_ipa_dataset.csv +0 -51
- vietnamese_ipa_dataset.jsonl +50 -0
convert_to_jsonl.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
|
| 3 |
+
import csv
|
| 4 |
+
import json
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
def convert_csv_to_jsonl(csv_file="vietnamese_ipa_dataset.csv", jsonl_file="vietnamese_ipa_dataset.jsonl"):
|
| 9 |
+
"""Convert CSV dataset to JSONL format"""
|
| 10 |
+
|
| 11 |
+
records = []
|
| 12 |
+
|
| 13 |
+
# Read CSV file
|
| 14 |
+
with open(csv_file, "r", encoding="utf-8") as f:
|
| 15 |
+
reader = csv.DictReader(f)
|
| 16 |
+
for row in reader:
|
| 17 |
+
# Create record with proper structure
|
| 18 |
+
record = {
|
| 19 |
+
"word": row["word"],
|
| 20 |
+
"ipa": row["ipa"],
|
| 21 |
+
"audio": {
|
| 22 |
+
"path": row["audio_file"],
|
| 23 |
+
"sampling_rate": 22050 # Standard sampling rate for gTTS
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
records.append(record)
|
| 27 |
+
|
| 28 |
+
# Write JSONL file
|
| 29 |
+
with open(jsonl_file, "w", encoding="utf-8") as f:
|
| 30 |
+
for record in records:
|
| 31 |
+
f.write(json.dumps(record, ensure_ascii=False) + "\n")
|
| 32 |
+
|
| 33 |
+
print(f"Converted {len(records)} records from CSV to JSONL")
|
| 34 |
+
print(f"Output saved to: {jsonl_file}")
|
| 35 |
+
|
| 36 |
+
# Display first 5 records
|
| 37 |
+
print("\nFirst 5 records:")
|
| 38 |
+
for i, record in enumerate(records[:5], 1):
|
| 39 |
+
print(f"{i}. {record['word']} -> {record['ipa']}")
|
| 40 |
+
|
| 41 |
+
return records
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
if __name__ == "__main__":
|
| 45 |
+
convert_csv_to_jsonl()
|
example_usage.py
CHANGED
|
@@ -1,11 +1,17 @@
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
import os
|
| 5 |
|
| 6 |
|
| 7 |
-
def load_dataset(
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
return df
|
| 10 |
|
| 11 |
|
|
@@ -37,8 +43,9 @@ def main():
|
|
| 37 |
print("-" * 50)
|
| 38 |
|
| 39 |
for idx, row in df.head(10).iterrows():
|
|
|
|
| 40 |
print(
|
| 41 |
-
f"{idx + 1}. {row['word']:<15} IPA: {row['ipa']:<25} Audio: {
|
| 42 |
)
|
| 43 |
|
| 44 |
print("\n" + "=" * 50)
|
|
@@ -56,13 +63,14 @@ def main():
|
|
| 56 |
if results:
|
| 57 |
print(f"\nFound {len(results)} result(s):")
|
| 58 |
for i, result in enumerate(results, 1):
|
|
|
|
| 59 |
print(f"\n {i}. Word: {result['word']}")
|
| 60 |
print(f" IPA: {result['ipa']}")
|
| 61 |
-
print(f" Audio: {
|
| 62 |
|
| 63 |
play_choice = input(" Play audio? (y/n): ").strip().lower()
|
| 64 |
if play_choice == "y":
|
| 65 |
-
if play_audio(
|
| 66 |
print(" ✓ Playing audio...")
|
| 67 |
else:
|
| 68 |
print(" ✗ Audio file not found")
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
|
| 3 |
+
import json
|
| 4 |
import pandas as pd
|
| 5 |
import os
|
| 6 |
|
| 7 |
|
| 8 |
+
def load_dataset(jsonl_file="vietnamese_ipa_dataset.jsonl"):
|
| 9 |
+
records = []
|
| 10 |
+
with open(jsonl_file, "r", encoding="utf-8") as f:
|
| 11 |
+
for line in f:
|
| 12 |
+
records.append(json.loads(line))
|
| 13 |
+
|
| 14 |
+
df = pd.DataFrame(records)
|
| 15 |
return df
|
| 16 |
|
| 17 |
|
|
|
|
| 43 |
print("-" * 50)
|
| 44 |
|
| 45 |
for idx, row in df.head(10).iterrows():
|
| 46 |
+
audio_path = row["audio"]["path"] if isinstance(row["audio"], dict) else row["audio"]
|
| 47 |
print(
|
| 48 |
+
f"{idx + 1}. {row['word']:<15} IPA: {row['ipa']:<25} Audio: {audio_path}"
|
| 49 |
)
|
| 50 |
|
| 51 |
print("\n" + "=" * 50)
|
|
|
|
| 63 |
if results:
|
| 64 |
print(f"\nFound {len(results)} result(s):")
|
| 65 |
for i, result in enumerate(results, 1):
|
| 66 |
+
audio_path = result["audio"]["path"] if isinstance(result["audio"], dict) else result["audio"]
|
| 67 |
print(f"\n {i}. Word: {result['word']}")
|
| 68 |
print(f" IPA: {result['ipa']}")
|
| 69 |
+
print(f" Audio: {audio_path}")
|
| 70 |
|
| 71 |
play_choice = input(" Play audio? (y/n): ").strip().lower()
|
| 72 |
if play_choice == "y":
|
| 73 |
+
if play_audio(audio_path):
|
| 74 |
print(" ✓ Playing audio...")
|
| 75 |
else:
|
| 76 |
print(" ✗ Audio file not found")
|
generate_audio.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
|
| 3 |
-
import
|
| 4 |
from pathlib import Path
|
| 5 |
from gtts import gTTS
|
| 6 |
import pandas as pd
|
|
@@ -23,25 +23,30 @@ def generate_mp3_from_text(text, output_path, lang="vi"):
|
|
| 23 |
return False
|
| 24 |
|
| 25 |
|
| 26 |
-
def process_dataset(
|
| 27 |
create_audio_directory()
|
| 28 |
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
total = len(df)
|
| 32 |
success = 0
|
| 33 |
failed = []
|
| 34 |
|
| 35 |
-
print(f"Processing {total} words from {
|
| 36 |
print("-" * 50)
|
| 37 |
|
| 38 |
for idx, row in df.iterrows():
|
| 39 |
word = row["word"]
|
| 40 |
ipa = row["ipa"]
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
| 44 |
-
full_path = audio_path
|
| 45 |
|
| 46 |
print(f"[{idx + 1}/{total}] Generating: {word} [{ipa}]")
|
| 47 |
|
|
@@ -61,12 +66,22 @@ def process_dataset(csv_file="vietnamese_ipa_dataset.csv"):
|
|
| 61 |
return success, failed
|
| 62 |
|
| 63 |
|
| 64 |
-
def add_new_word(word, ipa,
|
| 65 |
audio_filename = f"audio/{word.replace(' ', '_')}.mp3"
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
create_audio_directory()
|
| 72 |
if generate_mp3_from_text(word, audio_filename):
|
|
@@ -77,15 +92,22 @@ def add_new_word(word, ipa, csv_file="vietnamese_ipa_dataset.csv"):
|
|
| 77 |
return False
|
| 78 |
|
| 79 |
|
| 80 |
-
def display_dataset(
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
print("\nVietnamese IPA Dataset:")
|
| 83 |
print("-" * 70)
|
| 84 |
print(f"{'Word':<20} {'IPA':<30} {'Audio File':<20}")
|
| 85 |
print("-" * 70)
|
| 86 |
|
| 87 |
for _, row in df.iterrows():
|
| 88 |
-
|
|
|
|
| 89 |
|
| 90 |
print("-" * 70)
|
| 91 |
print(f"Total entries: {len(df)}")
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
|
| 3 |
+
import json
|
| 4 |
from pathlib import Path
|
| 5 |
from gtts import gTTS
|
| 6 |
import pandas as pd
|
|
|
|
| 23 |
return False
|
| 24 |
|
| 25 |
|
| 26 |
+
def process_dataset(jsonl_file="vietnamese_ipa_dataset.jsonl"):
|
| 27 |
create_audio_directory()
|
| 28 |
|
| 29 |
+
# Read JSONL file
|
| 30 |
+
records = []
|
| 31 |
+
with open(jsonl_file, "r", encoding="utf-8") as f:
|
| 32 |
+
for line in f:
|
| 33 |
+
records.append(json.loads(line))
|
| 34 |
+
|
| 35 |
+
df = pd.DataFrame(records)
|
| 36 |
|
| 37 |
total = len(df)
|
| 38 |
success = 0
|
| 39 |
failed = []
|
| 40 |
|
| 41 |
+
print(f"Processing {total} words from {jsonl_file}...")
|
| 42 |
print("-" * 50)
|
| 43 |
|
| 44 |
for idx, row in df.iterrows():
|
| 45 |
word = row["word"]
|
| 46 |
ipa = row["ipa"]
|
| 47 |
+
audio_path = row["audio"]["path"] if isinstance(row["audio"], dict) else row["audio"]
|
| 48 |
|
| 49 |
+
full_path = Path(audio_path)
|
|
|
|
| 50 |
|
| 51 |
print(f"[{idx + 1}/{total}] Generating: {word} [{ipa}]")
|
| 52 |
|
|
|
|
| 66 |
return success, failed
|
| 67 |
|
| 68 |
|
| 69 |
+
def add_new_word(word, ipa, jsonl_file="vietnamese_ipa_dataset.jsonl"):
|
| 70 |
audio_filename = f"audio/{word.replace(' ', '_')}.mp3"
|
| 71 |
|
| 72 |
+
# Create new record
|
| 73 |
+
record = {
|
| 74 |
+
"word": word,
|
| 75 |
+
"ipa": ipa,
|
| 76 |
+
"audio": {
|
| 77 |
+
"path": audio_filename,
|
| 78 |
+
"sampling_rate": 22050
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
# Append to JSONL file
|
| 83 |
+
with open(jsonl_file, "a", encoding="utf-8") as f:
|
| 84 |
+
f.write(json.dumps(record, ensure_ascii=False) + "\n")
|
| 85 |
|
| 86 |
create_audio_directory()
|
| 87 |
if generate_mp3_from_text(word, audio_filename):
|
|
|
|
| 92 |
return False
|
| 93 |
|
| 94 |
|
| 95 |
+
def display_dataset(jsonl_file="vietnamese_ipa_dataset.jsonl"):
|
| 96 |
+
# Read JSONL file
|
| 97 |
+
records = []
|
| 98 |
+
with open(jsonl_file, "r", encoding="utf-8") as f:
|
| 99 |
+
for line in f:
|
| 100 |
+
records.append(json.loads(line))
|
| 101 |
+
|
| 102 |
+
df = pd.DataFrame(records)
|
| 103 |
print("\nVietnamese IPA Dataset:")
|
| 104 |
print("-" * 70)
|
| 105 |
print(f"{'Word':<20} {'IPA':<30} {'Audio File':<20}")
|
| 106 |
print("-" * 70)
|
| 107 |
|
| 108 |
for _, row in df.iterrows():
|
| 109 |
+
audio_path = row["audio"]["path"] if isinstance(row["audio"], dict) else row["audio"]
|
| 110 |
+
print(f"{row['word']:<20} {row['ipa']:<30} {audio_path:<20}")
|
| 111 |
|
| 112 |
print("-" * 70)
|
| 113 |
print(f"Total entries: {len(df)}")
|
vietnamese_ipa_dataset.csv
DELETED
|
@@ -1,51 +0,0 @@
|
|
| 1 |
-
word,ipa,audio_file
|
| 2 |
-
xin chào,sin˧˧ caːw˨˩,audio/xin_chao.mp3
|
| 3 |
-
cảm ơn,kaːm˧˩ ʔəːn˧˧,audio/cam_on.mp3
|
| 4 |
-
Việt Nam,viət˧˩ˀ naːm˧˧,audio/viet_nam.mp3
|
| 5 |
-
nước,nɨək˧˥,audio/nuoc.mp3
|
| 6 |
-
ăn,ăn˧˧,audio/an.mp3
|
| 7 |
-
uống,ʔuəŋ˧˥,audio/uong.mp3
|
| 8 |
-
nhà,ɲaː˨˩,audio/nha.mp3
|
| 9 |
-
trường,ʈɨəŋ˨˩,audio/truong.mp3
|
| 10 |
-
bạn,ɓaːn˧˩ˀ,audio/ban.mp3
|
| 11 |
-
yêu,iəw˧˧,audio/yeu.mp3
|
| 12 |
-
đẹp,ɗɛp˧˩ˀ,audio/dep.mp3
|
| 13 |
-
sách,saːk˧˥,audio/sach.mp3
|
| 14 |
-
hoa,hwaː˧˧,audio/hoa.mp3
|
| 15 |
-
mẹ,mɛ˧˩ˀ,audio/me.mp3
|
| 16 |
-
ba,ɓaː˧˧,audio/ba.mp3
|
| 17 |
-
con,kɔn˧˧,audio/con.mp3
|
| 18 |
-
chó,cɔ˧˥,audio/cho.mp3
|
| 19 |
-
mèo,mɛːw˨˩,audio/meo.mp3
|
| 20 |
-
cây,kəj˧˧,audio/cay.mp3
|
| 21 |
-
lá,laː˧˥,audio/la.mp3
|
| 22 |
-
trời,ʈəːj˨˩,audio/troi.mp3
|
| 23 |
-
mưa,mɨə˧˧,audio/mua.mp3
|
| 24 |
-
gió,zɔ˧˥,audio/gio.mp3
|
| 25 |
-
nắng,năŋ˧˥,audio/nang.mp3
|
| 26 |
-
đường,ɗɨəŋ˨˩,audio/duong.mp3
|
| 27 |
-
phố,fo˧˥,audio/pho.mp3
|
| 28 |
-
làm,laːm˨˩,audio/lam.mp3
|
| 29 |
-
việc,viək˧˩ˀ,audio/viec.mp3
|
| 30 |
-
học,hɔk˧˩ˀ,audio/hoc.mp3
|
| 31 |
-
sinh,siɲ˧˧,audio/sinh.mp3
|
| 32 |
-
thầy,thəj˨˩,audio/thay.mp3
|
| 33 |
-
cô,ko˧˧,audio/co.mp3
|
| 34 |
-
tôi,toj˧˧,audio/toi.mp3
|
| 35 |
-
anh,aːɲ˧˧,audio/anh.mp3
|
| 36 |
-
em,ɛm˧˧,audio/em.mp3
|
| 37 |
-
chị,ci˧˩ˀ,audio/chi.mp3
|
| 38 |
-
ông,ʔoŋ˧˧,audio/ong.mp3
|
| 39 |
-
bà,ɓaː˨˩,audio/ba_tone.mp3
|
| 40 |
-
năm,năm˧˧,audio/nam.mp3
|
| 41 |
-
tháng,thaːŋ˧˥,audio/thang.mp3
|
| 42 |
-
ngày,ŋaːj˨˩,audio/ngay.mp3
|
| 43 |
-
sáng,saːŋ˧˥,audio/sang.mp3
|
| 44 |
-
trưa,ʈɨə˧˧,audio/trua.mp3
|
| 45 |
-
chiều,ciəw˨˩,audio/chieu.mp3
|
| 46 |
-
tối,toj˧˥,audio/toi_tone.mp3
|
| 47 |
-
đêm,ɗem˧˧,audio/dem.mp3
|
| 48 |
-
một,mot˧˩ˀ,audio/mot.mp3
|
| 49 |
-
hai,haːj˧˧,audio/hai.mp3
|
| 50 |
-
ba,ɓaː˧˧,audio/ba_number.mp3
|
| 51 |
-
bốn,ɓon˧˥,audio/bon.mp3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vietnamese_ipa_dataset.jsonl
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"word": "xin chào", "ipa": "sin˧˧ caːw˨˩", "audio": {"path": "audio/xin_chao.mp3", "sampling_rate": 22050}}
|
| 2 |
+
{"word": "cảm ơn", "ipa": "kaːm˧˩ ʔəːn˧˧", "audio": {"path": "audio/cam_on.mp3", "sampling_rate": 22050}}
|
| 3 |
+
{"word": "Việt Nam", "ipa": "viət˧˩ˀ naːm˧˧", "audio": {"path": "audio/viet_nam.mp3", "sampling_rate": 22050}}
|
| 4 |
+
{"word": "nước", "ipa": "nɨək˧˥", "audio": {"path": "audio/nuoc.mp3", "sampling_rate": 22050}}
|
| 5 |
+
{"word": "ăn", "ipa": "ăn˧˧", "audio": {"path": "audio/an.mp3", "sampling_rate": 22050}}
|
| 6 |
+
{"word": "uống", "ipa": "ʔuəŋ˧˥", "audio": {"path": "audio/uong.mp3", "sampling_rate": 22050}}
|
| 7 |
+
{"word": "nhà", "ipa": "ɲaː˨˩", "audio": {"path": "audio/nha.mp3", "sampling_rate": 22050}}
|
| 8 |
+
{"word": "trường", "ipa": "ʈɨəŋ˨˩", "audio": {"path": "audio/truong.mp3", "sampling_rate": 22050}}
|
| 9 |
+
{"word": "bạn", "ipa": "ɓaːn˧˩ˀ", "audio": {"path": "audio/ban.mp3", "sampling_rate": 22050}}
|
| 10 |
+
{"word": "yêu", "ipa": "iəw˧˧", "audio": {"path": "audio/yeu.mp3", "sampling_rate": 22050}}
|
| 11 |
+
{"word": "đẹp", "ipa": "ɗɛp˧˩ˀ", "audio": {"path": "audio/dep.mp3", "sampling_rate": 22050}}
|
| 12 |
+
{"word": "sách", "ipa": "saːk˧˥", "audio": {"path": "audio/sach.mp3", "sampling_rate": 22050}}
|
| 13 |
+
{"word": "hoa", "ipa": "hwaː˧˧", "audio": {"path": "audio/hoa.mp3", "sampling_rate": 22050}}
|
| 14 |
+
{"word": "mẹ", "ipa": "mɛ˧˩ˀ", "audio": {"path": "audio/me.mp3", "sampling_rate": 22050}}
|
| 15 |
+
{"word": "ba", "ipa": "ɓaː˧˧", "audio": {"path": "audio/ba.mp3", "sampling_rate": 22050}}
|
| 16 |
+
{"word": "con", "ipa": "kɔn˧˧", "audio": {"path": "audio/con.mp3", "sampling_rate": 22050}}
|
| 17 |
+
{"word": "chó", "ipa": "cɔ˧˥", "audio": {"path": "audio/cho.mp3", "sampling_rate": 22050}}
|
| 18 |
+
{"word": "mèo", "ipa": "mɛːw˨˩", "audio": {"path": "audio/meo.mp3", "sampling_rate": 22050}}
|
| 19 |
+
{"word": "cây", "ipa": "kəj˧˧", "audio": {"path": "audio/cay.mp3", "sampling_rate": 22050}}
|
| 20 |
+
{"word": "lá", "ipa": "laː˧˥", "audio": {"path": "audio/la.mp3", "sampling_rate": 22050}}
|
| 21 |
+
{"word": "trời", "ipa": "ʈəːj˨˩", "audio": {"path": "audio/troi.mp3", "sampling_rate": 22050}}
|
| 22 |
+
{"word": "mưa", "ipa": "mɨə˧˧", "audio": {"path": "audio/mua.mp3", "sampling_rate": 22050}}
|
| 23 |
+
{"word": "gió", "ipa": "zɔ˧˥", "audio": {"path": "audio/gio.mp3", "sampling_rate": 22050}}
|
| 24 |
+
{"word": "nắng", "ipa": "năŋ˧˥", "audio": {"path": "audio/nang.mp3", "sampling_rate": 22050}}
|
| 25 |
+
{"word": "đường", "ipa": "ɗɨəŋ˨˩", "audio": {"path": "audio/duong.mp3", "sampling_rate": 22050}}
|
| 26 |
+
{"word": "phố", "ipa": "fo˧˥", "audio": {"path": "audio/pho.mp3", "sampling_rate": 22050}}
|
| 27 |
+
{"word": "làm", "ipa": "laːm˨˩", "audio": {"path": "audio/lam.mp3", "sampling_rate": 22050}}
|
| 28 |
+
{"word": "việc", "ipa": "viək˧˩ˀ", "audio": {"path": "audio/viec.mp3", "sampling_rate": 22050}}
|
| 29 |
+
{"word": "học", "ipa": "hɔk˧˩ˀ", "audio": {"path": "audio/hoc.mp3", "sampling_rate": 22050}}
|
| 30 |
+
{"word": "sinh", "ipa": "siɲ˧˧", "audio": {"path": "audio/sinh.mp3", "sampling_rate": 22050}}
|
| 31 |
+
{"word": "thầy", "ipa": "thəj˨˩", "audio": {"path": "audio/thay.mp3", "sampling_rate": 22050}}
|
| 32 |
+
{"word": "cô", "ipa": "ko˧˧", "audio": {"path": "audio/co.mp3", "sampling_rate": 22050}}
|
| 33 |
+
{"word": "tôi", "ipa": "toj˧˧", "audio": {"path": "audio/toi.mp3", "sampling_rate": 22050}}
|
| 34 |
+
{"word": "anh", "ipa": "aːɲ˧˧", "audio": {"path": "audio/anh.mp3", "sampling_rate": 22050}}
|
| 35 |
+
{"word": "em", "ipa": "ɛm˧˧", "audio": {"path": "audio/em.mp3", "sampling_rate": 22050}}
|
| 36 |
+
{"word": "chị", "ipa": "ci˧˩ˀ", "audio": {"path": "audio/chi.mp3", "sampling_rate": 22050}}
|
| 37 |
+
{"word": "ông", "ipa": "ʔoŋ˧˧", "audio": {"path": "audio/ong.mp3", "sampling_rate": 22050}}
|
| 38 |
+
{"word": "bà", "ipa": "ɓaː˨˩", "audio": {"path": "audio/ba_tone.mp3", "sampling_rate": 22050}}
|
| 39 |
+
{"word": "năm", "ipa": "năm˧˧", "audio": {"path": "audio/nam.mp3", "sampling_rate": 22050}}
|
| 40 |
+
{"word": "tháng", "ipa": "thaːŋ˧˥", "audio": {"path": "audio/thang.mp3", "sampling_rate": 22050}}
|
| 41 |
+
{"word": "ngày", "ipa": "ŋaːj˨˩", "audio": {"path": "audio/ngay.mp3", "sampling_rate": 22050}}
|
| 42 |
+
{"word": "sáng", "ipa": "saːŋ˧˥", "audio": {"path": "audio/sang.mp3", "sampling_rate": 22050}}
|
| 43 |
+
{"word": "trưa", "ipa": "ʈɨə˧˧", "audio": {"path": "audio/trua.mp3", "sampling_rate": 22050}}
|
| 44 |
+
{"word": "chiều", "ipa": "ciəw˨˩", "audio": {"path": "audio/chieu.mp3", "sampling_rate": 22050}}
|
| 45 |
+
{"word": "tối", "ipa": "toj˧˥", "audio": {"path": "audio/toi_tone.mp3", "sampling_rate": 22050}}
|
| 46 |
+
{"word": "đêm", "ipa": "ɗem˧˧", "audio": {"path": "audio/dem.mp3", "sampling_rate": 22050}}
|
| 47 |
+
{"word": "một", "ipa": "mot˧˩ˀ", "audio": {"path": "audio/mot.mp3", "sampling_rate": 22050}}
|
| 48 |
+
{"word": "hai", "ipa": "haːj˧˧", "audio": {"path": "audio/hai.mp3", "sampling_rate": 22050}}
|
| 49 |
+
{"word": "ba", "ipa": "ɓaː˧˧", "audio": {"path": "audio/ba_number.mp3", "sampling_rate": 22050}}
|
| 50 |
+
{"word": "bốn", "ipa": "ɓon˧˥", "audio": {"path": "audio/bon.mp3", "sampling_rate": 22050}}
|