SAP ABAP Class CL_UMG_TEXTPROB (Find a language for a string)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-I18-UNI (Application Component) I18N Unicode
⤷ SUMIG (Package) Unicode Migration: Tabellen Umsetzer + Reparatur Tool
⤷ BC-I18-UNI (Application Component) I18N Unicode
⤷ SUMIG (Package) Unicode Migration: Tabellen Umsetzer + Reparatur Tool
Properties
Class | CL_UMG_TEXTPROB | |
Short Description | Find a language for a string | |
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 | 20041129 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | T | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_UMG_TEXTPROB has no interface implemented.
Friends
Class CL_UMG_TEXTPROB has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ASCII_RATIO | Instance attribute | Private | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
2 | ASIAN_LANG | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | TRUE if language is asian | 20041202 | ||
3 | BIGRAMS | Instance attribute | Private | Type reference (TYPE) | T_BIGRAMS | Contains all bigrams | 20041130 | ||
4 | DCP_RATIO | Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
5 | DEBUG_MODE | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Status of Debug Mode | 20041208 | ||
6 | LANGUAGE | Instance attribute | Private | Type reference (TYPE) | LANG | Language ID | 20041129 | ||
7 | OUTTAB | Instance attribute | Public | Type reference (TYPE) | UMGTSTRINGS | Used for debugging only | 20041201 | ||
8 | SCP_RATIO | Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
9 | TCP_RATIO | Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
10 | TECP_RATIO | Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041214 | ||
11 | TETRAGRAMS | Instance attribute | Private | Type reference (TYPE) | T_TETRAGRAMS | Contains all tetragrams | 20041214 | ||
12 | TOTAL_CHAR_NUM | Instance attribute | Private | Type reference (TYPE) | I | Number of character in character table | 20041202 | ||
13 | TOTAL_PROB | Instance attribute | Private | Type reference (TYPE) | F | Probability for Character Statistics | 20041129 | ||
14 | TRIGRAMS | Instance attribute | Private | Type reference (TYPE) | T_TRIGRAMS | Contains all trigrams | 20041130 | ||
15 | UNIGRAMS | Instance attribute | Private | Type reference (TYPE) | T_UNIGRAMS | Contains all unigrams | 20041129 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALC_TOTAL_PROB | Instance method | Private | Method | Caculates the probability for the character sequence | 20041201 |
2 | CONDITION_MET | Instance method | Public | Method | Return TRUE if all conditions for SCP/DCP/TCP ratio are met | 20041201 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20041130 |
4 | DEBUG | Instance method | Public | Method | used for debuging only | 20041203 |
5 | IS_ASIAN_LANG | Instance method | Private | Method | return TRUE if language is an asian language | 20041202 |
6 | LANG | Instance method | Public | Method | Return the language | 20041201 |
7 | PROBABILITY | Instance method | Public | Method | Return the total probability | 20041201 |
8 | PURGE_CHAR_TABLE | Instance method | Private | Method | Modifies the character table depending on language | 20041201 |
Events
Class CL_UMG_TEXTPROB has no event.
Types
Class CL_UMG_TEXTPROB has no local type.
Method Signatures
Method CALC_TOTAL_PROB Signature
Method CALC_TOTAL_PROB on class CL_UMG_TEXTPROB has no parameter.
Method CALC_TOTAL_PROB on class CL_UMG_TEXTPROB has no exception.
Method CONDITION_MET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RE_FLAG | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20041201 |
Method CONDITION_MET on class CL_UMG_TEXTPROB has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_CHAR_TABLE | Call by reference | Type reference (TYPE) | UMGTCHAR | Zeichentabelle für Statistikmethode | 20041130 | ||
2 | Importing | IM_DEBUG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041208 | |||
3 | Importing | IM_LANGUAGE | Call by reference | Type reference (TYPE) | LANG | Sprachenschlüssel | 20041130 |
Method CONSTRUCTOR on class CL_UMG_TEXTPROB has no exception.
Method DEBUG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | OUTTAB | Value transfer | Type reference (TYPE) | UMGTSTRINGS | SUMG-Zeichenketten | 20041203 |
Method DEBUG on class CL_UMG_TEXTPROB has no exception.
Method IS_ASIAN_LANG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_LANGUAGE | Call by reference | Type reference (TYPE) | LANG | Sprachenschlüssel | 20041202 | ||
2 | Returning | RE_ASIAN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20041202 |
Method IS_ASIAN_LANG on class CL_UMG_TEXTPROB has no exception.
Method LANG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RE_LANGUAGE | Value transfer | Type reference (TYPE) | LANG | Sprachenschlüssel | 20041201 |
Method LANG on class CL_UMG_TEXTPROB has no exception.
Method PROBABILITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RE_PROBABILITY | Value transfer | Type reference (TYPE) | UMGPROB | Wahrscheinlichkeit für Zeichenstatistik | 20041201 |
Method PROBABILITY on class CL_UMG_TEXTPROB has no exception.
Method PURGE_CHAR_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_ASCII_NUM | Value transfer | Type reference (TYPE) | I | 20041201 | |||
2 | Changing | IM_CHAR_TABLE | Call by reference | Type reference (TYPE) | UMGTCHAR | Zeichentabelle für Statistikmethode | 20041201 |
Method PURGE_CHAR_TABLE on class CL_UMG_TEXTPROB has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 700 |