cosine_cmp - compute cosine similarity between two documents
cosine_cmp [options] FILE1 FILE2
Cosine similarity is a measure of similarity between two vectors of an inner product space that measures the cosine of the angle between them. The cosine of 0 is 1, and less than 1 for any other angle; the lowest value of the cosine is -1. The cosine of the angle between two vectors thus determines whether two vectors are pointing in roughly the same direction. This is often used to compare documents in text mining. In addition, it is used to measure cohesion within clusters in the field of data mining.
Feature vector length (in KB, default: 10).
Custom seed (integer).
How many bits do represent one character. The default value, 8, sacrifices Unicode handling but is fast and low on memory footprint. The value of 18 encompasses Basic Multilingual, Supplementary Multilingual and Supplementary Ideographic planes.
Stanislaw Pusep <firstname.lastname@example.org>
This software is copyright (c) 2014 by Stanislaw Pusep.