Identifying essential and correctly punctuated sentences