NAME
Clusterize::Pattern - provides various information about clusters built by Clusterize module.
VERSION
Version 0.02
DESCRIPTION
Clusterize::Pattern module is used by Clusterize module to provide the following information for the cluster: pattern, accuracy, size, digest.
METHODS
pattern
Returns regular expression that matches all strings in given cluster.
accuracy
Returns the value between 0 and 1 that reflects the similarity of strings in the given cluster. The accuracy value tends to 1 for very accurate clusters and to 0 for fuzzy clusters.
size
Returns the number of unique keys in given cluster.
digest
Returns MD5 hex digest for given cluster. It could be used to identify unique clusters.
pairs
Returns hash of key/value pairs for given cluster.
AUTHOR
Slava Moiseev, <slava.moiseev@yahoo.com>