SAP ABAP Class CL_UMG_AL_NA_CHARSTAT (Sprache automatisch über Zeichenstatistik zuordnen)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18-UNI (Application Component) I18N Unicode
⤷
SUMIG (Package) Unicode Migration: Tabellen Umsetzer + Reparatur Tool
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_UMG_ASSIGN_LANG | interface for assigning languages to text | 20050719 |
Properties
| Class | CL_UMG_AL_NA_CHARSTAT | |
| Short Description | Sprache automatisch über Zeichenstatistik zuordnen | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SUMIG | Unicode Migration: Tabellen Umsetzer + Reparatur Tool |
| Created | 20050719 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_UMG_ASSIGN_LANG | interface for assigning languages to text | 20050719 |
Friends
Class CL_UMG_AL_NA_CHARSTAT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | UMGTOLANG | Language list for which the Zipf/Mandelbrot method works | 20050719 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | UMGTCHAR2STAT | Character Statistics for Bigrams | 20050719 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | T_COMCHAR | 20060908 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_UMG_CHAR_STAT | Convert and Update Character Statistic Data | 20050719 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Status: Debug Mode | 20050719 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | UMGTSTRINGS | SUMG Strings | 20050719 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | UMGTVOCRATING | Rating for automatic assignment method CL_UMG_AL_NA_CHARSTAT | 20060906 | |||
| 8 | Static Attribute | Public | Type reference (TYPE) | UMGTCHAR4STAT | Character Statistics for Tetragrams | 20050719 | |||
| 9 | Static Attribute | Public | Type reference (TYPE) | UMGTCHAR3STAT | Character Statistics for Trigrams | 20050719 | |||
| 10 | Static Attribute | Public | Type reference (TYPE) | UMGTCHAR1STAT | Character Statistics for Unigrams | 20050719 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Calculate rating for given assignments | 20060906 | |
| 2 | Instance method | Private | Method | Check for common character set | 20060908 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20050719 | |
| 4 | Instance method | Private | Method | Delete non critical assignments from rating table | 20060908 | |
| 5 | Instance method | Private | Method | 20050810 |
Events
Class CL_UMG_AL_NA_CHARSTAT has no event.
Types
Class CL_UMG_AL_NA_CHARSTAT has no local type.
Method Signatures
Method CALC_RATING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RESULTS | Call by reference | Type reference (TYPE) | T_TRES | Rating for automatic assignment method CL_UMG_AL_NA_CHARSTAT | 20060906 | |||
| 2 | IM_WORD | Call by reference | Type reference (TYPE) | STRING | SPUMG/SUMG word | 20060906 | |||
| 3 | RE_RATING | Value transfer | Type reference (TYPE) | UMGSVOCRATING | Rating for automatic assign method CL_UMG_AL_N/A_CHARSTAT | 20060906 |
Method CALC_RATING on class CL_UMG_AL_NA_CHARSTAT has no exception.
Method CHECK_COMMON_CHARSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CP1 | Call by reference | Type reference (TYPE) | UMGACP | Code Page | 20060908 | |||
| 2 | IM_CP2 | Call by reference | Type reference (TYPE) | UMGACP | Code Page | 20060908 | |||
| 3 | IM_WORD | Call by reference | Type reference (TYPE) | TEXT30 | Text (30 Characters) | 20060908 | |||
| 4 | RE_RC | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20060908 |
Method CHECK_COMMON_CHARSET on class CL_UMG_AL_NA_CHARSTAT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DEBUG | Call by reference | Type reference (TYPE) | ABAP_BOOL | Run in Debug Mode ? | 20050719 |
Method CONSTRUCTOR on class CL_UMG_AL_NA_CHARSTAT has no exception.
Method PURGE_RATTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_RATTAB | Call by reference | Type reference (TYPE) | UMGTVOCRATING | Rating for automatic assignment method CL_UMG_AL_NA_CHARSTAT | 20060908 |
Method PURGE_RATTAB on class CL_UMG_AL_NA_CHARSTAT has no exception.
Method TO_UPPER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_UC_CHAR_TABLE | Call by reference | Type reference (TYPE) | UMGTCHAR | Character Table for statistics method | 20050810 | |||
| 2 | IM_CHAR_TABLE | Call by reference | Type reference (TYPE) | UMGTCHAR | Character Table for statistics method | 20050810 |
Method TO_UPPER on class CL_UMG_AL_NA_CHARSTAT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |