Plucen...nalyzer(3pm)

πŸ“¦
version 1.25 Β· 2 versions
  • 1.25 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.25 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Plucene::Analysis::StopAnalyzer β€” the stop-word analyzer πŸ’–

okay bestie, come sit with me, this one's a little page but it's doing a very specific job and it's lowkey iconic for it. this is a chunk of the User Contributed Perl Documentation collection, so it's community-coded, community-loved, and honestly? kind of a baddie.


✨ NAME ✨

Plucene::Analysis::StopAnalyzer β€” the stop-word analyzer. that's the whole name, that's the whole vibe. it analyzes stuff. it stops words. slay.


πŸŽ€ SYNOPSIS πŸŽ€

my Plucene::Analysis::StopFilter $sf
        = Plucene::Analysis::StopAnalyzer->new(@args);

ok so you make one with ->new(@args) and you get back a Plucene::Analysis::StopFilter. that's it. that's the whole ceremony. no cap. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Filters LetterTokenizer with LowerCaseFilter and StopFilter.

that's it, that's the tea. 🍡 LetterTokenizer gets pushed through LowerCaseFilter and then through StopFilter, in that order. the way that this one line is carrying the entire conceptual weight of the module… obsessed.


🌸 METHODS 🌸

tokenstream

my Plucene::Analysis::StopFilter $sf
        = Plucene::Analysis::StopAnalyzer->new(@args);

Filters LowerCaseTokenizer with StopFilter.

πŸ‘€ bestie, look closely, this is not a copy-paste typo situation β€” the DESCRIPTION above says LetterTokenizer and this method says LowerCaseTokenizer. those are different words. i am telling you exactly what the page tells me. do not @ me. 🫢

and that's the whole page, fr fr πŸ’–

a cute little sign-off for you: this page lives in the Perl documentation set, version perl v5.36.0, dated 2022-12-04, and yes it's still filed under Plucen...nalyzer(3pm) because even manpage titles get truncated and we still love them. mwah. πŸŽ€βœ¨

πŸ“¦ where this page comes from