debug sentence segment