Class CountryRule

java.lang.Object
org.opensextant.extractors.geo.rules.GeocodeRule
org.opensextant.extractors.geo.rules.CountryRule

public class CountryRule extends GeocodeRule
  • Constructor Details

    • CountryRule

      public CountryRule()
  • Method Details

    • evaluate

      public void evaluate(List<PlaceCandidate> names)
      Overrides:
      evaluate in class GeocodeRule
      Parameters:
      names - list of found place names
    • evaluate

      public void evaluate(PlaceCandidate name, org.opensextant.data.Place geo)
      Assess which candidate tags are references to countries.
      Specified by:
      evaluate in class GeocodeRule
      Parameters:
      name - list of candidates to evaluate for country evidence.
      geo - country/geo to evaluate