IBM Information Integrator for Content V8.2 APIs

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.


Constructor Summary
DKIKFInformationExtractor(DKIKFService ikfService)
          Creates a new information extractor object.
 
Method Summary
 DKIKFInformationExtractionResult analyze(DKIKFTextDocument doc)
          analyses doc.
 int getFeatureTypes()
          Get the types which should be returned by the analyze() methods.
 DKIKFService getService()
          Returns the current service.
 void setFeatureTypes(int types)
          Set the types which should be returned by the analyze() methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKIKFInformationExtractor

public DKIKFInformationExtractor(DKIKFService ikfService)
Creates a new information extractor object.
Method Detail

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 language
DKIKFUnsupportedLanguageException - if the document language is not supported
DKIKFDocumentProcessingException - if an error occours durin processing
DKIKFAuthorizationException - if the user or group does not have the privilege IKFRunAnalysisFunc

IBM Information Integrator for Content V8.2 APIs

© Copyright International Business Machines Corporation 1996, 2003 IBM Corp. All rights reserved.