Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Plucene /
Analysis /
[ HOME SHELL ]
Name
Size
Permission
Action
Standard
[ DIR ]
drwxr-xr-x
Analyzer.pm
864
B
-rw-r--r--
CharTokenizer.pm
1.58
KB
-rw-r--r--
LetterTokenizer.pm
532
B
-rw-r--r--
LowerCaseFilter.pm
627
B
-rw-r--r--
LowerCaseTokenizer.pm
421
B
-rw-r--r--
PorterStemFilter.pm
1.72
KB
-rw-r--r--
SimpleAnalyzer.pm
799
B
-rw-r--r--
StopAnalyzer.pm
1.09
KB
-rw-r--r--
StopFilter.pm
934
B
-rw-r--r--
Token.pm
1.21
KB
-rw-r--r--
TokenFilter.pm
548
B
-rw-r--r--
Tokenizer.pm
851
B
-rw-r--r--
WhitespaceAnalyzer.pm
795
B
-rw-r--r--
WhitespaceTokenizer.pm
462
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PorterStemFilter.pm
package Plucene::Analysis::PorterStemFilter; =head1 NAME Plucene::Analysis::PorterStemFilter - Porter stemming on the token stream =head1 SYNOPSIS # isa Plucene::Analysis:::TokenFilter my $token = $porter_stem_filter->next; =head1 DESCRIPTION This class transforms the token stream as per the Porter stemming algorithm. Note: the input to the stemming filter must already be in lower case, so you will need to use LowerCaseFilter or LowerCaseTokenizer farther down the Tokenizer chain in order for this to work properly! The Porter Stemmer implements Porter Algorithm for normalization of English words by stripping their extensions and is used to generalize the searches. For example, the Porter algorithm maps both 'search' and 'searching' (as well as 'searchnessing') to 'search' such that a query for 'search' will also match documents that contains the word 'searching'. Note that the Porter algorithm is specific to the English language and may give unpredictable results for other languages. Also, make sure to use the same analyzer during the indexing and the searching. You can find more information on the Porter algorithm at www.tartarus.org/~martin/PorterStemmer. A nice online demonstration of the Porter algorithm is available at www.scs.carleton.ca/~dquesnel/java/stuff/PorterApplet.html. =head1 METHODS =cut use strict; use warnings; use Lingua::Stem::En; Lingua::Stem::En::stem_caching({ -level => 2 }); use base 'Plucene::Analysis::TokenFilter'; =head2 next my $token = $porter_stem_filter->next; Returns the next input token, after being stemmed. =cut sub next { my $self = shift; my $t = $self->input->next or return; $t->text(@{ Lingua::Stem::En::stem({ -words => [ $t->text ] }) }); return $t; } 1;
Close