Algorithm-VSM

 view release on metacpan or  search on metacpan

examples/calculate_precision_and_recall_from_file_based_relevancies_for_LSA.pl  view on Meta::CPAN

#!/usr/bin/perl -w

##  calculate_precision_and_recall_from_file_based_relevancies_for_LSA.pl

##  This script looks for human-supplied relevancy judgments in a file called
##  `relevancy.txt' for the queries in the file `test_queries.txt'

##  See Item 10 of the README of the `examples' directory for further information.


use strict;
use Algorithm::VSM;

my $corpus_dir = "corpus";                     # This is the directory containing
                                               # the corpus

examples/calculate_precision_and_recall_from_file_based_relevancies_for_VSM.pl  view on Meta::CPAN

#!/usr/bin/perl -w

##  calculate_precision_and_recall_from_file_based_relevancies_for_VSM.pl

##  This script looks for human-supplied relevancy judgments in a file called
##  `relevancy.txt' for the queries in the file `test_queries.txt'

##  See Item 9 of the README of the `examples' directory for further information.

use strict;
use Algorithm::VSM;

my $corpus_dir = "corpus";                     # This is the directory containing
                                               # the corpus



( run in 0.474 second using v1.01-cache-2.11-cpan-64827b87656 )