Text::Similarity - module for measuring the similarity of text documents
use Text::Similarity; my $mod = Text::Similarity->new; my $score = $mod->getRelatedness ($text_file1, $text_file2);
This module serves as a superclass for other modules that implement measures of text document similarity.
Text::Similarity::Overlaps Text::Similarity::BagOfWords
http://text-similarity.sourceforge.net
Jason Michelizzi, <jmichelizzi at sourceforge.net>
Ted Pedersen, <tpederse at d.umn.edu>
Copyright (C) 2004 by Jason Michelizzi and Ted Pedersen
This library is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License, version 2 or, at your option, any later version.
To install Text::Similarity, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Similarity
CPAN shell
perl -MCPAN -e shell install Text::Similarity
For more information on module installation, please visit the detailed CPAN module installation guide.