for line in open('morph-it_048.txt.utf8', 'r').readlines():
    line = line.replace('\\', '\\\\').strip()
    line = line.replace(':', '\\:')
    parts = line.split('\t')
    if len(parts) != 3:
        parts = line.split(' ')
    assert(len(parts) == 3)
    print(parts[0] + ':' + parts[1] + " " + parts[2])
