Package org.aksw.deer.enrichments
Class NEREnrichmentOperator
- java.lang.Object
-
- org.aksw.faraday_cage.engine.AbstractExecutionNode<T>
-
- org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode<Model>
-
- org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
-
- org.aksw.deer.enrichments.NEREnrichmentOperator
-
- All Implemented Interfaces:
DeerExecutionNode,DeerPlugin,EnrichmentOperator,ParameterizedEnrichmentOperator,Learnable,ReverseLearnable,SelfConfigurable,ParameterizedDeerExecutionNode,ExecutionNode<Model>,Parameterized,Plugin,org.pf4j.ExtensionPoint
@Extension public class NEREnrichmentOperator extends AbstractParameterizedEnrichmentOperator implements SelfConfigurable, ReverseLearnable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
ExecutionNode.DegreeBounds
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyFOX_LANGstatic PropertyFOX_URLstatic PropertyIMPORT_PROPERTYstatic PropertyLITERAL_PROPERTYstatic PropertyNE_TYPEstatic PropertyPARALLELISM-
Fields inherited from class org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
description, documentationURL
-
-
Constructor Summary
Constructors Constructor Description NEREnrichmentOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatableParameterMapcreateParameterMap()Create an uninitializedParameterMapto be filled by theExecutionGraphGenerator.java.lang.StringgetDescription()ExecutionNode.DegreeBoundsgetLearnableDegreeBounds()ValidatableParameterMaplearnParameterMap(java.util.List<Model> inputs, Model target, ValidatableParameterMap prototype)doublepredictApplicability(java.util.List<Model> inputs, Model target)java.util.List<Model>reverseApply(java.util.List<Model> inputs, Model target)protected java.util.List<Model>safeApply(java.util.List<Model> models)-
Methods inherited from class org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
deepCopy, getDegreeBounds, getDocumentationURL, getType
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode
getParameterMap, getValidationModelFor, initParameters, isInitialized
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractExecutionNode
apply, getId, getInDegree, getOutDegree, initDegrees, initPluginId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
apply, getInDegree, getOutDegree, initDegrees
-
Methods inherited from interface org.aksw.faraday_cage.engine.Parameterized
getParameterMap, initParameters, isInitialized
-
Methods inherited from interface org.aksw.faraday_cage.engine.Plugin
getId, initPluginId, isInitialized
-
-
-
-
Field Detail
-
LITERAL_PROPERTY
public static final Property LITERAL_PROPERTY
-
IMPORT_PROPERTY
public static final Property IMPORT_PROPERTY
-
FOX_URL
public static final Property FOX_URL
-
NE_TYPE
public static final Property NE_TYPE
-
FOX_LANG
public static final Property FOX_LANG
-
PARALLELISM
public static final Property PARALLELISM
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceDeerPlugin- Overrides:
getDescriptionin classAbstractParameterizedEnrichmentOperator
-
createParameterMap
public ValidatableParameterMap createParameterMap()
Description copied from interface:ParameterizedCreate an uninitializedParameterMapto be filled by theExecutionGraphGenerator.- Specified by:
createParameterMapin interfaceParameterized- Returns:
- uninitialized
ParameterMapcontaining all allowedParameter
-
safeApply
protected java.util.List<Model> safeApply(java.util.List<Model> models)
- Specified by:
safeApplyin classAbstractExecutionNode<Model>
-
predictApplicability
public double predictApplicability(java.util.List<Model> inputs, Model target)
- Specified by:
predictApplicabilityin interfaceReverseLearnable
-
reverseApply
public java.util.List<Model> reverseApply(java.util.List<Model> inputs, Model target)
- Specified by:
reverseApplyin interfaceReverseLearnable
-
learnParameterMap
public ValidatableParameterMap learnParameterMap(java.util.List<Model> inputs, Model target, ValidatableParameterMap prototype)
- Specified by:
learnParameterMapin interfaceSelfConfigurable
-
getLearnableDegreeBounds
public ExecutionNode.DegreeBounds getLearnableDegreeBounds()
- Specified by:
getLearnableDegreeBoundsin interfaceLearnable
-
-