logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Plucene::Search::Similarity - the score of a query

Description

       The score of a query for a given document.

Methods

norm
               my $norm = $sim->norm($num_term);

   byte_norm
               my $byte_norm = $sim->byte_norm($byte);

   tf
       Computes a score factor based on a term or phrase's frequency in a document.

   idf
       Computes a score factor for a phrase.

   coord
       Computes a score factor based on the fraction of all query terms that a document contains.

perl v5.36.0                                       2022-12-04                   Plucene::Search::Similarity(3pm)

Name

       Plucene::Search::Similarity - the score of a query

See Also