def readctm(filename):
    lines = []
    with open(filename) as inf:
        for line in inf.readlines():
            lines.append(line.strip().split(" "))
    return lines
def strctm(text):
    return [line.strip().split(" ") for line in text.split("\n") if line != ""]
def normword(word):
    if word.endswith("..."):
        word = word[0:-3]
    if word[-1:] in ".,?!-:;":
        word = word[0:-1]
    return word.lower()
def push_back_ins(ctm_lines, start, end, offset):
    pre = []
    post = []
    buf = []

    for line in ctm_lines:
        if float(line[2]) < start:
            pre.append(line)
        elif float(line[2]) <= end:
            buf.append(line)
        else:
            post.append(line)

    i = 0
    while i < (len(buf) - offset):
        print(buf[i], buf[i+offset])
        replace = buf[i+offset][6]
        replacenorm = normword(replace)
        buf[i][4] = replacenorm
        buf[i][6] = replace
        buf[i][7] = "cor"
        i += 1
    while i < len(buf):
        buf[i][6] = "-"
        buf[i][7] = "-"
        i += 1
        
    return pre + buf + post
def merge_left(ctmlines, replacement = None):
    outword = ctmlines[-1][6]
    if replacement is not None:
        outword = replacement
    out = ctmlines[0][0:3]
    out += [ctmlines[-1][3], normword(outword), "1.0", outword, "cor"]
    return out
ctmlines = readctm("/tmp/ctmedit/hsi_1_0515_209_001_inter.txt")
def printctm(toprint):
    for ll in toprint:
        print(" ".join(ll))
def as_csv(c):
    print(f"{c[2]}\t{c[3]}\t{c[6]}")
from pathlib import Path

CTMDIR = Path("/Users/joregan/Playing/hsi_ctmedit")

for ctmfile in CTMDIR.glob("*.txt"):
    ctmlines = readctm(str(ctmfile))
    outlines = []
    for ctmline in ctmlines:
        if len(ctmline) < 7:
            outlines.append(ctmline)
            continue
        if ctmline[7] != "sub":
            outlines.append(ctmline)
        else:
            if ctmline[4] == normword(ctmline[6]):
                ctmline[7] = "cor"
            outlines.append(ctmline)
    with open(str(ctmfile), "w") as outf:
        for line in outlines:
            outf.write(" ".join(line) + "\n")

80008 cor 22110 sub 11758 ins 7578 del

from pathlib import Path

CTMDIR = Path("/Users/joregan/Playing/hsi_ctmedit")

for ctmfile in CTMDIR.glob("*.txt"):
    ctmlines = readctm(str(ctmfile))
    outlines = []
    for ctmline in ctmlines:
        if len(ctmline) < 7:
            outlines.append(ctmline)
            continue
        if ctmline[7] != "ins":
            outlines.append(ctmline)
        else:
            if ctmline[4] in ["ah", "eh", "oh", "mhm", "m", "um"]:
                ctmline[7] = "cor"
                ctmline[6] = f"[{ctmline[4]}]"
            outlines.append(ctmline)
    with open(str(ctmfile), "w") as outf:
        for line in outlines:
            outf.write(" ".join(line) + "\n")
import json
from pathlib import Path
def json_ctm(filename, edit = False):
    with open(filename) as inf:
        data = json.load(inf)
        fileid = Path(filename).stem.replace(".w2v", "")
        for chunk in data['chunks']:
            start = chunk['timestamp'][0]
            end = chunk['timestamp'][1]
            word = chunk['text'].lower()
            if edit:
                edit = f" {word} cor"
            else:
                edit = ""
            print(f"{fileid} 1 {start} {end} {word} 1.0{edit}")
json_ctm('/Users/joregan/Playing/hsi/audio/wav2vec/hsi_7_0719_222_003_main.w2v.json')
def json_ctm_path(fid, ctmedit=True):
    return json_ctm(f"/Users/joregan/Playing/hsi/audio/wav2vec/{fid}.w2v.json", ctmedit)
