Jason Michelizzi > Text-Similarity-0.02 > text_compare.pl

Download:
Text-Similarity-0.02.tar.gz

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: Text-Similarity-0.05

NAME ^

text_compare.pl - simple command-line interface to Text::Similarity

SYNOPSIS ^

text_compare.pl [[--verbose] [--stoplist=FILE] [--no-normalize] --type=TYPE | --help | --version] FILE1 FILE2

DESCRIPTION ^

This script is a simple command-line interface to the Text::Similarity set of Perl modules.

OPTIONS ^

--type=TYPE

The type of text similarity measure. Valid values include:

    Text::Similarity::Overlaps
--stoplist=FILE

The name of a file containing stop words (one word per line).

--no-normalize

Do not normalize scores. Normally, scores are normalized so that they range from 0 to 1. Using this option will give you a raw score instead.

--verbose

Be verbose.

--help

Show a detailed help message.

--version

Show version information.

AUTHORS ^

Jason Michelizz <jmichelizzi at gmail.com>

Ted Pedersen <tpederse at d.umn.edu>

BUGS ^

Probably

COPYRIGHT AND LICENSE ^

Copyright (C) 2004, Jason Michelizzi and Ted Pedersen

This program is free software; you may redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

syntax highlighting: