public class InformationExtraction extends ApplicationObject
Modifier and Type | Class and Description |
---|---|
static class |
InformationExtraction.ExtractionState
Enumeration for the various states of extraction.
|
Modifier and Type | Field and Description |
---|---|
static String |
BESTRELATIONTRIPLES_ATTRIBUTE
The name of the Attribute representing
the best Relation Triples produced from the NLP analysis.
|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
COMPLETIONDATE_ATTRIBUTE
The name of the Attribute representing
The time this object was completed.
|
static String |
CONFIRMEDOUTCOME_ATTRIBUTE
The name of the Attribute representing
the confirmed Outcome for this object.
|
static String |
CONFIRMEDRESULTS_ATTRIBUTE
The name of the attribute that holds the confirmed results based on the
Confirmed outcome and any other summary information.
|
static String |
COREFCHAINS_ATTRIBUTE
The name of the Attribute representing
the Coreference chains for the entire document.
|
static String |
EDITEDOUTCOMES_ATTRIBUTE
The name of the Attribute representing
the edited Outcomes for this object.
|
static String |
EVENTKEY_EXTRACTIONSTATE_CANCEL_CONFIRMATION_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_CANCEL_CONFIRMATION_REQUESTED |
static String |
EVENTKEY_EXTRACTIONSTATE_CANCELLED |
static String |
EVENTKEY_EXTRACTIONSTATE_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_CONFIRMED |
static String |
EVENTKEY_EXTRACTIONSTATE_FAILED |
static String |
EVENTKEY_EXTRACTIONSTATE_FINISH_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_FINISH_REQUESTED |
static String |
EVENTKEY_EXTRACTIONSTATE_PARSE_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_PARSE_REQUESTED |
static String |
EVENTKEY_EXTRACTIONSTATE_PREPARE_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_PREPARE_REQUESTED |
static String |
EVENTKEY_EXTRACTIONSTATE_READY_FOR_EDIT |
static String |
EVENTKEY_EXTRACTIONSTATE_READY_FOR_EXECUTION |
static String |
EVENTKEY_EXTRACTIONSTATE_SOLVE_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_SOLVE_REQUESTED |
static String |
EVENTKEY_EXTRACTIONSTATE_TRAIN_COMPLETED |
static String |
EVENTKEY_EXTRACTIONSTATE_TRAIN_REQUESTED |
static String |
EXECUTEDDATE_ATTRIBUTE
The name of the Attribute representing
The time this object was executed.
|
static String |
EXTRACTIONSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionSpecification that configures the extraction.
|
static String |
EXTRACTIONSTATE_ATTRIBUTE
The name of the Attribute that holds
Tte state of the extraction, managed by the handlers as the
Extraction progresses through the stages of parse, solve, finish,
edit, and train.
|
static String |
FINISHEROVERRIDESETTINGS_ATTRIBUTE
The name of the attribute that holds the overridden finisher settings.
|
static String |
FINISHERSETTINGS_ATTRIBUTE
The name of the attribute that holds the effective finisher settings.
|
static String |
PARSEROVERRIDESETTINGS_ATTRIBUTE
The name of the attribute that holds the overridden parser settings.
|
static String |
PARSERSETTINGS_ATTRIBUTE
The name of the attribute that holds the effective parser settings.
|
static String |
PREPAREROVERRIDESETTINGS_ATTRIBUTE
The name of the attribute that holds the overridden preparer settings.
|
static String |
PREPARERSETTINGS_ATTRIBUTE
The name of the attribute that holds the effective preparer settings.
|
static String |
PROPERTY_KEY_MANUAL_EXECUTION
The name of the simple property (stored as a Preparer override) that
indicates whether this InformationExtraction is being executed manually.
|
static String |
SCHEDULEDEXECUTIONDATE_ATTRIBUTE
The name of the Attribute representing
The time this object should become ready for execution.
|
static String |
SENTENCES_ATTRIBUTE
The name of the Attribute representing
the sentences of an InformationExtraction.
|
static String |
SETTINGS_ATTRIBUTE
The name of the attribute that holds the miscellaneous settings.
|
static String |
SOLVEDOUTCOME_ATTRIBUTE
The name of the Attribute representing
the original solved Outcome for this object.
|
static String |
SOLVEROVERRIDESETTINGS_ATTRIBUTE
The name of the attribute that holds the overridden solver settings.
|
static String |
SOLVERSETTINGS_ATTRIBUTE
The name of the attribute that holds the effective solver settings.
|
static String |
SOURCEDOCUMENT_ATTRIBUTE
The name of the Attribute representing
The source document for this extraction.
|
static String |
STATECHANGEDATE_ATTRIBUTE
The name of the Attribute representing
The time and date of the last Extraction state change.
|
static String |
TOKENLIST_ATTRIBUTE
The name of the Attribute representing
The token list comprising the set of tokens for the entire document.
|
static String |
TOKENSDOCUMENT_ATTRIBUTE
The name of the Attribute representing
The text document created during the prepare phase, which holds the tokens
corresponding to the Source Document for this extraction.
|
static String |
TRAINEROVERRIDESETTINGS_ATTRIBUTE
The name of the attribute that holds the overridden trainer settings.
|
static String |
TRAINERSETTINGS_ATTRIBUTE
The name of the attribute that holds the effective trainer settings.
|
static String |
UNCONFIRMEDRESULTS_ATTRIBUTE
The name of the attribute that holds the unconfirmed results
from the Prepare, Parse, Solve, and Finish phases.
|
ACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Constructor and Description |
---|
InformationExtraction(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a InformationExtraction object.
|
Modifier and Type | Method and Description |
---|---|
void |
addConfirmedResult(String key,
AttributeValue value)
Adds a ConfirmedResult (SimpleProperty) for this object.
|
void |
addUnconfirmedResult(String key,
AttributeValue value)
Adds a UnconfirmedResult (SimpleProperty) for this object.
|
String |
deriveSummaryText()
Derive the summary text.
|
InformationExtractionRelationTriple[] |
getBestRelationTriples()
Gets the best Relation Triples produced from the NLP analysis.
|
Date |
getCompletionDate()
Gets the time this object was completed.
|
InformationExtractionOutcome |
getConfirmedOutcome()
Gets the confirmed Outcome for this object.
|
AttributeValue |
getConfirmedResult(String propName)
Gets the confirmed result matching the specified property name.
|
SimpleProperty[] |
getConfirmedResults()
Gets the confirmed results based on the
Confirmed outcome and any other summary information.
|
InformationExtractionCorefChain[] |
getCorefChains()
Gets Coreference chains for the entire document.
|
protected InformationExtractionSpecification |
getDefaultInformationExtractionSpecification()
Gets the default InformationExtractionSpecification to use for a new instance.
|
InformationExtractionOutcome[] |
getEditedOutcomes()
Gets the edited Outcomes for this object.
|
Date |
getExecutedDate()
Gets the time this object was executed.
|
InformationExtractionSpecification |
getExtractionSpecification()
Gets the InformationExtractionSpecification that configures this extraction.
|
InformationExtraction.ExtractionState |
getExtractionState()
Gets the current extraction state.
|
int |
getExtractionStateCode()
Gets the current extraction state numeric code.
|
String |
getExtractionStateName()
Gets the state name for the current extraction state.
|
SimpleProperty[] |
getFinisherOverrideSettings()
Gets the overridden finisher settings used when this object is executed.
|
SimpleProperty[] |
getFinisherSettings()
Gets the effective finisher settings used when this object is executed.
|
SimpleProperty[] |
getParserOverrideSettings()
Gets the overridden parser settings used when this object is executed.
|
SimpleProperty[] |
getParserSettings()
Gets the effective parser settings used when this object is executed.
|
SimpleProperty[] |
getPreparerOverrideSettings()
Gets the overridden preparer settings used when this object is executed.
|
SimpleProperty[] |
getPreparerSettings()
Gets the effective preparer settings used when this object is executed.
|
Date |
getScheduledExecutionDate()
Gets the time this object should become ready for execution.
|
InformationExtractionSentence[] |
getSentences()
Gets the InformationExtractionSentence objects that hold sentence information for
a InformationExtraction.
|
SimpleProperty[] |
getSettings()
Gets the miscellaneous settings used when this object is executed.
|
InformationExtractionOutcome |
getSolvedOutcome()
Gets the original solved Outcome for this object.
|
SimpleProperty[] |
getSolverOverrideSettings()
Gets the overridden solver settings used when this object is executed.
|
SimpleProperty[] |
getSolverSettings()
Gets the effective solver settings used when this object is executed.
|
Document |
getSourceDocument()
Gets the source document for this extraction.
|
Date |
getStateChangeDate()
Gets the time and date of the last Extraction state change.
|
InformationExtractionTokenList |
getTokenList()
Gets the token list comprising the set of tokens for the entire document.
|
Document |
getTokensDocument()
Gets the text document holding the tokens corresponding to the
Source Document of this extraction.
|
SimpleProperty[] |
getTrainerOverrideSettings()
Gets the overridden trainer settings used when this object is executed.
|
SimpleProperty[] |
getTrainerSettings()
Gets the effective trainer settings used when this object is executed.
|
AttributeValue |
getUnconfirmedResult(String propName)
Gets the unconfirmed result matching the specified property name.
|
SimpleProperty[] |
getUnconfirmedResults()
Gets the unconfirmed results from the Prepare, Parse,
Solve, and Finish phases.
|
boolean |
isManualExecution()
Gets indication as to whether the current execution is being
performed manually, typically via the executeInformationExtraction
operation in ExtractionOperations.
|
protected void |
postCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the
creation of a PublicObject.
|
protected void |
preCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
creation of a PublicObject.
|
protected void |
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
permanent deletion ("free") of a object.
|
protected void |
preUpdate(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the update of
a PublicObject.
|
void |
removeConfirmedResult(String key)
Removes a ConfirmedResult (SimpleProperty) for this object.
|
void |
removeUnconfirmedResult(String key)
Removes an UnconfirmedResult (SimpleProperty) for this object.
|
void |
setBestRelationTriples(InformationExtractionRelationTriple[] val)
Sets the best Relation Triples produced from the NLP analysis.
|
void |
setCancelConfirmationRequested()
Mark the InformationExtraction as requesting a cancel of a previous confirmation.
|
void |
setCancelled()
Mark the InformationExtraction as cancelled.
|
void |
setCompleted()
Mark the InformationExtraction as completed.
|
void |
setConfirmed()
Mark the InformationExtraction as confirmed.
|
void |
setConfirmedOutcome(InformationExtractionOutcome val)
Sets the confirmed Outcome for this object.
|
void |
setCorefChains(InformationExtractionCorefChain[] val)
Sets Coreference chains for the entire document.
|
void |
setExtractionState(InformationExtraction.ExtractionState newState)
Sets a new extraction state.
|
void |
setExtractionState(InformationExtraction.ExtractionState newState,
InformationExtractionDefinition def)
Sets a new extraction state.
|
void |
setExtractionStateCode(int newStateCode)
Sets a new extraction state code.
|
void |
setFailed()
Mark the InformationExtraction as failed.
|
void |
setManualExecution(boolean val)
Sets indication as to whether the current execution is being
performed manually, typically via the executeInformationExtraction
operation in ExtractionOperations.
|
void |
setReadyForEdit()
Mark the InformationExtraction as ready for edit.
|
void |
setReadyForExecution()
Mark the InformationExtraction as ready for execution.
|
void |
setScheduledExecutionDate(Date val)
Sets the time/date this object should become ready for execution.
|
void |
setSentences(InformationExtractionSentence[] val)
Sets the sentences of an InformationExtraction.
|
void |
setSolvedOutcome(InformationExtractionOutcome val)
Sets the original solved Outcome for this object.
|
void |
setSourceDocument(Document val)
Sets the source document for this extraction.
|
void |
setTokenList(InformationExtractionTokenList val)
Sets the token list comprising the set of tokens for the entire document.
|
void |
setTokensDocument(Document val)
Sets the text document holding the tokens corresponding
to the Source Document of this extracton.
|
auditPublicObjectLocked, auditPublicObjectUnlocked, auditUpdated, constructApplicationObject, constructApplicationObjectVector, isValidEventType, reportApplicationObjectCreated, reportApplicationObjectFreed
addAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, capabilities, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, free, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getNextVersion, getOwner, getPolicyBundle, getPolicyLists, getPreviousVersion, getPrimaryFolderPath, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersionNumber, getVersions, getVersionSeries, getWorkingCopy, grantAccess, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isVersioned, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postSecurityChangedEvent, postUpdate, preCopy, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, revokeAccess, revokeAllAccess, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeries
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String EXTRACTIONSPECIFICATION_ATTRIBUTE
public static final String EXTRACTIONSTATE_ATTRIBUTE
public static final String SOURCEDOCUMENT_ATTRIBUTE
public static final String TOKENSDOCUMENT_ATTRIBUTE
public static final String STATECHANGEDATE_ATTRIBUTE
public static final String SCHEDULEDEXECUTIONDATE_ATTRIBUTE
public static final String EXECUTEDDATE_ATTRIBUTE
public static final String COMPLETIONDATE_ATTRIBUTE
public static final String PREPAREROVERRIDESETTINGS_ATTRIBUTE
public static final String PARSEROVERRIDESETTINGS_ATTRIBUTE
public static final String SOLVEROVERRIDESETTINGS_ATTRIBUTE
public static final String FINISHEROVERRIDESETTINGS_ATTRIBUTE
public static final String TRAINEROVERRIDESETTINGS_ATTRIBUTE
public static final String PREPARERSETTINGS_ATTRIBUTE
public static final String PARSERSETTINGS_ATTRIBUTE
public static final String SOLVERSETTINGS_ATTRIBUTE
public static final String FINISHERSETTINGS_ATTRIBUTE
public static final String TRAINERSETTINGS_ATTRIBUTE
public static final String TOKENLIST_ATTRIBUTE
public static final String SENTENCES_ATTRIBUTE
public static final String COREFCHAINS_ATTRIBUTE
public static final String BESTRELATIONTRIPLES_ATTRIBUTE
public static final String SOLVEDOUTCOME_ATTRIBUTE
public static final String CONFIRMEDOUTCOME_ATTRIBUTE
public static final String EDITEDOUTCOMES_ATTRIBUTE
public static final String UNCONFIRMEDRESULTS_ATTRIBUTE
public static final String CONFIRMEDRESULTS_ATTRIBUTE
public static final String SETTINGS_ATTRIBUTE
public static final String PROPERTY_KEY_MANUAL_EXECUTION
public static final String EVENTKEY_EXTRACTIONSTATE_READY_FOR_EXECUTION
public static final String EVENTKEY_EXTRACTIONSTATE_PREPARE_REQUESTED
public static final String EVENTKEY_EXTRACTIONSTATE_PREPARE_COMPLETED
public static final String EVENTKEY_EXTRACTIONSTATE_PARSE_REQUESTED
public static final String EVENTKEY_EXTRACTIONSTATE_PARSE_COMPLETED
public static final String EVENTKEY_EXTRACTIONSTATE_SOLVE_REQUESTED
public static final String EVENTKEY_EXTRACTIONSTATE_SOLVE_COMPLETED
public static final String EVENTKEY_EXTRACTIONSTATE_FINISH_REQUESTED
public static final String EVENTKEY_EXTRACTIONSTATE_FINISH_COMPLETED
public static final String EVENTKEY_EXTRACTIONSTATE_READY_FOR_EDIT
public static final String EVENTKEY_EXTRACTIONSTATE_CANCELLED
public static final String EVENTKEY_EXTRACTIONSTATE_CONFIRMED
public static final String EVENTKEY_EXTRACTIONSTATE_TRAIN_REQUESTED
public static final String EVENTKEY_EXTRACTIONSTATE_TRAIN_COMPLETED
public static final String EVENTKEY_EXTRACTIONSTATE_COMPLETED
public static final String EVENTKEY_EXTRACTIONSTATE_FAILED
public static final String EVENTKEY_EXTRACTIONSTATE_CANCEL_CONFIRMATION_REQUESTED
public static final String EVENTKEY_EXTRACTIONSTATE_CANCEL_CONFIRMATION_COMPLETED
public InformationExtraction(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic InformationExtractionSpecification getExtractionSpecification() throws IfsException
IfsException
- if the operation failspublic int getExtractionStateCode() throws IfsException
IfsException
- if operation failspublic InformationExtraction.ExtractionState getExtractionState() throws IfsException
IfsException
- if operation failspublic String getExtractionStateName() throws IfsException
IfsException
- if operation failspublic Document getSourceDocument() throws IfsException
IfsException
- if the operation failspublic Document getTokensDocument() throws IfsException
IfsException
- if the operation failspublic Date getStateChangeDate() throws IfsException
IfsException
- if the operation failspublic Date getScheduledExecutionDate() throws IfsException
IfsException
- if the operation failspublic Date getExecutedDate() throws IfsException
IfsException
- if the operation failspublic Date getCompletionDate() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getPreparerOverrideSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getParserOverrideSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getSolverOverrideSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getFinisherOverrideSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getTrainerOverrideSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getPreparerSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getUnconfirmedResults() throws IfsException
IfsException
- if the operation failspublic AttributeValue getUnconfirmedResult(String propName) throws IfsException
propName
- the property nameIfsException
- if the operation failspublic SimpleProperty[] getConfirmedResults() throws IfsException
IfsException
- if the operation failspublic AttributeValue getConfirmedResult(String propName) throws IfsException
propName
- the property nameIfsException
- if the operation failspublic SimpleProperty[] getParserSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getSolverSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getFinisherSettings() throws IfsException
IfsException
- if the operation failspublic SimpleProperty[] getTrainerSettings() throws IfsException
IfsException
- if the operation failspublic InformationExtractionTokenList getTokenList() throws IfsException
IfsException
- if the operation failspublic InformationExtractionSentence[] getSentences() throws IfsException
IfsException
- if the operation failspublic InformationExtractionCorefChain[] getCorefChains() throws IfsException
IfsException
- if the operation failspublic InformationExtractionRelationTriple[] getBestRelationTriples() throws IfsException
IfsException
- if the operation failspublic InformationExtractionOutcome getSolvedOutcome() throws IfsException
IfsException
- if the operation failspublic InformationExtractionOutcome getConfirmedOutcome() throws IfsException
IfsException
- if the operation failspublic InformationExtractionOutcome[] getEditedOutcomes() throws IfsException
IfsException
- if the operation failspublic String deriveSummaryText() throws IfsException
IfsException
- if the operation failspublic void addUnconfirmedResult(String key, AttributeValue value) throws IfsException
key
- the property's keyvalue
- the property's valueIfsException
- if the operation failspublic void addConfirmedResult(String key, AttributeValue value) throws IfsException
key
- the property's keyvalue
- the property's valueIfsException
- if the operation failspublic void removeUnconfirmedResult(String key) throws IfsException
key
- the property's keyIfsException
- if the operation failspublic void removeConfirmedResult(String key) throws IfsException
key
- the property's keyIfsException
- if the operation failspublic void setSourceDocument(Document val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setTokensDocument(Document val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setScheduledExecutionDate(Date val) throws IfsException
This will only succeed if:
val
- the new valueIfsException
- if the operation failspublic void setTokenList(InformationExtractionTokenList val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setSentences(InformationExtractionSentence[] val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setCorefChains(InformationExtractionCorefChain[] val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setBestRelationTriples(InformationExtractionRelationTriple[] val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setSolvedOutcome(InformationExtractionOutcome val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setConfirmedOutcome(InformationExtractionOutcome val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setManualExecution(boolean val) throws IfsException
val
- true if execution is manual;
false if execution is via handlersIfsException
- if the operation failspublic boolean isManualExecution() throws IfsException
IfsException
- if the operation failspublic void setExtractionStateCode(int newStateCode) throws IfsException
newState
- the new ExtractionState codeIfsException
- if operation failspublic void setExtractionState(InformationExtraction.ExtractionState newState) throws IfsException
newState
- the new ExtractionStateIfsException
- if operation failspublic void setExtractionState(InformationExtraction.ExtractionState newState, InformationExtractionDefinition def) throws IfsException
newState
- the new ExtractionStatedef
- the definition that might contain related attr settings
(e.g. the scheduled execution date)IfsException
- if operation failspublic void setReadyForExecution() throws IfsException
IfsException
- if operation failspublic void setReadyForEdit() throws IfsException
IfsException
- if operation failspublic void setCancelled() throws IfsException
IfsException
- if operation failspublic void setFailed() throws IfsException
IfsException
- if operation failspublic void setConfirmed() throws IfsException
IfsException
- if operation failspublic void setCompleted() throws IfsException
IfsException
- if operation failspublic void setCancelConfirmationRequested() throws IfsException
IfsException
- if operation failsprotected void preCreate(LibraryObjectDefinition lodef) throws IfsException
Set an option that indicates that Categories are NOT to be created from within S_PublicObject.
preCreate
in class PublicObject
lodef
- object definition that will be used to create
the objectIfsException
- if the operation failsprotected void postCreate(LibraryObjectDefinition lodef) throws IfsException
This assumes that a transaction context has already been established.
postCreate
in class ApplicationObject
lodef
- object definition that was used to create the objectIfsException
- if the operation failsprotected void preUpdate(LibraryObjectDefinition lodef) throws IfsException
Set an option that indicates that Categories are NOT to be created from within S_PublicObject.
preUpdate
in class PublicObject
lodef
- object definition used to define how the target object
will be updatedIfsException
- if operation fails.protected void preFree(LibraryObjectDefinition lodef) throws IfsException
PublicObject
Override to free all existing categories, in such a way that the PO doesn't get updated for each category free.
preFree
in class ApplicationObject
lodef
- object definition used to hold
options related to the free operationIfsException
- if operation fails.protected InformationExtractionSpecification getDefaultInformationExtractionSpecification() throws IfsException
IfsException
- if operation failsCopyright © 2023. All rights reserved.