com.ibm.mm.sdk.common.infomining.analysis
Class DKIKFFeature
java.lang.Object
|
+--com.ibm.mm.sdk.common.infomining.analysis.DKIKFFeature
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class DKIKFFeature
- extends java.lang.Object
- implements java.io.Serializable
A feature is one of the results returned by the DKIKFInformationExtractor
.
It is of type expression
, name
or
term
and of one of the subtypes
.
- See Also:
- Serialized Form
Method Summary |
abstract java.lang.String |
getString()
Returns the feature string. |
abstract int |
getSubType()
Returns the subtype of this feature. |
abstract float |
getSubTypeConfidence()
Returns a level of confidence between 0 and 1 how sure the subtype catgory is. |
abstract int |
getType()
Returns the type of this feature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBTYPE_EXPRESSION_ABBREVIATION
public static final int SUBTYPE_EXPRESSION_ABBREVIATION
SUBTYPE_EXPRESSION_CARDINAL
public static final int SUBTYPE_EXPRESSION_CARDINAL
SUBTYPE_EXPRESSION_DATE
public static final int SUBTYPE_EXPRESSION_DATE
SUBTYPE_EXPRESSION_MONEY
public static final int SUBTYPE_EXPRESSION_MONEY
SUBTYPE_EXPRESSION_ORDINAL
public static final int SUBTYPE_EXPRESSION_ORDINAL
SUBTYPE_EXPRESSION_PERCENT
public static final int SUBTYPE_EXPRESSION_PERCENT
SUBTYPE_EXPRESSION_TIME
public static final int SUBTYPE_EXPRESSION_TIME
SUBTYPE_NAME_ORGANIZATION
public static final int SUBTYPE_NAME_ORGANIZATION
SUBTYPE_NAME_OTHER
public static final int SUBTYPE_NAME_OTHER
SUBTYPE_NAME_PERSON
public static final int SUBTYPE_NAME_PERSON
SUBTYPE_NAME_PLACE
public static final int SUBTYPE_NAME_PLACE
SUBTYPE_NAME_UNKNOWN
public static final int SUBTYPE_NAME_UNKNOWN
SUBTYPE_TERM_UNSPECIFIED
public static final int SUBTYPE_TERM_UNSPECIFIED
TYPE_EXPRESSION
public static final int TYPE_EXPRESSION
TYPE_NAME
public static final int TYPE_NAME
TYPE_TERM
public static final int TYPE_TERM
DKIKFFeature
protected DKIKFFeature()
- Objects can be obtained from
DKIKFInformationExtractionResult
.
getSubTypeConfidence
public abstract float getSubTypeConfidence()
- Returns a level of confidence between 0 and 1 how sure the subtype catgory is.
- Returns:
- the confidence for the subtype
- See Also:
getSubType()
getString
public abstract java.lang.String getString()
- Returns the feature string.
- Returns:
- the feature string.
- See Also:
getType()
getSubType
public abstract int getSubType()
- Returns the
subtype
of this feature.
- Returns:
- the subtype
- See Also:
getSubTypeConfidence()
,
getType()
getType
public abstract int getType()
- Returns the
type
of this feature.
- Returns:
- the type
- See Also:
getSubType()
© Copyright International Business Machines Corporation 1996, 2003 IBM Corp. All rights reserved.