Lucy::Analysis::EasyAnalyzer(3pm)

Lucy::Analysis::EasyAnalyzer3pm

A simple analyzer chain easyanalyzer is an analyzer chain consisting of a standardtokenizer, a normalizer, and a easyanalyzer.

Usage

    my $schema = Lucy::Plan::Schema->new;
    my $analyzer = Lucy::Analysis::EasyAnalyzer->new(
        language => 'en',
    );
    my $type = Lucy::Plan::FullTextType->new(
        analyzer => $analyzer,
    );
    $schema->spec_field( name => 'title',   type => $type );
    $schema->spec_field( name => 'content', type => $type );

Overview

Supported languages:

    en => English,
    da => Danish,
    de => German,
    es => Spanish,
    fi => Finnish,
    fr => French,
    hu => Hungarian,
    it => Italian,
    nl => Dutch,
    no => Norwegian,
    pt => Portuguese,
    ro => Romanian,
    ru => Russian,
    sv => Swedish,
    tr => Turkish,

Constructors

new( [labeled params] )

    my $analyzer = Lucy::Analysis::EasyAnalyzer->new(
        language  => 'es',
    );
•

language - An ISO code from the list of supported languages.

Inheritance

Lucy::Analysis::EasyAnalyzer isa Lucy::Analysis::Analyzer isa Lucy::Object::Obj.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From liblucy-perl 0.3.3-7+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.