hecko
08/03/2022, 3:08 PMhecko
08/03/2022, 3:08 PMhecko
08/03/2022, 3:09 PMCouch
08/03/2022, 3:09 PMhecko
08/03/2022, 3:10 PMThe Wiggles and High School D×D
08/03/2022, 3:48 PMThe Wiggles and High School D×D
08/03/2022, 3:49 PMThe Wiggles and High School D×D
08/03/2022, 3:49 PMThe Wiggles and High School D×D
08/03/2022, 4:19 PMThe Wiggles and High School D×D
08/03/2022, 4:19 PMThe Wiggles and High School D×D
08/03/2022, 4:19 PMhecko
08/03/2022, 4:26 PMhecko
08/03/2022, 4:26 PMhecko
08/03/2022, 4:26 PMThe Wiggles and High School D×D
08/03/2022, 4:32 PMThe Wiggles and High School D×D
08/03/2022, 4:35 PM{K EY1} (Kei)
08/03/2022, 5:14 PM{K EY1} (Kei)
08/03/2022, 5:14 PMThe Wiggles and High School D×D
08/03/2022, 5:15 PM{K EY1} (Kei)
08/03/2022, 5:15 PMThe Wiggles and High School D×D
08/03/2022, 5:15 PM{K EY1} (Kei)
08/03/2022, 5:15 PMThe Wiggles and High School D×D
08/03/2022, 5:19 PMThe Wiggles and High School D×D
08/03/2022, 5:19 PMpath = "/content/project/transcription.txt"
!pip install pyopenjtalk
from pyopenjtalk import kana
with open(path) as f:
text = f.read()
with open(path, "w") as f:
f.write(unidecode(text))hecko
08/03/2022, 5:20 PMhecko
08/03/2022, 5:20 PMhecko
08/03/2022, 5:23 PMpy
path = "/content/project/transcription.txt"
!pip install pyopenjtalk
from pyopenjtalk import g2p
with open(path) as f:
text = f.read().splitlines()
text = [i.split("|") for i in text]
text = [[i[0], g2p(i[1, kana = True]), i[2]] for i in text]
with open(path, "w") as f:
f.write("\n".join(["|".join(i) for i in text]))The Wiggles and High School D×D
08/03/2022, 5:32 PMCouch
08/03/2022, 5:36 PMg2p(i[1], kana = True) not g2p(i[1, kana = True])hecko
08/03/2022, 5:37 PM