trim transcript before splitting words