1. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for grouping of character sequences, said method steps comprising: identifying a sequence of characters; identifying a set of internal repeats in said sequence of characters by: identifying a set of proper templates; identifying a first set of patterns based on said set of proper templates and said sequence of characters, wherein each pattern within said first set of patterns is contained within said sequence of characters; and combining patterns within said first set of patterns to form a second set of patterns, wherein each pattern within said second set of patterns is contained within said sequence of characters; for at least one internal repeat belonging to said set of internal repeats, determining if said at least one internal repeat corresponds to a group of character sequences; upon determining that said at least one internal repeat corresponds to a group of character sequences, storing in persistent storage first data that identifies said sequence of characters and second data that associates said sequence of characters with said group of character sequences.