|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.CMBSummarizationService
The CMBSummarizationService is a non-visual bean that can be used to determine summaries for documents.
Properties and Events Overview: pre-conditions open server connection properties (default) maxLength (3) ratio (0.1) mode (LESS_THAN_MAXLENGTH_MODE) traceEnabled (false) bound properties none constrained properties none event target for CMBTextAnalysisRequestEvent CMBConnectionReplyEvent event source for CMBExceptionEvent CMBTraceEvent CMBTextAnalysisReplyEvent CMBTextAnalysisRequestEvent CMBStoreRecordRequestEvent
Field Summary | |
static int |
EQUALS_RATIO_BUT_AT_MOST_MAXLENGTH_MODE
return at least ( ratio * total number of sentences), but
at most maxLength many sentences. |
static int |
EQUALS_RATIO_MODE
return exactly ( ratio * total number of sentences)
many sentences. |
static int |
LESS_THAN_MAXLENGTH_MODE
return at most maxLength many sentences. |
Constructor Summary | |
CMBSummarizationService()
Creates a new CMBSummarizationService. |
Method Summary | |
int |
getMaxLength()
Returns the current maximal number of sentences in a summary. |
int |
getMode()
Returns the current summarizarion mode (see public fields). |
float |
getRatio()
Returns the current sentence ratio. |
void |
setMaxLength(int maxLength)
Sets the maximal number of sentences in a summary. |
void |
setMode(int mode)
Sets the summarizarion mode (see public fields). |
void |
setRatio(float ratio)
Sets the sentence ratio. |
Methods inherited from class com.ibm.mm.beans.infomining.CMBTextAnalysisBean |
addCMBStoreRecordRequestListener, addCMBTextAnalysisReplyListener, addCMBTextAnalysisRequestListener, finalize, onCMBTextAnalysisRequest, removeCMBStoreRecordRequestListener, removeCMBTextAnalysisReplyListener, removeCMBTextAnalysisRequestListener |
Methods inherited from class com.ibm.mm.beans.infomining.CMBConnectedMiningBean |
getConnection, isConnected, onCMBConnectionReply, setConnection, validateConnection |
Methods inherited from class com.ibm.mm.beans.infomining.CMBInfoMiningBean |
addCMBExceptionListener, addCMBTraceListener, isTraceEnabled, removeCMBExceptionListener, removeCMBTraceListener, setTraceEnabled |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LESS_THAN_MAXLENGTH_MODE
maxLength
many sentences.public static final int EQUALS_RATIO_MODE
ratio
* total number of sentences)
many sentences.public static final int EQUALS_RATIO_BUT_AT_MOST_MAXLENGTH_MODE
ratio
* total number of sentences), but
at most maxLength
many sentences.Constructor Detail |
public CMBSummarizationService()
Method Detail |
public void setMaxLength(int maxLength)
maxLength
- the maximal number of sentences.getMaxLength()
,
setMode(int)
public int getMaxLength()
setMaxLength(int)
public void setRatio(float ratio)
getRatio()
,
setMode(int)
public float getRatio()
setRatio(float)
public void setMode(int mode)
the
- new mode.getMode()
public int getMode()
setMode(int)
|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |