SAP ABAP Class CL_ESH_QP_EN_STEMMER (Algorithmic Stemmer)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_QUERY_PARSER_RD (Package) Recursive descent query parser
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ESH_QP_STEMMER | Algorithmic Stemmer | 20091027 |
Properties
| Class | CL_ESH_QP_EN_STEMMER | |
| Short Description | Algorithmic Stemmer | |
| Super Class | CL_ESH_QP_STEMMER | Algorithmic Stemmer |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_QUERY_PARSER_RD | Recursive descent query parser |
| Created | 20090813 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ESH_QP_EN_STEMMER has no interface implemented.
Friends
Class CL_ESH_QP_EN_STEMMER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | LTT_STEM_EXCEPTIONS | Stem exceptions | 20090813 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | LTT_STEM_STEPS | Stemmer steps | 20090813 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | LTT_STEM_STEPS | Stemmer steps | 20090813 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | LTT_STEM_STEPS | Stemmer steps | 20090813 | |||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'cdeghkmnrt' | 20090813 | |||
| 6 | Constant | Private | Type reference (TYPE) | STRING | 'aeiouy' | 20090813 | |||
| 7 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_REGEX | Regular expressions | 20090813 |
Methods
Events
Class CL_ESH_QP_EN_STEMMER has no event.
Types
Class CL_ESH_QP_EN_STEMMER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ESH_QP_EN_STEMMER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Stemmer Exception | 20090813 |
Method CONSTRUCTOR_SAVE Signature
Method CONSTRUCTOR_SAVE on class CL_ESH_QP_EN_STEMMER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Stemmer Exception | 20091027 |
Method CONTAINS_VOWEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LEN | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 2 | IV_OFF | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 3 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 4 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090813 |
Method CONTAINS_VOWEL on class CL_ESH_QP_EN_STEMMER has no exception.
Method DELETE_SUFFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | EV_DELETED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | 20090813 |
Method DELETE_SUFFIX on class CL_ESH_QP_EN_STEMMER has no exception.
Method DELETE_SUFFIX_BY_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | EV_DELETED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | IV_SUFFIX_LEN | Call by reference | Type reference (TYPE) | I | 20090813 |
Method DELETE_SUFFIX_BY_LENGTH on class CL_ESH_QP_EN_STEMMER has no exception.
Method GET_STEM_SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WORD | Call by reference | Type reference (TYPE) | STRING | 20091027 | ||||
| 2 | RT_STEM | Value transfer | Type reference (TYPE) | STRING | 20091027 |
Method GET_STEM_SAVE on class CL_ESH_QP_EN_STEMMER has no exception.
Method INSERT_STEP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_STEPS | Call by reference | Type reference (TYPE) | LTT_STEM_STEPS | Stem Steps | 20090813 | |||
| 2 | IV_REPLACEMENT | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20090813 | |||
| 3 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20090813 |
Method INSERT_STEP on class CL_ESH_QP_EN_STEMMER has no exception.
Method IS_SHORT_SYLLABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SYLLABLE | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | RV_SUCCESS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090813 |
Method IS_SHORT_SYLLABLE on class CL_ESH_QP_EN_STEMMER has no exception.
Method IS_SHORT_WORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_R1 | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 2 | IV_WORD | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 3 | RV_SUCCESS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090813 |
Method IS_SHORT_WORD on class CL_ESH_QP_EN_STEMMER has no exception.
Method MATCH_SUFFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | 20090813 | ||||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 3 | RV_MATCHED_FLAG | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090813 |
Method MATCH_SUFFIX on class CL_ESH_QP_EN_STEMMER has no exception.
Method MATCH_SUFFIX_IN_REGION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LEN | Call by reference | Type reference (TYPE) | I | Length of suffix matched (regex) | 20090813 | |||
| 2 | EV_MATCHED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | EV_MATCHED_IN_REGION_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 4 | IV_OFF | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 5 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 | |||
| 6 | IV_SUFFIX_REGEX | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 7 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 |
Method MATCH_SUFFIX_IN_REGION on class CL_ESH_QP_EN_STEMMER has no exception.
Method NORMALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20090813 |
Method NORMALIZE on class CL_ESH_QP_EN_STEMMER has no exception.
Method REPLACE_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATTERN | Call by reference | Type reference (TYPE) | CLIKE | 20090813 | ||||
| 2 | IV_SUBSTITUTE | Call by reference | Type reference (TYPE) | CLIKE | 20090813 | ||||
| 3 | IV_TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20090813 | ||||
| 4 | RV_NEWTEXT | Value transfer | Type reference (TYPE) | STRING | 20090813 |
Method REPLACE_ALL on class CL_ESH_QP_EN_STEMMER has no exception.
Method REPLACE_SUFFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | EV_REPLACED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | IV_NEW | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 | |||
| 4 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 |
Method REPLACE_SUFFIX on class CL_ESH_QP_EN_STEMMER has no exception.
Method REPLACE_SUFFIX_1B Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | EV_MATCHED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | EV_REPLACED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 4 | IV_R1 | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 5 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 |
Method REPLACE_SUFFIX_1B on class CL_ESH_QP_EN_STEMMER has no exception.
Method REPLACE_SUFFIX_BY_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | EV_REPLACED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | IV_NEW | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 | |||
| 4 | IV_SUFFIX_LEN | Call by reference | Type reference (TYPE) | I | 20090813 |
Method REPLACE_SUFFIX_BY_LENGTH on class CL_ESH_QP_EN_STEMMER has no exception.
Method REPLACE_SUFFIX_IN_REGION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | EV_MATCHED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 3 | EV_REPLACED_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090813 | ||||
| 4 | IV_NEW | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 | |||
| 5 | IV_OFF | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 6 | IV_SUFFIX | Call by reference | Type reference (TYPE) | CHAR32 | Afffix | 20090813 | |||
| 7 | IV_SUFFIX_REGEX | Call by reference | Type reference (TYPE) | STRING | 20090813 |
Method REPLACE_SUFFIX_IN_REGION on class CL_ESH_QP_EN_STEMMER has no exception.
Method SET_R1 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WORD | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 2 | RV_R1 | Value transfer | Type reference (TYPE) | I | 20090813 |
Method SET_R1 on class CL_ESH_QP_EN_STEMMER has no exception.
Method SET_R2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_R1 | Call by reference | Type reference (TYPE) | I | 20090813 | ||||
| 2 | IV_WORD | Call by reference | Type reference (TYPE) | STRING | 20090813 | ||||
| 3 | RV_R2 | Value transfer | Type reference (TYPE) | I | 20090813 |
Method SET_R2 on class CL_ESH_QP_EN_STEMMER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |