Enum PlaceEvidence.Scope

java.lang.Object
java.lang.Enum<PlaceEvidence.Scope>
org.opensextant.extractors.geo.PlaceEvidence.Scope
All Implemented Interfaces:
Serializable, Comparable<PlaceEvidence.Scope>, java.lang.constant.Constable
Enclosing class:
PlaceEvidence

public static enum PlaceEvidence.Scope extends Enum<PlaceEvidence.Scope>
SCOPE - Where did this evidence come from wrt to the PlaceCandidate it is part of?
  • APRIORI - derived from the gazetteer only, not from any information in the document
  • LOCAL - directly associated with this instance of PC
  • COREF - associated with another (related) PC in the document
  • MERGED - came from the merger of multiple PlaceEvidences (future use)
  • DOCUMENT - in the same document but has no other direct association
  • Enum Constant Details

  • Method Details

    • values

      public static PlaceEvidence.Scope[] 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 PlaceEvidence.Scope 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