2. The non-transitory, computer-readable storage medium of claim 1 wherein, when executed, the code causes the processor to compute a similarity measure between n-grams.
3. The non-transitory, computer-readable storage medium of claim 2 wherein, when executed, the code causes the processor to compute the similarity measure by computing a similarity measure based on the correlation of the histograms and the distance measure.