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.

  • inversion - An inversion.

INHERITANCE

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