You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
def preprocess_transcript_aishell3(dict_info, dict_transcript):
|
|
for v in dict_transcript:
|
|
if not v:
|
|
continue
|
|
v = v.strip().replace("\n","").replace("\t"," ").split(" ")
|
|
transList = []
|
|
for i in range(2, len(v), 2):
|
|
transList.append(v[i])
|
|
dict_info[v[0]] = " ".join(transList) |