Enum DefaultExtensions.MeltExtensions

java.lang.Object
java.lang.Enum<DefaultExtensions.MeltExtensions>
de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api.DefaultExtensions.MeltExtensions
All Implemented Interfaces:
Serializable, Comparable<DefaultExtensions.MeltExtensions>, java.lang.constant.Constable
Enclosing class:
DefaultExtensions

public static enum DefaultExtensions.MeltExtensions extends Enum<DefaultExtensions.MeltExtensions>
Additional vocabulary introduced with the MELT framework.
  • Enum Constant Details

    • GOLD_STANDARD_CONFIDENCE

      public static final DefaultExtensions.MeltExtensions GOLD_STANDARD_CONFIDENCE
      The confidence by the annotator of the gold standard for a particular correspondence. This is required because the confidence in the alignment/correspondence is ALWAYS set by the matcher (hence, 0 in the case of false positives). In order to also track the annotators confidence, this extension can be used.
    • ML_SPLIT

      public static final DefaultExtensions.MeltExtensions ML_SPLIT
      The typ of ml split. Usually the values are string which can be "reain", "val", "test".
    • CONFIGURATION_BASE

      public static final DefaultExtensions.MeltExtensions CONFIGURATION_BASE
      The base URI that is to be used with extension predicates that have to be defined "on the spot" and require a base URI.
    • ADDITIONAL_CONFIDENCE_SUFFIX

      public static final DefaultExtensions.MeltExtensions ADDITIONAL_CONFIDENCE_SUFFIX
      The key of the extension should end with this suffix, to be detected as an additional confidence. The value should be castable to double. This is required if you chain matchers. e.g. structural_matcher_confidence -> 0.9, string_matcher_confidence -> 0.8
    • ADDITIONAL_EXPLANATION_SUFFIX

      public static final DefaultExtensions.MeltExtensions ADDITIONAL_EXPLANATION_SUFFIX
      The key of the extension should end with this suffix, to be detected as an additional explanation. The value should be castable to String. e.g. structural_matcher_explanation -> "match is between ... and ... is added because...", string_matcher_explanation -> "match is between ... and ... is added because..."
  • Field Details

    • uri

      private String uri
      The URI of the extension label.
  • Constructor Details

    • MeltExtensions

      private MeltExtensions(String uri)
  • Method Details

    • values

      public static DefaultExtensions.MeltExtensions[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DefaultExtensions.MeltExtensions valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DefaultExtensions.MeltExtensions>