json_ctm_path("hsi_5_0718_209_002_inter", True)
hsi_5_0718_209_002_inter 1 1.04 1.18 but 1.0 but cor
hsi_5_0718_209_002_inter 1 1.42 1.44 a 1.0 a cor
hsi_5_0718_209_002_inter 1 1.58 1.66 ye 1.0 ye cor
hsi_5_0718_209_002_inter 1 1.78 1.8 i 1.0 i cor
hsi_5_0718_209_002_inter 1 1.86 1.98 think 1.0 think cor
hsi_5_0718_209_002_inter 1 2.04 2.1 the 1.0 the cor
hsi_5_0718_209_002_inter 1 2.14 2.32 next 1.0 next cor
hsi_5_0718_209_002_inter 1 2.42 2.5 one 1.0 one cor
hsi_5_0718_209_002_inter 1 2.56 2.72 would 1.0 would cor
hsi_5_0718_209_002_inter 1 2.78 2.94 be 1.0 be cor
hsi_5_0718_209_002_inter 1 3.72 3.9 maybe 1.0 maybe cor
hsi_5_0718_209_002_inter 1 3.94 4.0 you 1.0 you cor
hsi_5_0718_209_002_inter 1 4.04 4.14 can 1.0 can cor
hsi_5_0718_209_002_inter 1 4.2 4.34 put 1.0 put cor
hsi_5_0718_209_002_inter 1 4.42 4.46 in 1.0 in cor
hsi_5_0718_209_002_inter 1 4.58 4.6 a 1.0 a cor
hsi_5_0718_209_002_inter 1 4.76 5.26 teapos 1.0 teapos cor
hsi_5_0718_209_002_inter 1 6.54 6.76 now 1.0 now cor
hsi_5_0718_209_002_inter 1 7.88 8.12 that's 1.0 that's cor
hsi_5_0718_209_002_inter 1 8.26 8.58 yother's 1.0 yother's cor
hsi_5_0718_209_002_inter 1 8.62 8.78 good 1.0 good cor
hsi_5_0718_209_002_inter 1 8.86 9.06 thank 1.0 thank cor
hsi_5_0718_209_002_inter 1 9.24 9.44 you 1.0 you cor
hsi_5_0718_209_002_inter 1 9.72 9.84 and 1.0 and cor
hsi_5_0718_209_002_inter 1 10.28 10.3 i 1.0 i cor
hsi_5_0718_209_002_inter 1 10.38 10.56 will 1.0 will cor
hsi_5_0718_209_002_inter 1 11.08 11.28 come 1.0 come cor
hsi_5_0718_209_002_inter 1 11.36 11.5 back 1.0 back cor
hsi_5_0718_209_002_inter 1 11.58 11.68 to 1.0 to cor
hsi_5_0718_209_002_inter 1 11.74 11.92 the 1.0 the cor
hsi_5_0718_209_002_inter 1 12.08 12.24 room 1.0 room cor
hsi_5_0718_209_002_inter 1 12.36 12.42 and 1.0 and cor
hsi_5_0718_209_002_inter 1 12.46 12.56 then 1.0 then cor
hsi_5_0718_209_002_inter 1 12.6 12.66 we 1.0 we cor
hsi_5_0718_209_002_inter 1 12.72 12.82 can 1.0 can cor
hsi_5_0718_209_002_inter 1 12.88 12.94 do 1.0 do cor
hsi_5_0718_209_002_inter 1 13.0 13.02 a 1.0 a cor
hsi_5_0718_209_002_inter 1 13.08 13.5 landlord 1.0 landlord cor
hsi_5_0718_209_002_inter 1 13.66 13.76 so 1.0 so cor
hsi_5_0718_209_002_inter 1 13.88 13.92 in 1.0 in cor
hsi_5_0718_209_002_inter 1 13.96 14.1 this 1.0 this cor
hsi_5_0718_209_002_inter 1 14.32 14.4 one 1.0 one cor
hsi_5_0718_209_002_inter 1 15.36 15.42 it 1.0 it cor
hsi_5_0718_209_002_inter 1 15.48 15.58 can 1.0 can cor
hsi_5_0718_209_002_inter 1 15.66 15.74 be 1.0 be cor
hsi_5_0718_209_002_inter 1 15.8 15.98 that 1.0 that cor
hsi_5_0718_209_002_inter 1 16.36 16.44 er 1.0 er cor
hsi_5_0718_209_002_inter 1 20.14 20.36 aha 1.0 aha cor
hsi_5_0718_209_002_inter 1 20.74 20.96 like 1.0 like cor
hsi_5_0718_209_002_inter 1 21.18 21.2 e 1.0 e cor
hsi_5_0718_209_002_inter 1 21.36 21.46 na 1.0 na cor
hsi_5_0718_209_002_inter 1 21.66 21.72 you 1.0 you cor
hsi_5_0718_209_002_inter 1 21.84 21.94 ive 1.0 ive cor
hsi_5_0718_209_002_inter 1 21.96 22.02 you 1.0 you cor
hsi_5_0718_209_002_inter 1 22.04 22.12 have 1.0 have cor
hsi_5_0718_209_002_inter 1 22.16 22.36 runted 1.0 runted cor
hsi_5_0718_209_002_inter 1 22.4 22.46 it 1.0 it cor
hsi_5_0718_209_002_inter 1 22.6 22.72 out 1.0 out cor
hsi_5_0718_209_002_inter 1 22.8 22.88 and 1.0 and cor
hsi_5_0718_209_002_inter 1 22.92 22.98 you 1.0 you cor
hsi_5_0718_209_002_inter 1 23.04 23.12 can 1.0 can cor
hsi_5_0718_209_002_inter 1 23.2 23.38 make 1.0 make cor
hsi_5_0718_209_002_inter 1 23.58 23.84 maybe 1.0 maybe cor
hsi_5_0718_209_002_inter 1 24.08 24.24 make 1.0 make cor
hsi_5_0718_209_002_inter 1 24.3 24.56 some 1.0 some cor
hsi_5_0718_209_002_inter 1 25.18 25.26 em 1.0 em cor
hsi_5_0718_209_002_inter 1 27.04 28.78 aye 1.0 aye cor
hsi_5_0718_209_002_inter 1 28.94 28.96 i 1.0 i cor
hsi_5_0718_209_002_inter 1 29.04 29.14 have 1.0 have cor
hsi_5_0718_209_002_inter 1 29.18 29.28 some 1.0 some cor
hsi_5_0718_209_002_inter 1 29.32 29.66 problems 1.0 problems cor
hsi_5_0718_209_002_inter 1 29.72 30.0 maybe 1.0 maybe cor
hsi_5_0718_209_002_inter 1 30.1 30.16 or 1.0 or cor
hsi_5_0718_209_002_inter 1 30.32 30.54 asking 1.0 asking cor
hsi_5_0718_209_002_inter 1 30.58 31.0 aabout 1.0 aabout cor
hsi_5_0718_209_002_inter 1 31.06 31.44 objects 1.0 objects cor
hsi_5_0718_209_002_inter 1 31.52 31.6 and 1.0 and cor
hsi_5_0718_209_002_inter 1 31.74 31.82 the 1.0 the cor
hsi_5_0718_209_002_inter 1 31.88 32.32 situation 1.0 situation cor
hsi_5_0718_209_002_inter 1 32.42 32.52 is 1.0 is cor
hsi_5_0718_209_002_inter 1 32.56 32.7 like 1.0 like cor
hsi_5_0718_209_002_inter 1 32.74 32.94 maybe 1.0 maybe cor
hsi_5_0718_209_002_inter 1 32.98 33.06 you 1.0 you cor
hsi_5_0718_209_002_inter 1 34.38 34.46 now 1.0 now cor
hsi_5_0718_209_002_inter 1 34.54 34.58 ow 1.0 ow cor
hsi_5_0718_209_002_inter 1 34.64 34.7 you 1.0 you cor
hsi_5_0718_209_002_inter 1 34.88 34.98 i'm 1.0 i'm cor
hsi_5_0718_209_002_inter 1 35.14 35.24 i'm 1.0 i'm cor
hsi_5_0718_209_002_inter 1 35.28 35.4 just 1.0 just cor
hsi_5_0718_209_002_inter 1 35.44 35.66 moving 1.0 moving cor
hsi_5_0718_209_002_inter 1 35.76 35.88 out 1.0 out cor
hsi_5_0718_209_002_inter 1 36.02 36.12 and 1.0 and cor
hsi_5_0718_209_002_inter 1 36.52 36.6 you 1.0 you cor
hsi_5_0718_209_002_inter 1 36.64 36.86 maybe 1.0 maybe cor
hsi_5_0718_209_002_inter 1 36.96 37.04 you 1.0 you cor
hsi_5_0718_209_002_inter 1 37.06 37.14 are 1.0 are cor
hsi_5_0718_209_002_inter 1 37.16 37.22 the 1.0 the cor
hsi_5_0718_209_002_inter 1 37.26 37.62 landlord 1.0 landlord cor
hsi_5_0718_209_002_inter 1 38.18 38.26 and 1.0 and cor
hsi_5_0718_209_002_inter 1 38.28 38.38 then 1.0 then cor
hsi_5_0718_209_002_inter 1 38.42 38.5 you 1.0 you cor
hsi_5_0718_209_002_inter 1 38.54 38.62 are 1.0 are cor
hsi_5_0718_209_002_inter 1 38.66 38.78 just 1.0 just cor
hsi_5_0718_209_002_inter 1 38.86 39.22 inquiring 1.0 inquiring cor
hsi_5_0718_209_002_inter 1 39.26 39.48 about 1.0 about cor
hsi_5_0718_209_002_inter 1 39.6 39.8 stuff 1.0 stuff cor
hsi_5_0718_209_002_inter 1 40.86 40.88 o 1.0 o cor
hsi_5_0718_209_002_inter 1 40.96 41.04 ka 1.0 ka cor
hsi_5_0718_209_002_inter 1 41.14 41.26 but 1.0 but cor
hsi_5_0718_209_002_inter 1 41.52 41.54 e 1.0 e cor
hsi_5_0718_209_002_inter 1 41.62 41.68 we 1.0 we cor
hsi_5_0718_209_002_inter 1 41.74 41.94 can 1.0 can cor
hsi_5_0718_209_002_inter 1 42.22 42.38 like 1.0 like cor
hsi_5_0718_209_002_inter 1 42.52 42.72 start 1.0 start cor
hsi_5_0718_209_002_inter 1 42.98 43.0 i 1.0 i cor
hsi_5_0718_209_002_inter 1 44.78 44.96 on 1.0 on cor
hsi_5_0718_209_002_inter 1 45.2 48.9 seleliisi 1.0 seleliisi cor
hsi_5_0718_209_002_inter 1 49.44 49.72 mumped 1.0 mumped cor
hsi_5_0718_209_002_inter 1 49.82 49.98 over 1.0 over cor
hsi_5_0718_209_002_inter 1 50.04 50.48 bemeis 1.0 bemeis cor
hsi_5_0718_209_002_inter 1 50.54 56.32 fataazavanaasaasonanks 1.0 fataazavanaasaasonanks cor
hsi_5_0718_209_002_inter 1 56.56 59.7 antenothinan 1.0 antenothinan cor
hsi_5_0718_209_002_inter 1 59.78 59.88 the 1.0 the cor
hsi_5_0718_209_002_inter 1 60.02 60.76 noonwenin 1.0 noonwenin cor
hsi_5_0718_209_002_inter 1 62.08 62.1 o 1.0 o cor
hsi_5_0718_209_002_inter 1 65.24 65.32 no 1.0 no cor
hsi_5_0718_209_002_inter 1 65.42 65.44 i 1.0 i cor
hsi_5_0718_209_002_inter 1 65.48 65.58 know 1.0 know cor
hsi_5_0718_209_002_inter 1 65.62 65.72 that 1.0 that cor
hsi_5_0718_209_002_inter 1 65.76 65.78 i 1.0 i cor
hsi_5_0718_209_002_inter 1 65.84 65.94 can 1.0 can cor
hsi_5_0718_209_002_inter 1 66.0 66.36 remember 1.0 remember cor
hsi_5_0718_209_002_inter 1 66.54 66.6 no 1.0 no cor
hsi_5_0718_209_002_inter 1 71.08 71.24 rich 1.0 rich cor
hsi_5_0718_209_002_inter 1 71.3 71.6 lebot 1.0 lebot cor
hsi_5_0718_209_002_inter 1 72.72 72.82 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 75.3 75.32 a 1.0 a cor
hsi_5_0718_209_002_inter 1 75.42 75.44 m 1.0 m cor
hsi_5_0718_209_002_inter 1 78.28 78.3 a 1.0 a cor
hsi_5_0718_209_002_inter 1 80.66 80.76 bo 1.0 bo cor
hsi_5_0718_209_002_inter 1 80.96 81.1 so 1.0 so cor
hsi_5_0718_209_002_inter 1 81.38 83.18 oatsi 1.0 oatsi cor
hsi_5_0718_209_002_inter 1 83.8 83.98 mi 1.0 mi cor
hsi_5_0718_209_002_inter 1 87.82 88.0 am 1.0 am cor
hsi_5_0718_209_002_inter 1 89.2 89.28 you 1.0 you cor
hsi_5_0718_209_002_inter 1 89.48 89.82 actually 1.0 actually cor
hsi_5_0718_209_002_inter 1 89.9 89.92 i 1.0 i cor
hsi_5_0718_209_002_inter 1 90.02 90.5 misplaced 1.0 misplaced cor
hsi_5_0718_209_002_inter 1 90.54 90.62 the 1.0 the cor
hsi_5_0718_209_002_inter 1 90.7 91.22 statues 1.0 statues cor
hsi_5_0718_209_002_inter 1 92.7 92.78 so 1.0 so cor
hsi_5_0718_209_002_inter 1 92.84 92.92 you 1.0 you cor
hsi_5_0718_209_002_inter 1 92.96 93.06 have 1.0 have cor
hsi_5_0718_209_002_inter 1 93.12 93.14 i 1.0 i cor
hsi_5_0718_209_002_inter 1 93.18 93.3 had 1.0 had cor
hsi_5_0718_209_002_inter 1 93.38 93.58 some 1.0 some cor
hsi_5_0718_209_002_inter 1 93.68 93.84 like 1.0 like cor
hsi_5_0718_209_002_inter 1 93.88 93.9 i 1.0 i cor
hsi_5_0718_209_002_inter 1 93.96 94.18 didn't 1.0 didn't cor
hsi_5_0718_209_002_inter 1 94.22 94.48 rely 1.0 rely cor
hsi_5_0718_209_002_inter 1 94.58 94.7 them 1.0 them cor
hsi_5_0718_209_002_inter 1 94.82 94.9 so 1.0 so cor
hsi_5_0718_209_002_inter 1 95.04 95.06 i 1.0 i cor
hsi_5_0718_209_002_inter 1 95.34 95.5 took 1.0 took cor
hsi_5_0718_209_002_inter 1 95.62 95.8 them 1.0 them cor
hsi_5_0718_209_002_inter 1 96.58 96.84 away 1.0 away cor
hsi_5_0718_209_002_inter 1 96.94 97.04 and 1.0 and cor
hsi_5_0718_209_002_inter 1 97.16 97.18 i 1.0 i cor
hsi_5_0718_209_002_inter 1 97.3 97.44 put 1.0 put cor
hsi_5_0718_209_002_inter 1 97.54 97.68 them 1.0 them cor
hsi_5_0718_209_002_inter 1 97.76 97.9 back 1.0 back cor
hsi_5_0718_209_002_inter 1 97.96 98.0 do 1.0 do cor
hsi_5_0718_209_002_inter 1 98.06 98.12 you 1.0 you cor
hsi_5_0718_209_002_inter 1 98.16 98.28 think 1.0 think cor
hsi_5_0718_209_002_inter 1 98.34 98.42 they 1.0 they cor
hsi_5_0718_209_002_inter 1 98.48 98.54 are 1.0 are cor
hsi_5_0718_209_002_inter 1 98.58 98.66 the 1.0 the cor
hsi_5_0718_209_002_inter 1 98.68 98.82 right 1.0 right cor
hsi_5_0718_209_002_inter 1 98.88 99.12 place 1.0 place cor
hsi_5_0718_209_002_inter 1 99.88 100.08 your 1.0 your cor
hsi_5_0718_209_002_inter 1 100.38 100.7 items 1.0 items cor
hsi_5_0718_209_002_inter 1 102.84 102.94 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 108.22 108.42 bu 1.0 bu cor
hsi_5_0718_209_002_inter 1 113.92 113.94 a 1.0 a cor
hsi_5_0718_209_002_inter 1 113.98 114.42 richbont 1.0 richbont cor
hsi_5_0718_209_002_inter 1 116.78 116.8 a 1.0 a cor
hsi_5_0718_209_002_inter 1 116.94 117.14 oke 1.0 oke cor
hsi_5_0718_209_002_inter 1 118.44 118.46 a 1.0 a cor
hsi_5_0718_209_002_inter 1 128.2 128.28 are 1.0 are cor
hsi_5_0718_209_002_inter 1 128.32 128.38 you 1.0 you cor
hsi_5_0718_209_002_inter 1 128.4 128.56 happy 1.0 happy cor
hsi_5_0718_209_002_inter 1 128.6 128.72 with 1.0 with cor
hsi_5_0718_209_002_inter 1 128.74 128.8 the 1.0 the cor
hsi_5_0718_209_002_inter 1 128.86 129.02 chair 1.0 chair cor
hsi_5_0718_209_002_inter 1 129.1 129.32 place 1.0 place cor
hsi_5_0718_209_002_inter 1 129.38 129.6 mant 1.0 mant cor
hsi_5_0718_209_002_inter 1 133.66 133.74 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 133.88 134.02 ya 1.0 ya cor
hsi_5_0718_209_002_inter 1 134.3 134.42 id 1.0 id cor
hsi_5_0718_209_002_inter 1 134.5 134.66 also 1.0 also cor
hsi_5_0718_209_002_inter 1 134.7 134.88 moed 1.0 moed cor
hsi_5_0718_209_002_inter 1 134.92 134.98 at 1.0 at cor
hsi_5_0718_209_002_inter 1 135.04 135.06 a 1.0 a cor
hsi_5_0718_209_002_inter 1 135.1 135.24 bit 1.0 bit cor
hsi_5_0718_209_002_inter 1 137.4 137.92 bate 1.0 bate cor
hsi_5_0718_209_002_inter 1 138.32 138.44 es 1.0 es cor
hsi_5_0718_209_002_inter 1 138.5 138.76 nothing 1.0 nothing cor
hsi_5_0718_209_002_inter 1 142.7 143.04 hered 1.0 hered cor
hsi_5_0718_209_002_inter 1 143.68 144.04 evrmone 1.0 evrmone cor
hsi_5_0718_209_002_inter 1 144.1 144.2 ha 1.0 ha cor
hsi_5_0718_209_002_inter 1 144.42 144.72 tere 1.0 tere cor
hsi_5_0718_209_002_inter 1 145.28 145.3 e 1.0 e cor
hsi_5_0718_209_002_inter 1 146.44 155.3 oowi 1.0 oowi cor
hsi_5_0718_209_002_inter 1 155.38 155.64 actually 1.0 actually cor
hsi_5_0718_209_002_inter 1 155.7 155.76 is 1.0 is cor
hsi_5_0718_209_002_inter 1 155.78 156.08 wondering 1.0 wondering cor
hsi_5_0718_209_002_inter 1 156.12 156.3 about 1.0 about cor
hsi_5_0718_209_002_inter 1 156.4 156.46 the 1.0 the cor
hsi_5_0718_209_002_inter 1 156.52 156.8 pillow 1.0 pillow cor
hsi_5_0718_209_002_inter 1 158.76 158.84 the 1.0 the cor
hsi_5_0718_209_002_inter 1 158.88 159.12 pillow 1.0 pillow cor
hsi_5_0718_209_002_inter 1 160.36 160.52 like 1.0 like cor
hsi_5_0718_209_002_inter 1 160.78 160.94 where 1.0 where cor
hsi_5_0718_209_002_inter 1 160.96 161.06 did 1.0 did cor
hsi_5_0718_209_002_inter 1 161.12 161.2 you 1.0 you cor
hsi_5_0718_209_002_inter 1 161.28 161.42 py 1.0 py cor
hsi_5_0718_209_002_inter 1 161.54 161.68 that 1.0 that cor
hsi_5_0718_209_002_inter 1 162.02 162.16 the 1.0 the cor
hsi_5_0718_209_002_inter 1 165.22 165.32 it's 1.0 it's cor
hsi_5_0718_209_002_inter 1 165.36 165.4 on 1.0 on cor
hsi_5_0718_209_002_inter 1 165.44 165.5 the 1.0 the cor
hsi_5_0718_209_002_inter 1 165.54 165.82 couch 1.0 couch cor
hsi_5_0718_209_002_inter 1 168.22 168.3 the 1.0 the cor
hsi_5_0718_209_002_inter 1 168.4 168.46 one 1.0 one cor
hsi_5_0718_209_002_inter 1 168.5 168.54 on 1.0 on cor
hsi_5_0718_209_002_inter 1 168.58 168.64 the 1.0 the cor
hsi_5_0718_209_002_inter 1 168.7 168.98 couch 1.0 couch cor
hsi_5_0718_209_002_inter 1 169.62 169.82 yea 1.0 yea cor
hsi_5_0718_209_002_inter 1 170.12 170.2 so 1.0 so cor
hsi_5_0718_209_002_inter 1 170.26 170.5 iyou 1.0 iyou cor
hsi_5_0718_209_002_inter 1 170.56 170.7 like 1.0 like cor
hsi_5_0718_209_002_inter 1 170.72 170.84 that 1.0 that cor
hsi_5_0718_209_002_inter 1 170.92 170.94 i 1.0 i cor
hsi_5_0718_209_002_inter 1 171.02 171.14 want 1.0 want cor
hsi_5_0718_209_002_inter 1 171.18 171.24 to 1.0 to cor
hsi_5_0718_209_002_inter 1 171.28 171.44 buy 1.0 buy cor
hsi_5_0718_209_002_inter 1 171.54 171.56 o 1.0 o cor
hsi_5_0718_209_002_inter 1 171.62 171.68 no 1.0 no cor
hsi_5_0718_209_002_inter 1 171.84 171.86 y 1.0 y cor
hsi_5_0718_209_002_inter 1 172.02 172.14 one 1.0 one cor
hsi_5_0718_209_002_inter 1 172.24 172.32 do 1.0 do cor
hsi_5_0718_209_002_inter 1 172.38 172.44 you 1.0 you cor
hsi_5_0718_209_002_inter 1 172.48 172.58 know 1.0 know cor
hsi_5_0718_209_002_inter 1 172.68 172.74 did 1.0 did cor
hsi_5_0718_209_002_inter 1 172.8 172.86 you 1.0 you cor
hsi_5_0718_209_002_inter 1 172.88 173.04 rmember 1.0 rmember cor
hsi_5_0718_209_002_inter 1 173.06 173.14 we 1.0 we cor
hsi_5_0718_209_002_inter 1 173.34 173.48 where 1.0 where cor
hsi_5_0718_209_002_inter 1 173.5 173.56 you 1.0 you cor
hsi_5_0718_209_002_inter 1 173.62 173.92 purchase 1.0 purchase cor
hsi_5_0718_209_002_inter 1 173.98 174.08 that 1.0 that cor
hsi_5_0718_209_002_inter 1 174.24 174.3 one 1.0 one cor
hsi_5_0718_209_002_inter 1 177.66 177.84 ihop 1.0 ihop cor
hsi_5_0718_209_002_inter 1 177.9 178.02 that 1.0 that cor
hsi_5_0718_209_002_inter 1 178.08 178.2 will 1.0 will cor
hsi_5_0718_209_002_inter 1 178.22 178.28 be 1.0 be cor
hsi_5_0718_209_002_inter 1 178.34 178.4 ni 1.0 ni cor
hsi_5_0718_209_002_inter 1 182.96 183.3 soth 1.0 soth cor
hsi_5_0718_209_002_inter 1 191.32 191.34 i 1.0 i cor
hsi_5_0718_209_002_inter 1 191.4 191.48 was 1.0 was cor
hsi_5_0718_209_002_inter 1 191.52 191.66 alsa 1.0 alsa cor
hsi_5_0718_209_002_inter 1 191.7 191.98 wondering 1.0 wondering cor
hsi_5_0718_209_002_inter 1 192.04 192.08 if 1.0 if cor
hsi_5_0718_209_002_inter 1 192.18 192.2 i 1.0 i cor
hsi_5_0718_209_002_inter 1 192.3 192.42 can 1.0 can cor
hsi_5_0718_209_002_inter 1 192.54 192.7 take 1.0 take cor
hsi_5_0718_209_002_inter 1 192.78 192.98 the 1.0 the cor
hsi_5_0718_209_002_inter 1 193.6 193.78 the 1.0 the cor
hsi_5_0718_209_002_inter 1 194.22 194.42 bin 1.0 bin cor
hsi_5_0718_209_002_inter 1 194.62 194.7 the 1.0 the cor
hsi_5_0718_209_002_inter 1 194.74 195.0 rubbish 1.0 rubbish cor
hsi_5_0718_209_002_inter 1 195.06 195.26 pin 1.0 pin cor
hsi_5_0718_209_002_inter 1 195.38 195.5 wit 1.0 wit cor
hsi_5_0718_209_002_inter 1 195.6 195.7 me 1.0 me cor
hsi_5_0718_209_002_inter 1 196.16 196.42 because 1.0 because cor
hsi_5_0718_209_002_inter 1 196.52 196.54 i 1.0 i cor
hsi_5_0718_209_002_inter 1 196.78 196.8 i 1.0 i cor
hsi_5_0718_209_002_inter 1 196.88 197.06 think 1.0 think cor
hsi_5_0718_209_002_inter 1 197.2 197.22 i 1.0 i cor
hsi_5_0718_209_002_inter 1 197.82 197.96 im 1.0 im cor
hsi_5_0718_209_002_inter 1 198.66 198.68 i 1.0 i cor
hsi_5_0718_209_002_inter 1 198.74 198.88 think 1.0 think cor
hsi_5_0718_209_002_inter 1 198.94 198.96 i 1.0 i cor
hsi_5_0718_209_002_inter 1 199.04 199.24 bought 1.0 bought cor
hsi_5_0718_209_002_inter 1 199.28 199.42 that 1.0 that cor
hsi_5_0718_209_002_inter 1 199.62 199.7 one 1.0 one cor
hsi_5_0718_209_002_inter 1 199.96 199.98 i 1.0 i cor
hsi_5_0718_209_002_inter 1 200.06 200.2 can't 1.0 can't cor
hsi_5_0718_209_002_inter 1 200.24 200.52 remember 1.0 remember cor
hsi_5_0718_209_002_inter 1 200.62 200.74 now 1.0 now cor
hsi_5_0718_209_002_inter 1 201.84 201.92 ne 1.0 ne cor
hsi_5_0718_209_002_inter 1 201.96 202.14 bn 1.0 bn cor
hsi_5_0718_209_002_inter 1 202.74 203.0 yes 1.0 yes cor
hsi_5_0718_209_002_inter 1 204.06 210.54 saaoi 1.0 saaoi cor
hsi_5_0718_209_002_inter 1 210.58 210.7 think 1.0 think cor
hsi_5_0718_209_002_inter 1 210.72 210.9 that's 1.0 that's cor
hsi_5_0718_209_002_inter 1 210.96 211.16 that's 1.0 that's cor
hsi_5_0718_209_002_inter 1 211.34 211.5 just 1.0 just cor
hsi_5_0718_209_002_inter 1 211.6 211.76 very 1.0 very cor
hsi_5_0718_209_002_inter 1 211.8 212.04 handy 1.0 handy cor
hsi_5_0718_209_002_inter 1 213.22 213.24 a 1.0 a cor
hsi_5_0718_209_002_inter 1 213.56 213.66 it 1.0 it cor
hsi_5_0718_209_002_inter 1 213.82 214.36 saay 1.0 saay cor
hsi_5_0718_209_002_inter 1 214.98 215.2 elsie 1.0 elsie cor
hsi_5_0718_209_002_inter 1 215.3 215.4 sai 1.0 sai cor
hsi_5_0718_209_002_inter 1 215.56 216.08 desider 1.0 desider cor
hsi_5_0718_209_002_inter 1 216.36 216.46 in 1.0 in cor
hsi_5_0718_209_002_inter 1 217.02 217.14 am 1.0 am cor
hsi_5_0718_209_002_inter 1 218.26 218.7 avance 1.0 avance cor
hsi_5_0718_209_002_inter 1 220.68 220.84 aso 1.0 aso cor
hsi_5_0718_209_002_inter 1 221.16 221.3 is 1.0 is cor
hsi_5_0718_209_002_inter 1 228.1 228.18 ni 1.0 ni cor
hsi_5_0718_209_002_inter 1 228.28 228.32 of 1.0 of cor
hsi_5_0718_209_002_inter 1 228.4 228.58 course 1.0 course cor
hsi_5_0718_209_002_inter 1 228.66 228.68 i 1.0 i cor
hsi_5_0718_209_002_inter 1 228.74 228.88 could 1.0 could cor
hsi_5_0718_209_002_inter 1 228.96 229.14 plain 1.0 plain cor
hsi_5_0718_209_002_inter 1 229.2 229.38 like 1.0 like cor
hsi_5_0718_209_002_inter 1 229.62 229.68 at 1.0 at cor
hsi_5_0718_209_002_inter 1 229.78 230.02 forty 1.0 forty cor
hsi_5_0718_209_002_inter 1 230.08 230.46 croners 1.0 croners cor
hsi_5_0718_209_002_inter 1 231.06 231.54 forty 1.0 forty cor
hsi_5_0718_209_002_inter 1 231.82 231.94 eh 1.0 eh cor
hsi_5_0718_209_002_inter 1 232.44 232.54 oh 1.0 oh cor
hsi_5_0718_209_002_inter 1 232.6 232.76 my 1.0 my cor
hsi_5_0718_209_002_inter 1 233.12 233.54 god 1.0 god cor
hsi_5_0718_209_002_inter 1 234.8 234.82 i 1.0 i cor
hsi_5_0718_209_002_inter 1 234.98 235.0 i 1.0 i cor
hsi_5_0718_209_002_inter 1 235.2 235.34 said 1.0 said cor
hsi_5_0718_209_002_inter 1 235.38 235.44 it 1.0 it cor
hsi_5_0718_209_002_inter 1 235.48 235.58 was 1.0 was cor
hsi_5_0718_209_002_inter 1 235.6 235.66 wa 1.0 wa cor
hsi_5_0718_209_002_inter 1 235.72 235.8 te 1.0 te cor
hsi_5_0718_209_002_inter 1 235.86 236.04 sign 1.0 sign cor
hsi_5_0718_209_002_inter 1 236.1 236.14 of 1.0 of cor
hsi_5_0718_209_002_inter 1 236.18 236.3 bing 1.0 bing cor
hsi_5_0718_209_002_inter 1 236.36 236.52 that 1.0 that cor
hsi_5_0718_209_002_inter 1 236.92 237.3 akme 1.0 akme cor
hsi_5_0718_209_002_inter 1 238.18 238.32 two 1.0 two cor
hsi_5_0718_209_002_inter 1 238.42 238.74 thousand 1.0 thousand cor
hsi_5_0718_209_002_inter 1 238.8 239.14 france 1.0 france cor
hsi_5_0718_209_002_inter 1 239.42 239.5 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 239.92 241.1 pamarter 1.0 pamarter cor
hsi_5_0718_209_002_inter 1 243.16 243.18 i 1.0 i cor
hsi_5_0718_209_002_inter 1 243.42 243.78 say 1.0 say cor
hsi_5_0718_209_002_inter 1 247.76 247.96 maybe 1.0 maybe cor
hsi_5_0718_209_002_inter 1 247.98 248.02 i 1.0 i cor
hsi_5_0718_209_002_inter 1 248.06 248.18 could 1.0 could cor
hsi_5_0718_209_002_inter 1 248.2 248.3 take 1.0 take cor
hsi_5_0718_209_002_inter 1 248.34 248.4 the 1.0 the cor
hsi_5_0718_209_002_inter 1 248.44 248.6 other 1.0 other cor
hsi_5_0718_209_002_inter 1 248.76 248.84 one 1.0 one cor
hsi_5_0718_209_002_inter 1 248.88 249.06 then 1.0 then cor
hsi_5_0718_209_002_inter 1 249.54 249.6 the 1.0 the cor
hsi_5_0718_209_002_inter 1 250.02 250.1 one 1.0 one cor
hsi_5_0718_209_002_inter 1 250.14 250.38 nexto 1.0 nexto cor
hsi_5_0718_209_002_inter 1 250.42 250.6 thatch 1.0 thatch cor
hsi_5_0718_209_002_inter 1 250.94 251.04 the 1.0 the cor
hsi_5_0718_209_002_inter 1 251.14 251.16 o 1.0 o cor
hsi_5_0718_209_002_inter 1 251.22 251.3 ther 1.0 ther cor
hsi_5_0718_209_002_inter 1 251.46 251.58 nek 1.0 nek cor
hsi_5_0718_209_002_inter 1 251.64 251.78 stop 1.0 stop cor
hsi_5_0718_209_002_inter 1 251.84 252.32 computer 1.0 computer cor
hsi_5_0718_209_002_inter 1 253.12 253.28 ya 1.0 ya cor
hsi_5_0718_209_002_inter 1 254.0 254.04 is 1.0 is cor
hsi_5_0718_209_002_inter 1 254.1 254.14 it 1.0 it cor
hsi_5_0718_209_002_inter 1 254.22 254.36 also 1.0 also cor
hsi_5_0718_209_002_inter 1 254.44 254.82 designer 1.0 designer cor
hsi_5_0718_209_002_inter 1 254.92 255.0 one 1.0 one cor
hsi_5_0718_209_002_inter 1 257.82 257.92 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 258.0 258.18 that's 1.0 that's cor
hsi_5_0718_209_002_inter 1 258.2 258.36 good 1.0 good cor
hsi_5_0718_209_002_inter 1 259.92 260.0 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 263.54 263.56 i 1.0 i cor
hsi_5_0718_209_002_inter 1 263.64 263.74 want 1.0 want cor
hsi_5_0718_209_002_inter 1 263.78 263.82 to 1.0 to cor
hsi_5_0718_209_002_inter 1 263.88 264.0 put 1.0 put cor
hsi_5_0718_209_002_inter 1 264.06 264.12 my 1.0 my cor
hsi_5_0718_209_002_inter 1 264.22 264.46 plant 1.0 plant cor
hsi_5_0718_209_002_inter 1 264.76 264.82 in 1.0 in cor
hsi_5_0718_209_002_inter 1 264.88 265.02 that 1.0 that cor
hsi_5_0718_209_002_inter 1 265.08 265.22 whele 1.0 whele cor
hsi_5_0718_209_002_inter 1 265.3 265.38 i'm 1.0 i'm cor
hsi_5_0718_209_002_inter 1 265.7 265.96 moving 1.0 moving cor
hsi_5_0718_209_002_inter 1 266.04 266.1 it 1.0 it cor
hsi_5_0718_209_002_inter 1 266.34 266.44 it's 1.0 it's cor
hsi_5_0718_209_002_inter 1 266.48 266.62 very 1.0 very cor
hsi_5_0718_209_002_inter 1 266.68 267.08 sensitive 1.0 sensitive cor
hsi_5_0718_209_002_inter 1 270.4 270.64 there 1.0 there cor
hsi_5_0718_209_002_inter 1 271.34 271.42 as 1.0 as cor
hsi_5_0718_209_002_inter 1 273.58 273.6 n 1.0 n cor
hsi_5_0718_209_002_inter 1 274.06 274.26 that 1.0 that cor
hsi_5_0718_209_002_inter 1 274.46 274.54 one 1.0 one cor
hsi_5_0718_209_002_inter 1 274.66 274.74 as 1.0 as cor
hsi_5_0718_209_002_inter 1 274.88 274.9 i 1.0 i cor
hsi_5_0718_209_002_inter 1 274.98 275.1 think 1.0 think cor
hsi_5_0718_209_002_inter 1 275.16 275.22 it 1.0 it cor
hsi_5_0718_209_002_inter 1 275.3 275.32 i 1.0 i cor
hsi_5_0718_209_002_inter 1 275.4 275.56 word 1.0 word cor
hsi_5_0718_209_002_inter 1 275.6 275.72 that 1.0 that cor
hsi_5_0718_209_002_inter 1 275.82 275.92 one 1.0 one cor
hsi_5_0718_209_002_inter 1 279.76 279.9 ah 1.0 ah cor
hsi_5_0718_209_002_inter 1 280.16 280.18 i 1.0 i cor
hsi_5_0718_209_002_inter 1 280.56 280.88 tomther 1.0 tomther cor
hsi_5_0718_209_002_inter 1 282.38 282.52 and 1.0 and cor
hsi_5_0718_209_002_inter 1 282.58 282.76 that 1.0 that cor
hsi_5_0718_209_002_inter 1 283.5 284.8 butthat's 1.0 butthat's cor
hsi_5_0718_209_002_inter 1 285.34 285.46 all 1.0 all cor
hsi_5_0718_209_002_inter 1 285.54 285.56 i 1.0 i cor
hsi_5_0718_209_002_inter 1 285.66 285.84 can't 1.0 can't cor
hsi_5_0718_209_002_inter 1 285.92 286.22 remember 1.0 remember cor
hsi_5_0718_209_002_inter 1 286.3 286.38 and 1.0 and cor
hsi_5_0718_209_002_inter 1 286.44 286.46 i 1.0 i cor
hsi_5_0718_209_002_inter 1 286.72 289.56 owisiiisw 1.0 owisiiisw cor
hsi_5_0718_209_002_inter 1 289.76 289.78 i 1.0 i cor
hsi_5_0718_209_002_inter 1 289.86 290.08 think 1.0 think cor
hsi_5_0718_209_002_inter 1 290.16 290.18 i 1.0 i cor
hsi_5_0718_209_002_inter 1 290.26 290.38 run 1.0 run cor
hsi_5_0718_209_002_inter 1 290.48 290.64 bot 1.0 bot cor
hsi_5_0718_209_002_inter 1 290.72 290.74 e 1.0 e cor
hsi_5_0718_209_002_inter 1 290.84 290.86 e 1.0 e cor
hsi_5_0718_209_002_inter 1 291.0 291.02 e 1.0 e cor
hsi_5_0718_209_002_inter 1 291.16 291.22 at 1.0 at cor
hsi_5_0718_209_002_inter 1 291.38 291.4 i 1.0 i cor
hsi_5_0718_209_002_inter 1 291.6 291.98 oa 1.0 oa cor
hsi_5_0718_209_002_inter 1 292.36 292.74 corsi 1.0 corsi cor
hsi_5_0718_209_002_inter 1 292.9 292.94 ou 1.0 ou cor
hsi_5_0718_209_002_inter 1 293.02 293.18 say 1.0 say cor
hsi_5_0718_209_002_inter 1 293.38 293.42 s 1.0 s cor
hsi_5_0718_209_002_inter 1 293.54 293.64 it's 1.0 it's cor
hsi_5_0718_209_002_inter 1 293.7 294.3 yoursen 1.0 yoursen cor
hsi_5_0718_209_002_inter 1 297.3 297.32 o 1.0 o cor
hsi_5_0718_209_002_inter 1 297.42 297.54 key 1.0 key cor
hsi_5_0718_209_002_inter 1 299.08 299.1 i 1.0 i cor
hsi_5_0718_209_002_inter 1 299.16 299.34 austto 1.0 austto cor
hsi_5_0718_209_002_inter 1 299.42 299.54 put 1.0 put cor
hsi_5_0718_209_002_inter 1 299.6 299.76 this 1.0 this cor
hsi_5_0718_209_002_inter 1 299.98 300.24 grey 1.0 grey cor
hsi_5_0718_209_002_inter 1 300.32 300.82 decoration 1.0 decoration cor
hsi_5_0718_209_002_inter 1 300.9 300.94 on 1.0 on cor
hsi_5_0718_209_002_inter 1 300.98 301.06 the 1.0 the cor
hsi_5_0718_209_002_inter 1 301.1 301.3 lamp 1.0 lamp cor
hsi_5_0718_209_002_inter 1 301.82 301.98 they 1.0 they cor
hsi_5_0718_209_002_inter 1 302.42 302.44 d 1.0 d cor
hsi_5_0718_209_002_inter 1 302.52 302.66 was 1.0 was cor
hsi_5_0718_209_002_inter 1 302.72 303.02 wondering 1.0 wondering cor
hsi_5_0718_209_002_inter 1 303.06 303.1 if 1.0 if cor
hsi_5_0718_209_002_inter 1 303.2 303.22 i 1.0 i cor
hsi_5_0718_209_002_inter 1 303.28 303.42 should 1.0 should cor
hsi_5_0718_209_002_inter 1 303.48 303.74 remove 1.0 remove cor
hsi_5_0718_209_002_inter 1 303.8 303.94 that 1.0 that cor
hsi_5_0718_209_002_inter 1 304.1 304.16 or 1.0 or cor
hsi_5_0718_209_002_inter 1 306.0 306.02 i 1.0 i cor
hsi_5_0718_209_002_inter 1 306.1 306.22 think 1.0 think cor
hsi_5_0718_209_002_inter 1 306.28 306.38 so 1.0 so cor
hsi_5_0718_209_002_inter 1 306.5 306.52 o 1.0 o cor
hsi_5_0718_209_002_inter 1 309.0 309.08 ar 1.0 ar cor
hsi_5_0718_209_002_inter 1 309.52 309.82 very 1.0 very cor
hsi_5_0718_209_002_inter 1 310.56 312.94 apa 1.0 apa cor
hsi_5_0718_209_002_inter 1 313.66 313.94 sen 1.0 sen cor
hsi_5_0718_209_002_inter 1 314.86 315.14 yes 1.0 yes cor
hsi_5_0718_209_002_inter 1 315.42 315.74 hant 1.0 hant cor
hsi_5_0718_209_002_inter 1 316.58 316.82 aky 1.0 aky cor
hsi_5_0718_209_002_inter 1 317.32 317.8 dostat 1.0 dostat cor
hsi_5_0718_209_002_inter 1 318.0 318.4 tae 1.0 tae cor
hsi_5_0718_209_002_inter 1 318.48 334.18 siaaianao 1.0 siaaianao cor
hsi_5_0718_209_002_inter 1 334.36 334.48 just 1.0 just cor
hsi_5_0718_209_002_inter 1 334.5 334.58 the 1.0 the cor
hsi_5_0718_209_002_inter 1 334.62 335.02 orygummy 1.0 orygummy cor
hsi_5_0718_209_002_inter 1 335.64 335.72 oh 1.0 oh cor
hsi_5_0718_209_002_inter 1 336.2 336.38 nes 1.0 nes cor
hsi_5_0718_209_002_inter 1 346.26 347.24 inpocaso 1.0 inpocaso cor
hsi_5_0718_209_002_inter 1 347.46 351.24 egansoah 1.0 egansoah cor
hsi_5_0718_209_002_inter 1 351.4 351.46 do 1.0 do cor
hsi_5_0718_209_002_inter 1 351.5 351.56 you 1.0 you cor
hsi_5_0718_209_002_inter 1 351.6 351.7 want 1.0 want cor
hsi_5_0718_209_002_inter 1 351.74 351.82 me 1.0 me cor
hsi_5_0718_209_002_inter 1 351.9 351.96 to 1.0 to cor
hsi_5_0718_209_002_inter 1 352.02 352.14 put 1.0 put cor
hsi_5_0718_209_002_inter 1 352.2 352.28 the 1.0 the cor
hsi_5_0718_209_002_inter 1 352.48 352.72 tivy 1.0 tivy cor
hsi_5_0718_209_002_inter 1 352.78 352.9 back 1.0 back cor
hsi_5_0718_209_002_inter 1 352.96 353.02 to 1.0 to cor
hsi_5_0718_209_002_inter 1 353.1 353.18 its 1.0 its cor
hsi_5_0718_209_002_inter 1 353.24 353.6 original 1.0 original cor
hsi_5_0718_209_002_inter 1 353.68 353.92 place 1.0 place cor
hsi_5_0718_209_002_inter 1 356.3 356.52 oky 1.0 oky cor
hsi_5_0718_209_002_inter 1 362.7 362.72 o 1.0 o cor
hsi_5_0718_209_002_inter 1 362.82 362.94 here 1.0 here cor
hsi_5_0718_209_002_inter 1 363.04 363.34 matye 1.0 matye cor
hsi_5_0718_209_002_inter 1 363.46 363.64 ten 1.0 ten cor
hsi_5_0718_209_002_inter 1 363.8 364.0 thanks 1.0 thanks cor
hsi_5_0718_209_002_inter 1 364.04 364.14 for 1.0 for cor
hsi_5_0718_209_002_inter 1 364.18 364.44 runting 1.0 runting cor
hsi_5_0718_209_002_inter 1 364.5 364.56 it 1.0 it cor
hsi_5_0718_209_002_inter 1 364.7 364.82 out 1.0 out cor
hsi_5_0718_209_002_inter 1 364.96 365.02 on 1.0 on cor
hsi_5_0718_209_002_inter 1 365.08 365.24 them 1.0 them cor
hsi_5_0718_209_002_inter 1 366.2 366.36 ye 1.0 ye cor
hsi_5_0718_209_002_inter 1 367.3 367.38 we 1.0 we cor
hsi_5_0718_209_002_inter 1 367.44 367.64 will 1.0 will cor
hsi_5_0718_209_002_inter 1 368.88 369.12 chut 1.0 chut cor
hsi_5_0718_209_002_inter 1 372.46 372.72 ad 1.0 ad cor
def whisperx_json_ctm(filepath, ctmedit=False):
    with open(filepath) as inf:
        data = json.load(inf)
    fileid = Path(filepath).stem
    for segment in data['segments']:
        for word in segment['words']:
            if "speaker" in word:
                speaker = word['speaker']
                channel = int(speaker.replace("SPEAKER_0", "")) + 1
                start = word['start']
                end = word['end']
            else:
                channel = 1
                start = 0.0
                end = 0.0
            text = word['word']
            conf = word['score'] if "score" in word else 0.0
            norm = normword(text)
            if ctmedit:
                edit = f" {text} cor"
            else:
                edit = ""
            print(f"{fileid} {channel} {start} {end} {norm} {conf}{edit}")
def my_whisperx_json_ctm(a, b=True):
    whisperx_json_ctm(f"/Users/joregan/Playing/hsi/audio/whisperx-json/{a}.json", b)
my_whisperx_json_ctm("hsi_5_0718_209_002_inter")
hsi_5_0718_209_002_inter 1 1.049 1.21 but 0.999 But cor
hsi_5_0718_209_002_inter 1 1.59 1.75 yeah 0.607 yeah, cor
hsi_5_0718_209_002_inter 1 1.79 1.83 i 1.0 I cor
hsi_5_0718_209_002_inter 1 1.87 2.01 think 0.899 think cor
hsi_5_0718_209_002_inter 1 2.03 2.11 the 0.994 the cor
hsi_5_0718_209_002_inter 1 2.15 2.33 next 0.842 next cor
hsi_5_0718_209_002_inter 1 2.41 2.53 one 0.748 one cor
hsi_5_0718_209_002_inter 1 2.55 2.73 could 0.878 could cor
hsi_5_0718_209_002_inter 1 2.79 3.01 be 0.876 be cor
hsi_5_0718_209_002_inter 1 3.711 3.911 maybe 0.953 maybe cor
hsi_5_0718_209_002_inter 1 3.931 4.011 you 0.837 you cor
hsi_5_0718_209_002_inter 1 4.051 4.171 can 0.931 can cor
hsi_5_0718_209_002_inter 1 4.191 4.351 put 0.939 put cor
hsi_5_0718_209_002_inter 1 4.411 4.491 in 0.907 in cor
hsi_5_0718_209_002_inter 1 4.591 4.651 a 0.848 a cor
hsi_5_0718_209_002_inter 1 4.751 5.312 t-pose 0.843 t-pose cor
hsi_5_0718_209_002_inter 1 6.552 6.792 now 1.0 now cor
hsi_5_0718_209_002_inter 1 7.893 8.133 that's 0.885 That's cor
hsi_5_0718_209_002_inter 1 8.273 8.413 yeah 0.494 yeah, cor
hsi_5_0718_209_002_inter 1 8.433 8.593 that's 0.739 that's cor
hsi_5_0718_209_002_inter 1 8.633 8.813 good 0.805 good. cor
hsi_5_0718_209_002_inter 1 8.873 9.113 thank 0.989 Thank cor
hsi_5_0718_209_002_inter 1 9.253 9.493 you 0.978 you, cor
hsi_5_0718_209_002_inter 1 9.714 9.874 and 0.831 and cor
hsi_5_0718_209_002_inter 1 10.274 10.354 i 0.968 I cor
hsi_5_0718_209_002_inter 1 10.374 10.594 will 0.868 will cor
hsi_5_0718_209_002_inter 1 11.074 11.314 come 0.916 come cor
hsi_5_0718_209_002_inter 1 11.354 11.534 back 0.935 back cor
hsi_5_0718_209_002_inter 1 11.594 11.715 to 0.908 to cor
hsi_5_0718_209_002_inter 1 11.755 11.995 the 0.897 the cor
hsi_5_0718_209_002_inter 1 12.095 12.295 room 0.921 room cor
hsi_5_0718_209_002_inter 1 12.355 12.435 and 0.996 and cor
hsi_5_0718_209_002_inter 1 12.475 12.575 then 0.994 then cor
hsi_5_0718_209_002_inter 1 12.615 12.695 we 0.753 we cor
hsi_5_0718_209_002_inter 1 12.735 12.855 can 0.914 can cor
hsi_5_0718_209_002_inter 1 12.875 12.975 do 0.831 do cor
hsi_5_0718_209_002_inter 1 13.015 13.055 a 0.489 a cor
hsi_5_0718_209_002_inter 1 13.075 13.555 landlord 0.972 landlord cor
hsi_5_0718_209_002_inter 1 13.655 13.816 so 0.97 so cor
hsi_5_0718_209_002_inter 1 13.876 13.956 in 0.966 in cor
hsi_5_0718_209_002_inter 1 13.976 14.136 this 0.894 this cor
hsi_5_0718_209_002_inter 1 14.316 14.416 one 0.991 one cor
hsi_5_0718_209_002_inter 1 15.356 15.436 it 1.0 it cor
hsi_5_0718_209_002_inter 1 15.476 15.636 can 0.897 can cor
hsi_5_0718_209_002_inter 1 15.656 15.756 be 1.0 be cor
hsi_5_0718_209_002_inter 1 15.796 16.037 that 0.825 that cor
hsi_5_0718_209_002_inter 1 16.377 20.419 uh-huh 0.544 Uh-huh cor
hsi_5_0718_209_002_inter 1 20.759 20.979 like 0.935 like cor
hsi_5_0718_209_002_inter 1 21.379 21.579 no 0.826 no cor
hsi_5_0718_209_002_inter 1 21.599 21.619 i 0.006 I cor
hsi_5_0718_209_002_inter 1 21.659 21.779 you 0.902 you cor
hsi_5_0718_209_002_inter 1 22.039 22.139 have 0.784 have cor
hsi_5_0718_209_002_inter 1 22.159 22.38 rented 0.682 rented cor
hsi_5_0718_209_002_inter 1 22.42 22.48 it 0.94 it cor
hsi_5_0718_209_002_inter 1 22.62 22.76 out 1.0 out cor
hsi_5_0718_209_002_inter 1 22.82 22.9 and 0.968 and cor
hsi_5_0718_209_002_inter 1 22.94 23.02 you 0.968 you cor
hsi_5_0718_209_002_inter 1 23.04 23.18 can 0.988 can cor
hsi_5_0718_209_002_inter 1 23.22 23.4 make 0.934 make cor
hsi_5_0718_209_002_inter 1 23.6 23.92 maybe 0.878 maybe cor
hsi_5_0718_209_002_inter 1 24.08 24.26 make 0.99 make cor
hsi_5_0718_209_002_inter 1 24.3 24.601 some 0.956 some cor
hsi_5_0718_209_002_inter 1 24.621 24.641 i 0.0 I cor
hsi_5_0718_209_002_inter 1 27.067 27.127 oh 0.284 Oh, cor
hsi_5_0718_209_002_inter 1 27.147 28.628 i'm 0.435 I'm cor
hsi_5_0718_209_002_inter 1 28.668 28.908 sorry 0.403 sorry cor
hsi_5_0718_209_002_inter 1 28.948 29.148 that 0.61 that cor
hsi_5_0718_209_002_inter 1 29.168 29.448 you're 0.609 you're cor
hsi_5_0718_209_002_inter 1 29.488 29.868 leaving 0.62 leaving, cor
hsi_5_0718_209_002_inter 1 29.908 30.008 but 0.651 but cor
hsi_5_0718_209_002_inter 1 30.028 30.208 just 0.347 just cor
hsi_5_0718_209_002_inter 1 30.228 30.568 check 0.444 check cor
hsi_5_0718_209_002_inter 1 30.589 31.009 everything 0.32 everything. cor
hsi_5_0718_209_002_inter 1 31.029 31.109 so 0.75 So cor
hsi_5_0718_209_002_inter 1 31.149 31.629 everything 0.563 everything cor
hsi_5_0718_209_002_inter 1 31.809 31.849 is 0.001 is cor
hsi_5_0718_209_002_inter 1 31.869 32.069 fine 0.667 fine, cor
hsi_5_0718_209_002_inter 1 32.129 32.369 and 0.555 and cor
hsi_5_0718_209_002_inter 1 32.389 32.529 you 0.321 you cor
hsi_5_0718_209_002_inter 1 32.569 32.729 came 0.418 came cor
hsi_5_0718_209_002_inter 1 32.749 32.849 here 0.132 here cor
hsi_5_0718_209_002_inter 1 32.889 33.129 because 0.343 because cor
hsi_5_0718_209_002_inter 1 33.149 33.169 i 0.0 I cor
hsi_5_0718_209_002_inter 1 34.39 34.61 noticed 0.4 noticed cor
hsi_5_0718_209_002_inter 1 34.63 34.75 there 0.126 there cor
hsi_5_0718_209_002_inter 1 34.93 35.01 are 0.102 are cor
hsi_5_0718_209_002_inter 1 35.11 35.25 some 0.342 some... cor
hsi_5_0718_209_002_inter 1 65.236 65.396 no 0.89 No, cor
hsi_5_0718_209_002_inter 1 65.416 65.436 i 0.266 I cor
hsi_5_0718_209_002_inter 1 65.476 65.596 know 0.726 know cor
hsi_5_0718_209_002_inter 1 65.616 65.736 that 0.909 that cor
hsi_5_0718_209_002_inter 1 65.776 65.816 i 0.977 I cor
hsi_5_0718_209_002_inter 1 65.856 65.956 can 0.902 can cor
hsi_5_0718_209_002_inter 1 65.996 66.397 remember 0.901 remember. cor
hsi_5_0718_209_002_inter 1 71.08 71.26 which 0.868 Which cor
hsi_5_0718_209_002_inter 1 71.3 71.52 table 0.518 table? cor
hsi_5_0718_209_002_inter 1 87.914 89.435 yeah 0.493 Yeah, cor
hsi_5_0718_209_002_inter 1 89.475 89.855 actually 0.931 actually cor
hsi_5_0718_209_002_inter 1 89.895 89.975 i 0.419 I cor
hsi_5_0718_209_002_inter 1 90.015 90.516 misplaced 0.919 misplaced cor
hsi_5_0718_209_002_inter 1 90.536 90.676 the 0.887 the cor
hsi_5_0718_209_002_inter 1 90.696 91.256 statues 0.841 statues. cor
hsi_5_0718_209_002_inter 1 92.697 92.817 so 0.988 So cor
hsi_5_0718_209_002_inter 1 92.877 92.937 i 0.13 I cor
hsi_5_0718_209_002_inter 1 92.957 93.357 had 0.675 had cor
hsi_5_0718_209_002_inter 1 93.377 93.617 some 0.92 some, cor
hsi_5_0718_209_002_inter 1 93.697 93.837 like 0.863 like cor
hsi_5_0718_209_002_inter 1 93.877 93.937 i 0.92 I cor
hsi_5_0718_209_002_inter 1 93.977 94.197 didn't 0.834 didn't cor
hsi_5_0718_209_002_inter 1 94.237 94.418 really 0.604 really cor
hsi_5_0718_209_002_inter 1 94.438 94.558 like 0.38 like cor
hsi_5_0718_209_002_inter 1 94.578 94.738 them 0.834 them, cor
hsi_5_0718_209_002_inter 1 94.818 94.958 so 1.0 so cor
hsi_5_0718_209_002_inter 1 95.038 95.118 i 1.0 I cor
hsi_5_0718_209_002_inter 1 95.338 95.538 took 0.937 took cor
hsi_5_0718_209_002_inter 1 95.638 95.838 them 0.999 them cor
hsi_5_0718_209_002_inter 1 96.579 96.859 away 1.0 away cor
hsi_5_0718_209_002_inter 1 96.959 97.079 and 0.812 and cor
hsi_5_0718_209_002_inter 1 97.179 97.279 i 0.706 I cor
hsi_5_0718_209_002_inter 1 97.299 97.479 put 0.889 put cor
hsi_5_0718_209_002_inter 1 97.559 97.719 them 0.902 them cor
hsi_5_0718_209_002_inter 1 97.759 97.919 back 1.0 back. cor
hsi_5_0718_209_002_inter 1 97.959 98.019 do 0.91 Do cor
hsi_5_0718_209_002_inter 1 98.059 98.139 you 1.0 you cor
hsi_5_0718_209_002_inter 1 98.16 98.32 think 0.887 think cor
hsi_5_0718_209_002_inter 1 98.34 98.44 they 0.988 they cor
hsi_5_0718_209_002_inter 1 98.48 98.56 are 0.838 are cor
hsi_5_0718_209_002_inter 1 98.6 98.66 the 0.999 the cor
hsi_5_0718_209_002_inter 1 98.7 98.86 right 0.905 right cor
hsi_5_0718_209_002_inter 1 98.9 99.16 place 0.933 place? cor
hsi_5_0718_209_002_inter 1 99.88 100.161 your 0.806 Your cor
hsi_5_0718_209_002_inter 1 100.401 100.721 items 0.987 items? cor
hsi_5_0718_209_002_inter 1 114.008 114.168 which 0.828 Which cor
hsi_5_0718_209_002_inter 1 114.208 114.408 plant 0.652 plant? cor
hsi_5_0718_209_002_inter 1 116.941 117.221 okay 0.532 Okay. cor
hsi_5_0718_209_002_inter 1 128.188 128.288 are 0.834 Are cor
hsi_5_0718_209_002_inter 1 128.328 128.388 you 1.0 you cor
hsi_5_0718_209_002_inter 1 128.408 128.588 happy 0.959 happy cor
hsi_5_0718_209_002_inter 1 128.608 128.728 with 0.876 with cor
hsi_5_0718_209_002_inter 1 128.748 128.848 the 0.811 the cor
hsi_5_0718_209_002_inter 1 128.868 129.069 chair 0.96 chair cor
hsi_5_0718_209_002_inter 1 129.109 129.649 placement 0.884 placement? cor
hsi_5_0718_209_002_inter 1 133.891 134.112 yeah 0.607 Yeah, cor
hsi_5_0718_209_002_inter 1 134.312 134.452 i 0.55 I cor
hsi_5_0718_209_002_inter 1 134.512 134.692 also 0.879 also cor
hsi_5_0718_209_002_inter 1 134.712 134.892 moved 0.816 moved cor
hsi_5_0718_209_002_inter 1 134.932 135.012 it 0.612 it cor
hsi_5_0718_209_002_inter 1 135.052 135.092 a 0.504 a cor
hsi_5_0718_209_002_inter 1 135.112 135.272 bit 0.999 bit. cor
hsi_5_0718_209_002_inter 1 135.292 137.414 but 0.33 But cor
hsi_5_0718_209_002_inter 1 0.0 0.0 there's 0.167 there's cor
hsi_5_0718_209_002_inter 1 0.0 0.0 nothing 0.184 nothing cor
hsi_5_0718_209_002_inter 1 0.0 0.0 i 0.0 I cor
hsi_5_0718_209_002_inter 1 0.0 0.0 can't 0.259 can't cor
hsi_5_0718_209_002_inter 1 0.0 0.0 change 0.111 change. cor
hsi_5_0718_209_002_inter 1 0.0 0.0 everyone 0.322 Everyone cor
hsi_5_0718_209_002_inter 1 0.0 0.0 has 0.388 has cor
hsi_5_0718_209_002_inter 2 141.676 142.897 their 0.483 their cor
hsi_5_0718_209_002_inter 1 155.285 155.345 i 0.541 I cor
hsi_5_0718_209_002_inter 1 155.385 155.645 actually 0.495 actually cor
hsi_5_0718_209_002_inter 1 155.665 155.765 was 0.514 was cor
hsi_5_0718_209_002_inter 1 155.785 156.106 wondering 0.859 wondering cor
hsi_5_0718_209_002_inter 1 156.126 156.306 about 0.946 about cor
hsi_5_0718_209_002_inter 1 156.406 156.486 the 0.979 the cor
hsi_5_0718_209_002_inter 1 156.526 156.866 pillow 0.933 pillow. cor
hsi_5_0718_209_002_inter 1 158.768 158.848 the 0.949 The cor
hsi_5_0718_209_002_inter 1 158.888 159.168 pillow 0.952 pillow? cor
hsi_5_0718_209_002_inter 1 160.369 160.569 like 0.773 Like, cor
hsi_5_0718_209_002_inter 1 160.789 160.949 where 0.758 where cor
hsi_5_0718_209_002_inter 1 160.969 161.089 did 0.999 did cor
hsi_5_0718_209_002_inter 1 161.13 161.23 you 0.999 you cor
hsi_5_0718_209_002_inter 1 161.31 161.49 buy 0.875 buy cor
hsi_5_0718_209_002_inter 1 161.53 161.71 that 0.969 that? cor
hsi_5_0718_209_002_inter 1 165.233 165.333 it's 0.909 It's cor
hsi_5_0718_209_002_inter 1 165.373 165.413 on 0.997 on cor
hsi_5_0718_209_002_inter 1 165.453 165.533 the 0.8 the cor
hsi_5_0718_209_002_inter 1 165.553 165.853 couch 0.927 couch? cor
hsi_5_0718_209_002_inter 1 168.235 168.335 the 0.899 The cor
hsi_5_0718_209_002_inter 1 168.395 168.475 one 0.91 one cor
hsi_5_0718_209_002_inter 1 168.515 168.575 on 0.756 on cor
hsi_5_0718_209_002_inter 1 168.595 168.675 the 0.835 the cor
hsi_5_0718_209_002_inter 1 168.715 168.996 couch 0.868 couch? cor
hsi_5_0718_209_002_inter 1 169.636 169.836 yeah 0.4 Yeah, cor
hsi_5_0718_209_002_inter 1 169.856 169.996 yeah 0.292 yeah. cor
hsi_5_0718_209_002_inter 1 170.137 170.237 so 0.908 So cor
hsi_5_0718_209_002_inter 1 170.277 170.317 i 0.527 I cor
hsi_5_0718_209_002_inter 1 170.337 170.557 really 0.099 really cor
hsi_5_0718_209_002_inter 1 170.577 170.717 like 0.89 like cor
hsi_5_0718_209_002_inter 1 170.737 170.857 that 0.984 that. cor
hsi_5_0718_209_002_inter 1 170.917 170.997 i 0.83 I cor
hsi_5_0718_209_002_inter 1 171.017 171.177 want 0.857 want cor
hsi_5_0718_209_002_inter 1 171.197 171.277 to 0.734 to cor
hsi_5_0718_209_002_inter 1 171.298 171.498 buy 0.727 buy cor
hsi_5_0718_209_002_inter 1 172.038 172.158 one 0.906 one. cor
hsi_5_0718_209_002_inter 1 172.258 172.378 did 0.442 Did cor
hsi_5_0718_209_002_inter 1 172.398 172.478 you 0.808 you cor
hsi_5_0718_209_002_inter 1 172.879 173.259 remember 0.61 remember cor
hsi_5_0718_209_002_inter 1 173.339 173.499 where 0.787 where cor
hsi_5_0718_209_002_inter 1 173.519 173.599 you 0.994 you cor
hsi_5_0718_209_002_inter 1 173.639 173.96 purchased 0.868 purchased cor
hsi_5_0718_209_002_inter 1 173.98 174.12 that 0.935 that cor
hsi_5_0718_209_002_inter 1 174.24 174.34 one 0.831 one? cor
hsi_5_0718_209_002_inter 1 177.723 177.863 oh 0.738 Oh, cor
hsi_5_0718_209_002_inter 1 177.943 178.063 that 0.973 that cor
hsi_5_0718_209_002_inter 1 178.103 178.223 would 0.382 would cor
hsi_5_0718_209_002_inter 1 178.243 178.323 be 0.78 be cor
hsi_5_0718_209_002_inter 1 178.343 178.503 nice 0.487 nice. cor
hsi_5_0718_209_002_inter 1 178.523 183.227 uh-huh 0.546 Uh-huh. cor
hsi_5_0718_209_002_inter 1 191.312 191.372 i 0.866 I cor
hsi_5_0718_209_002_inter 1 191.392 191.492 was 0.881 was cor
hsi_5_0718_209_002_inter 1 191.512 191.672 also 0.987 also cor
hsi_5_0718_209_002_inter 1 191.712 191.992 wondering 0.907 wondering cor
hsi_5_0718_209_002_inter 1 192.032 192.112 if 1.0 if cor
hsi_5_0718_209_002_inter 1 192.192 192.252 i 0.669 I cor
hsi_5_0718_209_002_inter 1 192.292 192.492 can 0.898 can cor
hsi_5_0718_209_002_inter 1 192.532 192.732 take 0.844 take cor
hsi_5_0718_209_002_inter 1 192.772 193.073 the 0.861 the cor
hsi_5_0718_209_002_inter 1 194.213 194.493 bin 0.802 bin, cor
hsi_5_0718_209_002_inter 1 194.633 194.713 the 0.893 the cor
hsi_5_0718_209_002_inter 1 194.733 195.014 rubbish 0.97 rubbish cor
hsi_5_0718_209_002_inter 1 195.074 195.354 bin 0.797 bin cor
hsi_5_0718_209_002_inter 1 195.394 195.554 with 0.86 with cor
hsi_5_0718_209_002_inter 1 195.594 195.714 me 1.0 me? cor
hsi_5_0718_209_002_inter 1 196.154 196.434 because 0.959 Because cor
hsi_5_0718_209_002_inter 1 196.975 197.095 i 0.595 I cor
hsi_5_0718_209_002_inter 1 198.735 198.916 think 0.835 think cor
hsi_5_0718_209_002_inter 1 198.956 199.016 i 0.964 I cor
hsi_5_0718_209_002_inter 1 199.056 199.256 bought 0.906 bought cor
hsi_5_0718_209_002_inter 1 199.296 199.456 that 0.948 that cor
hsi_5_0718_209_002_inter 1 199.616 199.716 one 0.99 one. cor
hsi_5_0718_209_002_inter 1 199.976 200.016 i 0.999 I cor
hsi_5_0718_209_002_inter 1 200.056 200.216 can't 0.945 can't cor
hsi_5_0718_209_002_inter 1 200.236 200.556 remember 0.949 remember cor
hsi_5_0718_209_002_inter 1 200.616 200.777 now 1.0 now. cor
hsi_5_0718_209_002_inter 1 201.857 201.957 the 0.687 The cor
hsi_5_0718_209_002_inter 1 201.977 202.077 bin 0.612 bin? cor
hsi_5_0718_209_002_inter 1 202.117 202.177 yes 0.063 Yes, cor
hsi_5_0718_209_002_inter 1 0.0 0.0 of 0.0 of cor
hsi_5_0718_209_002_inter 1 0.0 0.0 course 0.0 course, cor
hsi_5_0718_209_002_inter 2 202.758 202.878 but 0.25 but... cor
hsi_5_0718_209_002_inter 1 0.0 0.0 i 0.049 I cor
hsi_5_0718_209_002_inter 1 0.0 0.0 don't 0.0 don't cor
hsi_5_0718_209_002_inter 1 0.0 0.0 like 0.325 like cor
hsi_5_0718_209_002_inter 1 0.0 0.0 that 0.354 that cor
hsi_5_0718_209_002_inter 1 0.0 0.0 one 0.33 one. cor
hsi_5_0718_209_002_inter 1 0.0 0.0 don't 0.148 Don't cor
hsi_5_0718_209_002_inter 1 0.0 0.0 you 0.167 you cor
hsi_5_0718_209_002_inter 1 0.0 0.0 want 0.002 want cor
hsi_5_0718_209_002_inter 1 0.0 0.0 a 0.944 a cor
hsi_5_0718_209_002_inter 1 0.0 0.0 new 0.649 new cor
hsi_5_0718_209_002_inter 1 210.361 210.441 one 0.229 one? cor
hsi_5_0718_209_002_inter 1 210.461 210.501 no 0.0 No, cor
hsi_5_0718_209_002_inter 1 210.542 210.582 i 0.56 I cor
hsi_5_0718_209_002_inter 1 210.602 210.722 think 0.973 think cor
hsi_5_0718_209_002_inter 1 210.742 211.182 that's 0.632 that's cor
hsi_5_0718_209_002_inter 1 211.342 211.522 just 0.987 just cor
hsi_5_0718_209_002_inter 1 211.602 211.782 very 0.999 very cor
hsi_5_0718_209_002_inter 1 211.802 212.062 handy 1.0 handy. cor
hsi_5_0718_209_002_inter 2 212.082 213.503 all 0.33 All cor
hsi_5_0718_209_002_inter 2 213.523 213.643 right 0.119 right. cor
hsi_5_0718_209_002_inter 2 214.604 214.844 but 0.736 But... cor
hsi_5_0718_209_002_inter 2 214.884 215.164 because 0.321 Because cor
hsi_5_0718_209_002_inter 2 215.184 215.324 it's 0.37 it's cor
hsi_5_0718_209_002_inter 2 215.384 215.524 a 0.727 a cor
hsi_5_0718_209_002_inter 2 215.544 215.964 designer 0.509 designer cor
hsi_5_0718_209_002_inter 2 216.264 216.364 bin 0.333 bin. cor
hsi_5_0718_209_002_inter 2 218.345 218.646 but 0.596 But... cor
hsi_5_0718_209_002_inter 2 220.715 220.855 so 0.932 So cor
hsi_5_0718_209_002_inter 2 220.875 220.955 it's 0.002 it's cor
hsi_5_0718_209_002_inter 2 220.975 221.175 not 0.487 not cor
hsi_5_0718_209_002_inter 2 221.255 221.335 very 0.01 very cor
hsi_5_0718_209_002_inter 2 221.535 222.316 expensive 0.332 expensive, cor
hsi_5_0718_209_002_inter 2 222.336 222.756 but 0.469 but cor
hsi_5_0718_209_002_inter 2 222.816 222.996 you 0.471 you cor
hsi_5_0718_209_002_inter 1 0.0 0.0 pay 0.401 pay cor
hsi_5_0718_209_002_inter 1 0.0 0.0 something 0.42 something cor
hsi_5_0718_209_002_inter 1 0.0 0.0 for 0.518 for cor
hsi_5_0718_209_002_inter 1 0.0 0.0 it 0.388 it? cor
hsi_5_0718_209_002_inter 1 228.098 228.258 yeah 0.342 Yeah, cor
hsi_5_0718_209_002_inter 1 228.298 228.358 of 0.96 of cor
hsi_5_0718_209_002_inter 1 228.398 228.618 course 0.854 course, cor
hsi_5_0718_209_002_inter 1 228.658 228.718 i 0.79 I cor
hsi_5_0718_209_002_inter 1 228.738 228.898 could 0.901 could cor
hsi_5_0718_209_002_inter 1 228.938 229.178 pay 0.717 pay cor
hsi_5_0718_209_002_inter 1 229.198 229.738 like 0.909 like cor
hsi_5_0718_209_002_inter 1 0.0 0.0 40 0.0 40 cor
hsi_5_0718_209_002_inter 1 229.798 230.459 kroners 0.768 kroners cor
hsi_5_0718_209_002_inter 1 0.0 0.0 40 0.0 40? cor
hsi_5_0718_209_002_inter 1 231.239 232.559 oh 0.798 Oh cor
hsi_5_0718_209_002_inter 1 0.0 0.0 my 1.0 my cor
hsi_5_0718_209_002_inter 2 233.12 233.6 god 0.974 god! cor
hsi_5_0718_209_002_inter 2 235.0 235.18 i 0.682 I cor
hsi_5_0718_209_002_inter 2 235.2 235.36 said 0.762 said cor
hsi_5_0718_209_002_inter 2 235.4 235.46 it 0.731 it cor
hsi_5_0718_209_002_inter 2 235.48 235.621 was 0.617 was cor
hsi_5_0718_209_002_inter 2 235.661 235.701 a 0.437 a cor
hsi_5_0718_209_002_inter 2 235.741 236.181 designer 0.811 designer cor
hsi_5_0718_209_002_inter 2 236.201 236.321 thing 0.262 thing, cor
hsi_5_0718_209_002_inter 2 236.361 236.581 that's 0.602 that's cor
hsi_5_0718_209_002_inter 2 236.921 237.461 actually 0.452 actually cor
hsi_5_0718_209_002_inter 1 0.0 0.0 2000 0.0 2000 cor
hsi_5_0718_209_002_inter 2 238.201 238.622 kroners 0.49 kroners cor
hsi_5_0718_209_002_inter 1 247.779 247.959 maybe 0.985 Maybe cor
hsi_5_0718_209_002_inter 1 247.979 248.019 i 0.503 I cor
hsi_5_0718_209_002_inter 1 248.059 248.179 could 0.927 could cor
hsi_5_0718_209_002_inter 1 248.199 248.319 take 0.875 take cor
hsi_5_0718_209_002_inter 1 248.339 248.399 the 0.997 the cor
hsi_5_0718_209_002_inter 1 248.439 248.619 other 1.0 other cor
hsi_5_0718_209_002_inter 1 248.759 248.84 one 0.651 one cor
hsi_5_0718_209_002_inter 1 248.88 249.12 then 0.937 then, cor
hsi_5_0718_209_002_inter 1 249.52 249.66 the 0.887 the cor
hsi_5_0718_209_002_inter 1 250.02 250.1 one 0.95 one cor
hsi_5_0718_209_002_inter 1 250.14 250.32 next 0.935 next cor
hsi_5_0718_209_002_inter 1 250.34 250.4 to 0.794 to cor
hsi_5_0718_209_002_inter 1 250.44 250.54 the 0.73 the cor
hsi_5_0718_209_002_inter 1 250.56 250.72 desktop 0.075 desktop cor
hsi_5_0718_209_002_inter 1 250.74 250.9 computer 0.002 computer. cor
hsi_5_0718_209_002_inter 1 250.92 251.0 yeah 0.188 Yeah. cor
hsi_5_0718_209_002_inter 1 251.021 251.061 is 0.008 Is cor
hsi_5_0718_209_002_inter 1 251.081 251.121 it 0.022 it cor
hsi_5_0718_209_002_inter 1 251.141 251.221 also 0.054 also cor
hsi_5_0718_209_002_inter 1 251.281 251.301 a 0.521 a cor
hsi_5_0718_209_002_inter 1 251.321 251.501 designer 0.05 designer cor
hsi_5_0718_209_002_inter 1 251.521 251.581 one 0.003 one? cor
hsi_5_0718_209_002_inter 1 251.601 251.641 no 0.0 No, cor
hsi_5_0718_209_002_inter 1 251.661 251.721 no 0.665 no, cor
hsi_5_0718_209_002_inter 1 251.761 251.821 no 0.112 no, cor
hsi_5_0718_209_002_inter 1 251.841 251.901 no 0.75 no. cor
hsi_5_0718_209_002_inter 1 251.981 252.201 that's 0.402 That's cor
hsi_5_0718_209_002_inter 1 252.261 252.341 from 0.095 from cor
hsi_5_0718_209_002_inter 1 252.361 253.121 ikea 0.243 IKEA. cor
hsi_5_0718_209_002_inter 1 253.141 253.362 you're 0.142 You're cor
hsi_5_0718_209_002_inter 1 253.962 254.082 going 0.232 going cor
hsi_5_0718_209_002_inter 1 254.122 254.162 to 0.5 to cor
hsi_5_0718_209_002_inter 1 254.182 254.262 have 0.248 have cor
hsi_5_0718_209_002_inter 1 254.282 254.362 that 0.0 that. cor
hsi_5_0718_209_002_inter 1 254.382 254.422 oh 0.002 Oh, cor
hsi_5_0718_209_002_inter 1 254.442 254.602 that's 0.115 that's cor
hsi_5_0718_209_002_inter 1 254.622 254.722 good 0.156 good. cor
hsi_5_0718_209_002_inter 1 254.742 254.822 yeah 0.214 Yeah. cor
hsi_5_0718_209_002_inter 1 254.842 254.862 i 0.0 I cor
hsi_5_0718_209_002_inter 1 254.902 255.002 don't 0.375 don't cor
hsi_5_0718_209_002_inter 1 255.022 257.864 mind 0.453 mind. cor
hsi_5_0718_209_002_inter 1 257.884 257.924 so 0.0 So cor
hsi_5_0718_209_002_inter 1 258.004 258.124 that 0.883 that cor
hsi_5_0718_209_002_inter 1 258.144 258.204 one 0.0 one cor
hsi_5_0718_209_002_inter 1 258.244 258.384 you 0.59 you cor
hsi_5_0718_209_002_inter 1 258.564 259.825 could 0.197 could cor
hsi_5_0718_209_002_inter 1 259.905 260.025 have 0.204 have. cor
hsi_5_0718_209_002_inter 1 263.546 263.606 i 0.981 I cor
hsi_5_0718_209_002_inter 1 263.626 263.766 want 0.83 want cor
hsi_5_0718_209_002_inter 1 263.786 263.846 to 0.795 to cor
hsi_5_0718_209_002_inter 1 263.886 264.026 put 1.0 put cor
hsi_5_0718_209_002_inter 1 264.066 264.167 my 1.0 my cor
hsi_5_0718_209_002_inter 1 264.227 264.547 plant 0.908 plant cor
hsi_5_0718_209_002_inter 1 264.787 264.847 in 1.0 in cor
hsi_5_0718_209_002_inter 1 264.887 265.047 that 0.995 that cor
hsi_5_0718_209_002_inter 1 265.087 265.247 when 0.867 when cor
hsi_5_0718_209_002_inter 1 265.307 265.427 i'm 0.974 I'm cor
hsi_5_0718_209_002_inter 1 265.707 265.987 moving 1.0 moving cor
hsi_5_0718_209_002_inter 1 266.047 266.127 it 1.0 it. cor
hsi_5_0718_209_002_inter 1 266.348 266.448 it's 0.885 It's cor
hsi_5_0718_209_002_inter 1 266.488 266.648 very 1.0 very cor
hsi_5_0718_209_002_inter 1 266.688 267.088 sensitive 1.0 sensitive. cor
hsi_5_0718_209_002_inter 1 270.449 270.589 that 0.343 That cor
hsi_5_0718_209_002_inter 1 270.609 270.69 one 0.137 one? cor
hsi_5_0718_209_002_inter 1 270.71 273.311 yeah 0.253 Yeah. cor
hsi_5_0718_209_002_inter 1 273.351 273.551 but 0.487 But cor
hsi_5_0718_209_002_inter 1 274.091 274.311 that's 0.759 that's cor
hsi_5_0718_209_002_inter 1 274.491 274.551 my 0.247 my cor
hsi_5_0718_209_002_inter 1 274.571 274.771 plant 0.52 plant. cor
hsi_5_0718_209_002_inter 1 274.891 275.011 that 0.404 That cor
hsi_5_0718_209_002_inter 1 275.031 275.132 one 0.395 one? cor
hsi_5_0718_209_002_inter 1 275.152 275.172 i 0.281 I cor
hsi_5_0718_209_002_inter 1 275.192 275.292 think 0.091 think cor
hsi_5_0718_209_002_inter 1 275.312 275.392 i 0.93 I cor
hsi_5_0718_209_002_inter 1 275.412 275.592 bought 0.286 bought cor
hsi_5_0718_209_002_inter 1 275.612 275.752 that 0.904 that cor
hsi_5_0718_209_002_inter 1 275.852 275.912 one 0.989 one. cor
hsi_5_0718_209_002_inter 1 299.09 299.13 i 0.947 I cor
hsi_5_0718_209_002_inter 1 299.17 299.39 also 0.473 also cor
hsi_5_0718_209_002_inter 1 299.43 299.57 put 0.996 put cor
hsi_5_0718_209_002_inter 1 299.61 299.81 this 0.836 this cor
hsi_5_0718_209_002_inter 1 299.991 300.291 grey 0.922 grey cor
hsi_5_0718_209_002_inter 1 300.331 300.851 decoration 0.92 decoration cor
hsi_5_0718_209_002_inter 1 300.911 300.971 on 0.99 on cor
hsi_5_0718_209_002_inter 1 300.991 301.071 the 0.867 the cor
hsi_5_0718_209_002_inter 1 301.111 301.351 lamp 1.0 lamp. cor
hsi_5_0718_209_002_inter 1 301.931 302.512 i 0.663 I cor
hsi_5_0718_209_002_inter 1 302.532 302.712 was 0.694 was cor
hsi_5_0718_209_002_inter 1 302.732 303.032 wondering 0.968 wondering cor
hsi_5_0718_209_002_inter 1 303.072 303.152 if 0.752 if cor
hsi_5_0718_209_002_inter 1 303.212 303.252 i 1.0 I cor
hsi_5_0718_209_002_inter 1 303.292 303.452 should 0.984 should cor
hsi_5_0718_209_002_inter 1 303.492 303.772 remove 0.917 remove cor
hsi_5_0718_209_002_inter 1 303.812 303.973 that 0.999 that. cor
hsi_5_0718_209_002_inter 1 303.993 304.093 is 0.583 Is cor
hsi_5_0718_209_002_inter 1 304.113 304.173 it 0.246 it cor
hsi_5_0718_209_002_inter 1 304.193 304.273 easy 0.004 easy cor
hsi_5_0718_209_002_inter 1 305.713 305.773 to 0.248 to cor
hsi_5_0718_209_002_inter 1 305.793 305.974 remove 0.187 remove? cor
hsi_5_0718_209_002_inter 1 306.014 306.074 i 0.971 I cor
hsi_5_0718_209_002_inter 1 306.114 306.254 think 0.962 think cor
hsi_5_0718_209_002_inter 1 306.294 306.394 so 0.988 so. cor
hsi_5_0718_209_002_inter 1 0.0 0.0 oh 0.656 Oh, cor
hsi_5_0718_209_002_inter 1 0.0 0.0 it's 0.403 it's cor
hsi_5_0718_209_002_inter 1 0.0 0.0 just 0.41 just cor
hsi_5_0718_209_002_inter 1 0.0 0.0 the 0.455 the cor
hsi_5_0718_209_002_inter 1 0.0 0.0 origami 0.66 origami. cor
hsi_5_0718_209_002_inter 1 351.403 351.483 do 0.958 Do cor
hsi_5_0718_209_002_inter 1 351.503 351.583 you 0.953 you cor
hsi_5_0718_209_002_inter 1 351.603 351.723 want 0.784 want cor
hsi_5_0718_209_002_inter 1 351.743 351.863 me 0.826 me cor
hsi_5_0718_209_002_inter 1 351.903 351.983 to 0.516 to cor
hsi_5_0718_209_002_inter 1 352.023 352.163 put 1.0 put cor
hsi_5_0718_209_002_inter 1 352.204 352.364 the 0.856 the cor
hsi_5_0718_209_002_inter 1 352.504 352.744 tv 0.794 TV cor
hsi_5_0718_209_002_inter 1 352.784 352.924 back 1.0 back cor
hsi_5_0718_209_002_inter 1 352.964 353.044 to 1.0 to cor
hsi_5_0718_209_002_inter 1 353.104 353.184 its 0.994 its cor
hsi_5_0718_209_002_inter 1 353.244 353.624 original 0.995 original cor
hsi_5_0718_209_002_inter 1 353.684 353.945 place 0.901 place? cor
hsi_5_0718_209_002_inter 1 356.226 356.286 no 0.25 No, cor
hsi_5_0718_209_002_inter 1 356.306 356.346 no 0.494 no, cor
hsi_5_0718_209_002_inter 1 356.366 356.406 no 0.001 no, cor
hsi_5_0718_209_002_inter 1 356.486 356.566 you 0.23 you cor
hsi_5_0718_209_002_inter 1 357.827 358.027 don't 0.334 don't cor
hsi_5_0718_209_002_inter 1 362.65 362.73 have 0.03 have cor
hsi_5_0718_209_002_inter 1 362.75 362.79 to 0.003 to. cor
hsi_5_0718_209_002_inter 1 362.81 362.89 okay 0.022 Okay. cor
hsi_5_0718_209_002_inter 1 362.91 362.99 okay 0.0 Okay, cor
hsi_5_0718_209_002_inter 1 363.05 363.23 but 0.915 but cor
hsi_5_0718_209_002_inter 1 363.25 363.45 yeah 0.513 yeah, cor
hsi_5_0718_209_002_inter 1 363.47 363.71 then 0.697 then cor
hsi_5_0718_209_002_inter 1 363.81 364.03 thanks 0.922 thanks cor
hsi_5_0718_209_002_inter 1 364.05 364.151 for 0.963 for cor
hsi_5_0718_209_002_inter 1 364.191 364.471 renting 0.721 renting cor
hsi_5_0718_209_002_inter 1 364.511 364.591 it 0.759 it cor
hsi_5_0718_209_002_inter 1 364.711 364.871 out 0.898 out cor
hsi_5_0718_209_002_inter 1 364.971 365.311 and 0.742 and cor
hsi_5_0718_209_002_inter 1 366.212 366.452 yeah 0.526 yeah, cor
hsi_5_0718_209_002_inter 1 367.312 367.432 we 0.963 we cor
hsi_5_0718_209_002_inter 1 367.452 367.673 will 0.934 will cor
hsi_5_0718_209_002_inter 1 368.893 369.113 chat 0.902 chat. cor
def ctmedit_to_tsv(fileid):
    filename = f"/Users/joregan/Playing/hsi_ctmedit/{fileid}.txt"
    outfile = f"/tmp/{fileid}.tsv"
    with open(filename) as inf, open(outfile, "w") as outf:
        lastend = 0.0
        for line in inf.readlines():
            line = line.strip()
            if line == "":
                outf.write("\n")
                continue
            parts = line.split()
            lastend = float(parts[3])
            if line.endswith(" cor"):
                outf.write(f"{parts[2]}\t{parts[3]}\t{parts[6]}\n")
            elif line.endswith(" sub"):
                outf.write(f"{parts[2]}\t{parts[3]}\t{parts[4]}/{parts[6]}\n")
            elif line.endswith(" ins"):
                outf.write(f"{parts[2]}\t{parts[3]}\t[{parts[4]}]\n")
            elif line.endswith(" del"):
                outf.write(f"{lastend}\t{lastend + 0.1}\t[{parts[4]}]\n")
