KinoSearch1::Analysis::Stemmer(3pm)

KinoSearch1::Analysis::Stemmer3pm

Reduce related words to a shared root

Usage

    my $stemmer = KinoSearch1::Analysis::Stemmer->new( language => 'es' );
    
    my $polyanalyzer = KinoSearch1::Analysis::PolyAnalyzer->new(
        analyzers => [ $lc_normalizer, $tokenizer, $stemmer ],
    );

Overview

Stemming reduces words to a root form. For instance, "horse", "horses", and "horsing" all become "hors" -- so that a search for 'horse' will also match documents containing 'horses' and 'horsing'.

This class is a wrapper around Lingua::Stem::Snowball, so it supports the same languages.

Methods

new

Create a new stemmer. Takes a single named parameter, "language", which must be an ISO two-letter code that Lingua::Stem::Snowball understands.

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch1 version 1.01.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From libkinosearch1-perl 1.01-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.