Plucen...nalyzer(3pm)
π Plucene::Analysis::WhitespaceAnalyzer β white space analyzer π
okay bestie, welcome to a lil corner of the User Contributed Perl Documentation, section 3pm β yes, it's a Perl module manpage and yes it's adorable. It's called Plucene::Analysis::WhitespaceAnalyzer and it is, no cap, exactly what it sounds like: an analyzer that just splits stuff on whitespace. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
# isa Plucene::Analysis::Analyzer
my Plucene::Analysis::WhitespaceTokenizer $wt
= Plucene::Analysis::WhitespaceAnalyzer->new(@args);
like. look at her. she isa Plucene::Analysis::Analyzer, and you spin one up with ->new(@args). iconic behaviour honestly. π
πΈ DESCRIPTION πΈ
So here's the tea: this is an Analyzer that uses a WhitespaceTokenizer. That's it. That's the entire description. No hidden lore, no secret plot twist. It's giving minimal. It's giving unbothered. It's giving white space and nothing else. π
π§ METHODS π§
π tokenstream
my Plucene::Analysis::WhitespaceTokenizer $wt
= Plucene::Analysis::WhitespaceAnalyzer->new(@args);
Creates a TokenStream which tokenizes all the text in the provided Reader. β¨
fr fr, that's the whole method: hand it aReader, get back aTokenStreamthat's chewed through every bit of text in there and broken it up. nothing extra, nothing skipped. π«Ά
π a lil sign-off, as a treat π
This page ships with perl v5.36.0 and was last touched on 2022-12-04. mwah. go forth and tokenize, bestie. ππβ
π¦ where this page comes from
- debian bookworm: libplucene-perl 1.25-5
- debian trixie: libplucene-perl 1.25-5
- ubuntu noble: libplucene-perl 1.25-5
- ubuntu resolute: libplucene-perl 1.25-5
- ubuntu stonking: libplucene-perl 1.25-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms