Skip to content

config featureinferencer

Jianlin Shi edited this page Oct 5, 2017 · 3 revisions

Feature Inferencer Rule

Feature Inferencer is used to convert an annotation to anther annotation type based on its feature values. A Feature Inferencer rule consists of 3 components:

  1. The conclusion annotation type: if the rule is matched, then the annotation would be converted into this annotation type.
  2. The source annotation type: what is the annotation type that in the rule should be looking for to find a match.
  3. The feature value conditions: this component consists of one or more feature value pairs. Each pair of feature name and value. The rule will be matched if an annotation of the source annotation type has the features that meet or the corresponding values defined in this component.

Examples:

  • NegatedConcept Concept Negation:negated

This rule means if any annotation with the type of "Concept" has a "negated" value of the feature "Negation", convert this annotation to "NegatedConcept" type.