DOKK / manpages / debian 12 / libplucene-perl / Plucene::Analysis::CharTokenizer.3pm.en
Plucene::Analysis::CharTokenizer(3pm) User Contributed Perl Documentation Plucene::Analysis::CharTokenizer(3pm)

Plucene::Analysis::CharTokenizer - base class for character tokenisers

        # isa Plucene::Analysis::Tokenizer
        my $next = $chartokenizer->next;

This is an abstract base class for simple, character-oriented tokenizers.

This should be defined in subclasses.

This will normalise the character before it is added to the token.

        my $next = $chartokenizer->next;

This will return the next token in the string, or undef at the end of the string.

2022-12-04 perl v5.36.0