SAP ABAP Class CL_SMI_POST_PROCESSOR (Processes all Sentences of a Post)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-SMI (Application Component) Social Media Intelligence Foundation
     BS_SOMI_DATA_MODELS (Package) Datta Models for Social Media Intelligence
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SMI_POST_PROCESSOR Processes all Sentences of a Post 20130813
Properties
Class CL_SMI_POST_PROCESSOR  
Short Description Processes all Sentences of a Post    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BS_SOMI_DATA_MODELS   Datta Models for Social Media Intelligence 
Created 20130803   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SMI_POST_PROCESSOR has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_SMI_POST_PROCESSOR Processes all Sentences of a Post 20130813
Friends
# Friend Modeled only Created on Description
1 CL_SMI_POST_PROCESSOR_FACTORY 20130813 Factoty for post processor
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_SENTIMENT_LIST Constant Public See coding 20130813
2 GT_SENTIMENTS Static Attribute Private See coding 20130813
3 GV_ENV_LANGU Static Attribute Private Type reference (TYPE) SPRAS 20130813
4 MO_ENTITY_TYPE_PROVIDER Instance attribute Private Object reference (TYPE REF TO) CL_SMI_ENTITY_TYPE_PROVIDER 20130813
5 MO_WRITER Instance attribute Private Object reference (TYPE REF TO) IF_SMI_SENTIMENT_ASSIGN_WRITER 20131112
6 MR_RESULT Instance attribute Private Object reference (TYPE REF TO) TY_T_ASSIGNED_SENTIMENTS 20130813
7 MT_ALL_SENTIMENTS Instance attribute Private See coding 20130813
8 MT_SENTENCES Instance attribute Private See coding 20130813
9 MV_ACTUAL_SENTENCE Instance attribute Private Type reference (TYPE) IF_SMI_TA_RESULT_ACCESS=>TY_S_TA_RESULT-TA_SENTENCE 20130813
10 MV_COUNTER Instance attribute Private Type reference (TYPE) I 0 20130813
11 MV_POST_CREATE_DATE Instance attribute Private Type reference (TYPE) D 20130813
12 MV_POST_CREATE_TIME Instance attribute Private Type reference (TYPE) SMI_S_SENTI_ASSIGNMENT-POST_CREATION_DATETIME 20130813
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ROW Instance method Public Method 20130813
2 APPEND_PURE_SENTIMENT Instance method Private Method 20130813
3 APPEND_RESULT Instance method Private Method 20131112
4 APPEND_TOPIC_WO_SENTIMENT Instance method Private Method 20130813
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20130813
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20130813
7 CONVERT_AVG Instance method Private Method 20131112
8 CONVERT_RESULT Instance method Private Method 20131112
9 CONVERT_SENTIMENT Instance method Private Method 20130813
10 CREATE_RESULT_ENTRY Instance method Private Method 20130813
11 GET_ASSIGNMENT_RESULT Instance method Public Method 20130813
12 IS_NEW_KEY Instance method Private Method 20131112
13 NORMALIZE_TOKEN Instance method Private Method 20130813
14 PROCESS_ONE_SENTENCE Instance method Private Method 20130813
Events
Class CL_SMI_POST_PROCESSOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_S_BIPOLAR Private See coding 20131112 BEGIN OF lty_s_bipolar, pos TYPE abap_bool, neg TYPE abap_bool, net TYPE abap_bool, END OF lty_s_bipolar
2 LTY_T_SENTIMENT_ROWS Private See coding 20130813 lty_t_sentiment_rows TYPE STANDARD TABLE OF REF TO if_smi_ta_result_access=>ty_s_ta_result
3 TY_T_ASSIGNED_SENTIMENTS Public Attribute reference (LIKE) 20130813
Method Signatures

Method ADD_ROW Signature

Method ADD_ROW on class CL_SMI_POST_PROCESSOR has no parameter.
Method ADD_ROW on class CL_SMI_POST_PROCESSOR has no exception.

Method APPEND_PURE_SENTIMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RESULT Call by reference Object reference (TYPE REF TO) TY_T_ASSIGNED_SENTIMENTS 20130813

Method APPEND_PURE_SENTIMENT on class CL_SMI_POST_PROCESSOR has no exception.

Method APPEND_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RESULT Call by reference Type reference (TYPE) IF_SMI_POST_ASSIGNMENT_WRITER=>TY_T_POST_RESULT 20131112
2 Importing IS_ENTITY_INFO Call by reference Type reference (TYPE) SMI_S_SENTI_ASSIGNMENT 20131112
3 Importing IV_AVG_SENTIMENT Call by reference Type reference (TYPE) SMI_AVG_SENTIMENT 20131112
4 Importing IV_IS_BIPOLAR Call by reference Type reference (TYPE) LTY_S_BIPOLAR 20131112

Method APPEND_RESULT on class CL_SMI_POST_PROCESSOR has no exception.

Method APPEND_TOPIC_WO_SENTIMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LAST_SENTIMENT Call by reference Object reference (TYPE REF TO) IF_SMI_TA_RESULT_ACCESS=>TY_S_TA_RESULT 20130813
2 Importing IR_RESULT Call by reference Object reference (TYPE REF TO) TY_T_ASSIGNED_SENTIMENTS 20130813
3 Importing IT_TOPICS Call by reference Type reference (TYPE) LTY_T_SENTIMENT_ROWS 20130813

Method APPEND_TOPIC_WO_SENTIMENT on class CL_SMI_POST_PROCESSOR has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_SMI_POST_PROCESSOR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SMI_POST_PROCESSOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ASSIGNMENT_WRITER Call by reference Object reference (TYPE REF TO) IF_SMI_SENTIMENT_ASSIGN_WRITER 20131112
2 Importing IO_ENTITY_TYPE_PROVIDER Call by reference Object reference (TYPE REF TO) CL_SMI_ENTITY_TYPE_PROVIDER 20130813
3 Importing IV_POST_CREATE_TIME Call by reference Type reference (TYPE) SMI_S_SENTI_ASSIGNMENT-POST_CREATION_DATETIME 20130813

Method CONSTRUCTOR on class CL_SMI_POST_PROCESSOR has no exception.

Method CONVERT_AVG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AVG_SENTIMENT Call by reference Type reference (TYPE) SMI_AVG_SENTIMENT 20131112
2 Returning RV_SENTIMENT_VAL Value transfer Type reference (TYPE) SMI_SENTIMENT_VALUATION 20131112

Method CONVERT_AVG on class CL_SMI_POST_PROCESSOR has no exception.

Method CONVERT_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RESULT Call by reference Object reference (TYPE REF TO) TY_T_ASSIGNED_SENTIMENTS 20131112
2 Returning RT_RESULT Value transfer Type reference (TYPE) IF_SMI_POST_ASSIGNMENT_WRITER=>TY_T_POST_RESULT 20131112

Method CONVERT_RESULT on class CL_SMI_POST_PROCESSOR has no exception.

Method CONVERT_SENTIMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SENTIMENT Call by reference Type reference (TYPE) IF_SMI_TA_RESULT_ACCESS=>TY_S_TA_RESULT-TA_TYPE 20130813
2 Returning RV_SENTIMENT_VALUE Value transfer Type reference (TYPE) SMI_S_SENTI_ASSIGNMENT-SENTIMENT_VALUE 20130813

Method CONVERT_SENTIMENT on class CL_SMI_POST_PROCESSOR has no exception.

Method CREATE_RESULT_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ENHANCED Call by reference Object reference (TYPE REF TO) TY_T_ASSIGNED_SENTIMENTS 20130813
2 Importing IT_SENTIMENTS Call by reference Type reference (TYPE) LTY_T_SENTIMENT_ROWS 20130813
3 Importing IT_TOPICS Call by reference Type reference (TYPE) LTY_T_SENTIMENT_ROWS 20130813

Method CREATE_RESULT_ENTRY on class CL_SMI_POST_PROCESSOR has no exception.

Method GET_ASSIGNMENT_RESULT Signature

Method GET_ASSIGNMENT_RESULT on class CL_SMI_POST_PROCESSOR has no parameter.
Method GET_ASSIGNMENT_RESULT on class CL_SMI_POST_PROCESSOR has no exception.

Method IS_NEW_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LAST_KEY Call by reference Type reference (TYPE) SMI_S_SENTI_ASSIGNMENT 20131112
2 Importing IS_NEXT_ROW Call by reference Type reference (TYPE) SMI_S_SENTI_ASSIGNMENT 20131112
3 Returning RV_IS_NEW_KEY Value transfer Type reference (TYPE) ABAP_BOOL 20131112

Method IS_NEW_KEY on class CL_SMI_POST_PROCESSOR has no exception.

Method NORMALIZE_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Call by reference Type reference (TYPE) IF_SMI_TA_RESULT_ACCESS=>TY_S_TA_RESULT-TA_LANGUAGE 20130813
2 Importing IV_TOKEN Call by reference Type reference (TYPE) IF_SMI_TA_RESULT_ACCESS=>TY_S_TA_RESULT-TA_TOKEN 20130813
3 Returning RV_NORMALIZE_TOKEN Value transfer Type reference (TYPE) IF_SMI_TA_RESULT_ACCESS=>TY_S_TA_RESULT-TA_TOKEN 20130813

Method NORMALIZE_TOKEN on class CL_SMI_POST_PROCESSOR has no exception.

Method PROCESS_ONE_SENTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RESULT Call by reference Object reference (TYPE REF TO) TY_T_ASSIGNED_SENTIMENTS 20130813

Method PROCESS_ONE_SENTENCE on class CL_SMI_POST_PROCESSOR has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in