1. A computer-readable storage medium having instructions stored thereon for processing data information, such that the instructions, when carried out by a processing device, enable a processing device to perform the operations comprising: receiving an ordered collection of text-based terms; analyzing groupings of consecutive text-based terms in the ordered collection to identify occurrences of different combinations of consecutive text-based terms in the ordered collection; and maintaining frequency information representing the occurrences of the different combinations of consecutive text-based terms in the collection.
11. The computer-readable storage medium of claim 1 wherein the operations further comprise: generating a hierarchical tree of the text-based terms in the collection, the hierarchical tree including a parent level and a child level, the parent level including a parent node representing a first unique text-based term in the ordered collection, the child level including at least one child node representing a second unique text-based term in the ordered collection document.