com.ibm.mm.beans.infomining
Class CMBInformationExtractionService
java.lang.Object
|
+--com.ibm.mm.beans.infomining.CMBInfoMiningBean
|
+--com.ibm.mm.beans.infomining.CMBConnectedMiningBean
|
+--com.ibm.mm.beans.infomining.CMBTextAnalysisBean
|
+--com.ibm.mm.beans.infomining.CMBInformationExtractionService
- All Implemented Interfaces:
- com.ibm.mm.beans.CMBConnectionReplyListener, CMBTextAnalysisRequestListener, java.util.EventListener, java.io.Serializable
- public class CMBInformationExtractionService
- extends CMBTextAnalysisBean
The CMBInformationExtractionService is a non-visual bean that can be used to
determine the language of a document.
Properties and Events Overview:
pre-conditions open server connection
properties (default) resultListSeparator (',')
featureTypes(TYPE_EXPRESSION | TYPE_NAME | TYPE_TERM)
traceEnabled (false)
bound properties none
constrained properties none
event target for CMBTextAnalysisRequestEvent
CMBConnectionReplyEvent
event source for CMBExceptionEvent
CMBTraceEvent
CMBTextAnalysisReplyEvent
CMBTextAnalysisRequestEvent
CMBStoreItemRequestEvent
- See Also:
- Serialized Form
Method Summary |
int |
getFeatureTypes()
Gets the types of features to be extracted. |
char |
getResultListSeparator()
Gets the character to be used to separate extracted information in the record. |
void |
setFeatureTypes(int types)
Sets the types of features to be extracted. |
void |
setResultListSeparator(char separator)
Sets the character to be used to separate extracted information in the record. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_EXPRESSION
public static final int TYPE_EXPRESSION
TYPE_NAME
public static final int TYPE_NAME
TYPE_TERM
public static final int TYPE_TERM
CMBInformationExtractionService
public CMBInformationExtractionService()
- Creates a new CMBInformationExtractionService.
setResultListSeparator
public void setResultListSeparator(char separator)
- Sets the character to be used to separate extracted information in the record.
- Parameters:
separator
- character to separate result list entries- See Also:
getResultListSeparator()
getResultListSeparator
public char getResultListSeparator()
- Gets the character to be used to separate extracted information in the record.
- See Also:
setResultListSeparator(char)
setFeatureTypes
public void setFeatureTypes(int types)
- Sets the types of features to be extracted.
Types should be the bitwise OR of the public fields.
The default is set to return all types.
- See Also:
getFeatureTypes()
getFeatureTypes
public int getFeatureTypes()
- Gets the types of features to be extracted.
- See Also:
setFeatureTypes(int)
© Copyright International Business Machines Corporation 1996, 2003 IBM Corp. All rights reserved.