Acme-CPANModules-Similarity
view release on metacpan or search on metacpan
NAME
Acme::CPANModules::Similarity - List of modules to finding similarity
between stuffs
VERSION
This document describes version 0.001 of Acme::CPANModules::Similarity
(from Perl distribution Acme-CPANModules-Similarity), released on
2024-01-17.
DESCRIPTION
** Between arrays/bags/sets
Algorithm::HowSimilar uses Algorithm::Diff to calculate similarity
between two arrays. It can also calculate similarity between two
strings.
Bag::Similarity
Set::Jaccard::SimilarityCoefficient
Set::Partitions::Similarity
Set::Similarity provides several algorithms.
** Between codes
School::Code::Compare
** Between colors
Color::Similarity
Color::RGB::Util provides rgb_diff() and rgb_distance() to calculate
difference between two RGB colors using one of several algorithms.
** Between files
File::FindSimilars uses file size and a modified soundex algorithm on
the filename to determine similarity.
** Between graphs
Graph::Similarity
** Between HTML/XML documents
HTML::Similarity calculates the structural similarity between two HTML
documents.
XML::Similarity
** Between images
Image::Similar
** Between strings/texts
Similarity between two text can be calculated using Levenshtein edit
distance. There are several levenshtein modules on CPAN, among others:
Text::Levenshtein, Text::Levenshtein::XS, Text::Levenshtein::Flexible,
Text::LevenshteinXS, Text::Fuzzy. For more details, see
Bencher::Scenario::LevenshteinModules.
Soundex can also be used. Some example soundex moduless: Text::Soundex,
Text::Phonetic::Soundex.
Algorithm::HowSimilar uses Algorithm::Diff to calculate similarity
between two strings. It's roughly similar in speed to pure-perl
Levenshtein modules, and tend to be faster for longer strings. It can
also calculate similarity between two arrays.
String::Similarity
String::Similarity::Group
Text::Similarity
String::Simrank
String::Similex
** Between vectors
Data::CosineSimilarity
** Between words (semantic similarity)
WordNet::Similarity
WordNet::SenseRelate::AllWords
** Others
Cluster::Similarity
ACME::CPANMODULES ENTRIES
Algorithm::HowSimilar
Author: JFREEMAN <https://metacpan.org/author/JFREEMAN>
Bag::Similarity
Author: WOLLMERS <https://metacpan.org/author/WOLLMERS>
Set::Jaccard::SimilarityCoefficient
Author: MLFISHER <https://metacpan.org/author/MLFISHER>
Set::Partitions::Similarity
Author: KUBINA <https://metacpan.org/author/KUBINA>
Set::Similarity
Author: WOLLMERS <https://metacpan.org/author/WOLLMERS>
School::Code::Compare
Author: BORISD <https://metacpan.org/author/BORISD>
Color::Similarity
Author: MBARBON <https://metacpan.org/author/MBARBON>
Color::RGB::Util
( run in 0.965 second using v1.01-cache-2.11-cpan-d8267643d1d )