View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Nick Wellnhofer > Lucy > Lucy::Analysis::CaseFolder

Download:
Lucy-0.6.2.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.006002   Source  

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: