def preproc_transcript(transcript, num_lines=float('inf')):
    transcript = transcript.strip()
    utts = list()
    l = 0
    for line in transcript.split('\n'):
        utt = line.split(' ', 1)[1].lower()
        utts.append(utt)
        l += 1
        if l >= num_lines:
            break
    return utts
Regression test for #413: median_filter does not handle bytes orders.
dataset/ETHPy150Open amaas/stanford-ctc/ctc_fast/clm/prep_text.py/preproc_transcript--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/ndimage/tests/test_regression.py/test_byte_order_median