Nick Wellnhofer > Lucy > Lucy::Analysis::CaseFolder

Download:
Lucy-0.6.0.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.006000   Source   Latest Release: Lucy-0.6.0_2

NAME ^

Lucy::Analysis::CaseFolder - Normalize case, facilitating case-insensitive search.

SYNOPSIS ^

    my $case_folder = Lucy::Analysis::CaseFolder->new;

    my $polyanalyzer = Lucy::Analysis::PolyAnalyzer->new(
        analyzers => [ $tokenizer, $case_folder, $stemmer ],
    );

DESCRIPTION ^

CaseFolder is DEPRECATED. Use Normalizer instead.

CaseFolder normalizes text according to Unicode case-folding rules, so that searches will be case-insensitive.

CONSTRUCTORS ^

new

    my $case_folder = Lucy::Analysis::CaseFolder->new;

Constructor. Takes no arguments.

METHODS ^

transform

    my $inversion = $case_folder->transform($inversion);

Take a single Inversion as input and returns an Inversion, either the same one (presumably transformed in some way), or a new one.

INHERITANCE ^

Lucy::Analysis::CaseFolder isa Lucy::Analysis::Analyzer isa Clownfish::Obj.

syntax highlighting: