메소드 | 설명 | |
---|---|---|
Stem ( string term ) : string |
Stems the given term to a unique discriminator.
|
메소드 | 설명 | |
---|---|---|
DeleteButSuffixFrom ( string source, string search, string prefix, bool without ) : void |
Delete a suffix searched in zone "source" if preceded by the prefix
|
|
DeleteButSuffixFromElseReplace ( string source, string search, string prefix, bool without, string from, string replace ) : void |
Delete a suffix searched in zone "source" if preceded by prefix
|
|
DeleteFrom ( string source, string suffix ) : void |
Delete a search string within the source zone
|
|
DeleteFromIfPrecededIn ( string source, string search, string from, string prefix ) : bool |
Delete a suffix searched in zone "source" if zone "from" contains prefix + search string
|
|
DeleteFromIfTestVowelBeforeIn ( string source, string search, bool vowel, string from ) : bool |
Delete a suffix searched in zone "source" if the preceding letter is (or isn't) a vowel
|
|
IsStemmable ( string term ) : bool |
Checks a term if it can be processed correctly.
|
|
IsVowel ( char ch ) : bool |
Test if a char is a french vowel, including accentuated ones
|
|
ReplaceFrom ( string source, string search, string replace ) : bool |
Replace a search string with another within the source zone
|
|
RetrieveR ( StringBuilder buffer ) : string |
Retrieve the "R zone" (1 or 2 depending on the buffer) and return the corresponding string
|
|
RetrieveRV ( StringBuilder buffer ) : string |
Retrieve the "RV zone" from a buffer an return the corresponding string
|
|
SetStrings ( ) : void |
Sets the search region Strings
|
|
Step1 ( ) : void |
First step of the Porter Algorithm
|
|
Step2a ( ) : bool |
Second step (A) of the Porter Algorithm
|
|
Step2b ( ) : void |
Second step (B) of the Porter Algorithm
|
|
Step3 ( ) : void |
Third step of the Porter Algorithm
|
|
Step4 ( ) : void |
Fourth step of the Porter Algorithm
|
|
Step5 ( ) : void |
Fifth step of the Porter Algorithm
|
|
Step6 ( ) : void |
Sixth (and last!) step of the Porter Algorithm
|
|
TreatVowels ( StringBuilder buffer ) : StringBuilder |
Turns u and i preceded AND followed by a vowel to UpperCase
|
protected Stem ( string term ) : string | ||
term | string | java.langString The term that should be stemmed |
리턴 | string |