|
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.sdk.common.infomining.analysis.DKIKFCategorizer
A categorizer determines categories for documents.
Constructor Summary | |
DKIKFCategorizer(DKIKFCatalog catalog)
Creates a new categorizer object that works on the specified catalog. |
Method Summary | |
DKIKFCategorizationResult[] |
analyze(DKIKFTextDocument doc)
categorizes doc . |
DKIKFCatalog |
getCatalog()
Returns the current catalog. |
int |
getMaxResults()
Returns the maximum number of results. |
float |
getMinConfidence()
Returns the minimum confidence. |
void |
setMaxResults(int maxResults)
Set the maximum number of results to be returned. |
void |
setMinConfidence(float minConfidence)
Sets the minimum confidence. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKIKFCategorizer(DKIKFCatalog catalog)
Method Detail |
public DKIKFCatalog getCatalog()
public void setMaxResults(int maxResults)
public int getMaxResults()
public void setMinConfidence(float minConfidence)
public float getMinConfidence()
public DKIKFCategorizationResult[] analyze(DKIKFTextDocument doc) throws DKIKFNoSuchCatalogException, DKIKFCatalogNotTrainedException, DKIKFUnsupportedLanguageException, DKIKFDocumentProcessingException
doc
. The result list is sorted starting with the
best matching category.DKIKFNoSuchCatalogException
- if the catalog doesn't exist in the libraryDKIKFDocumentLanguageNotSetException
- if the sepecified document has no languageDKIKFCatalogNotTrainedException
- if the has not been trainedDKIKFUnsupportedLanguageException
- if the document language is not supportedDKIKFDocumentProcessingException
- if an error occours durin processingDKIKFAuthorizationException
- if the user or group does not have the privileges IKFRetrieveCatalog and
IKFRunAnalysisFunc
|
IBM Information Integrator for Content V8.2 APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |