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

⤷

⤷

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 | ![]() |
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) |
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 | ![]() |
Instance attribute | Private | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | TRUE if language is asian | 20041202 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_BIGRAMS | Contains all bigrams | 20041130 | ||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Status of Debug Mode | 20041208 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | LANG | Language ID | 20041129 | ||
7 | ![]() |
Instance attribute | Public | Type reference (TYPE) | UMGTSTRINGS | Used for debugging only | 20041201 | ||
8 | ![]() |
Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
9 | ![]() |
Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041129 | ||
10 | ![]() |
Instance attribute | Public | Type reference (TYPE) | UMGACHARRATIO | Character attribute used for statistics method | 20041214 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_TETRAGRAMS | Contains all tetragrams | 20041214 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Number of character in character table | 20041202 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | F | Probability for Character Statistics | 20041129 | ||
14 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_TRIGRAMS | Contains all trigrams | 20041130 | ||
15 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_UNIGRAMS | Contains all unigrams | 20041129 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Caculates the probability for the character sequence | 20041201 |
2 | ![]() |
Instance method | Public | Method | Return TRUE if all conditions for SCP/DCP/TCP ratio are met | 20041201 |
3 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20041130 |
4 | ![]() |
Instance method | Public | Method | used for debuging only | 20041203 |
5 | ![]() |
Instance method | Private | Method | return TRUE if language is an asian language | 20041202 |
6 | ![]() |
Instance method | Public | Method | Return the language | 20041201 |
7 | ![]() |
Instance method | Public | Method | Return the total probability | 20041201 |
8 | ![]() |
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 | ![]() |
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 | ![]() |
IM_CHAR_TABLE | Call by reference | Type reference (TYPE) | UMGTCHAR | Zeichentabelle für Statistikmethode | 20041130 | ||
2 | ![]() |
IM_DEBUG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041208 | |||
3 | ![]() |
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 | ![]() |
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 | ![]() |
IM_LANGUAGE | Call by reference | Type reference (TYPE) | LANG | Sprachenschlüssel | 20041202 | ||
2 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
EX_ASCII_NUM | Value transfer | Type reference (TYPE) | I | 20041201 | |||
2 | ![]() |
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 |