Rename Segment to ngrams.