ctmedit_to_tsv("hsi_5_0718_209_002_inter")
def set_to_left(text):
    lines = text.split("\n")
    for line in lines:
        if line == "":
            continue
        parts = line.split(" ")
        parts[6] = parts[4]
        parts[7] = "cor"
        print(" ".join(parts))
text = """
hsi_5_0718_209_001_inter 1 209.64 209.82 can 1.0 do sub
hsi_5_0718_209_001_inter 1 209.82 209.91 you 1.0 you cor
hsi_5_0718_209_001_inter 1 209.91 210.3 just 1.0 - ins
hsi_5_0718_209_001_inter 1 210.6 211.05 expand 1.0 - ins
hsi_5_0718_209_001_inter 1 211.05 211.2 with 0.664748 - ins
hsi_5_0718_209_001_inter 1 211.2 211.38 about 1.0 - ins
hsi_5_0718_209_001_inter 1 211.38 211.5 your 1.0 - ins
hsi_5_0718_209_001_inter 1 211.5 212.19 paintings 1.0 - ins
"""
set_to_left(text)
hsi_5_0718_209_001_inter 1 209.64 209.82 can 1.0 can cor
hsi_5_0718_209_001_inter 1 209.82 209.91 you 1.0 you cor
hsi_5_0718_209_001_inter 1 209.91 210.3 just 1.0 just cor
hsi_5_0718_209_001_inter 1 210.6 211.05 expand 1.0 expand cor
hsi_5_0718_209_001_inter 1 211.05 211.2 with 0.664748 with cor
hsi_5_0718_209_001_inter 1 211.2 211.38 about 1.0 about cor
hsi_5_0718_209_001_inter 1 211.38 211.5 your 1.0 your cor
hsi_5_0718_209_001_inter 1 211.5 212.19 paintings 1.0 paintings cor