Commit f5c00aed authored by Pierre-Alexandre Broux's avatar Pierre-Alexandre Broux
Browse files

Updated read_stm from diar.py

parent b0835fe2
......@@ -849,10 +849,10 @@ class Diar():
loc = str2str_normalize(loc)
start = int(float(split[3])*100)
stop = int(float(split[4])*100)
addon = split[5].replace(">", "").replace("<", "").replace(","," ")
addon = split[5].replace(">", "").replace("<", "")
lineBis = re.sub('\s+',' ',addon)
lineBis = lineBis.strip()
gender = lineBis.split()[2]
gender = lineBis.split(",")[2]
if normalize_cluster:
word = str2str_normalize(word)
# print(show, tmp, start, length, gender, channel, env, speaker)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment