com.ibm.mm.sdk.common.infomining.analysis
Class DKIKFInformationExtractor
java.lang.Object
|
+--com.ibm.mm.sdk.common.infomining.analysis.DKIKFInformationExtractor
- public class DKIKFInformationExtractor
- extends java.lang.Object
A information extractor can be used to extract names, terms and expressions from a document.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DKIKFInformationExtractor
public DKIKFInformationExtractor(DKIKFService ikfService)
- Creates a new information extractor object.
getService
public DKIKFService getService()
- Returns the current service.
setFeatureTypes
public void setFeatureTypes(int types)
- Set the types which should be returned by the analyze()
methods. types should be the bitwise OR of the int fields
of class DKIKFFeature. The default is set to return all types.
getFeatureTypes
public int getFeatureTypes()
- Get the types which should be returned by the analyze()
methods. The return value is the bitwise or of the int fields
of class DKIKFFeature.
analyze
public DKIKFInformationExtractionResult analyze(DKIKFTextDocument doc)
throws DKIKFUnsupportedLanguageException,
DKIKFDocumentProcessingException
- analyses
doc
.
- Throws:
DKIKFDocumentLanguageNotSetException
- if the sepecified document has no languageDKIKFUnsupportedLanguageException
- if the document language is not supportedDKIKFDocumentProcessingException
- if an error occours durin processingDKIKFAuthorizationException
- if the user or group does not have the privilege IKFRunAnalysisFunc
© Copyright International Business Machines Corporation 1996, 2003 IBM Corp. All rights reserved.