Classification and clause portioning