18. The contextual similarity measurement system of claim 13 , further comprising: a preprocessor to preprocess the compared document and the reference document to enhance the statistical features of the compared document and the reference document.
13. A contextual similarity measurement system comprising: a storage device to store a database; a processing device communicably coupled to the storage device; a similarity model generator executed by the processing device, the similarity model generator configured to create a similarity model of a reference document stored in a database in the database, the similarity model of the reference document based on an adaptive entropy coding compressor; and a similarity comparator executed by the processing device, the similarity comparator configured to: compute, for each of the reference document and a compared document, a number of compression bit needed to compress each of the reference document and the compared document using the similarity model of the reference document; normalize each of the computed number of compression bits for the reference document and the compared document, wherein normalizing each of the computer number of compression bits comprising dividing the computed number of compression bits by a number of tokens in the document being normalized; assign each of the normalized computed number of compression bits as a similarity score for the respective reference document and the compared document; and compute a similarity measure between the compared document and the reference document, the similarity measure being a function of each of the similarity scores of the compared document and the reference document.