We propose three similarity measures for comparing images based on their N Theta M gram profile. The similarity between two images using dot product, S dp , is given in Equation 1. We have adopted this idea for images. Language-independent categorization of text . Words as such receive no special treatment.
Frequency based methods model the frequency distributions of various events.
For the system call application, the events are occurrences of each pattern of system calls in a sequence. Each document is represented by a vector that is a histogram of sequence frequencies. Each histogram vector then identifies a point in a multidimensional space, and similar documents are expected to have points close to each other. One appealing form of metadata for a corpus is that corpus n gram profile. To date many different approaches have been used to address the problem of language identification in general texts.