KinoSearch1::Analysis::Analyzer(3pm)

KinoSearch1::Analysis::Analyzer3pm

Base class for analyzers

Usage

    # abstract base class -- you probably want PolyAnalyzer, not this.

Overview

In KinoSearch1, an Analyzer is a filter which processes text, transforming it from one form into another. For instance, an analyzer might break up a long text into smaller pieces (Tokenizer), or it might convert text to lowercase (LCNormalizer).

Methods

analyze (EXPERIMENTAL)

    $token_batch = $analyzer->analyze($token_batch);

All Analyzer subclasses provide an "analyze" method. analyze() takes a single TokenBatch as input, and it returns a TokenBatch, either the same one (probably transformed in some way), or a new one.

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.