Class GeoInference

java.lang.Object
org.opensextant.extractors.geo.social.GeoInference

public class GeoInference extends Object
This is a light wrapper around TextMatch + Geocoding interfaces. Place and GeocoordMatch objects are primary geocode payload, but adds inferencing metadata at top level more clearly. The intent is to allow other tools use GeoInference as an API object that is independent of information extraction/matching technique or pipeline.
Author:
ubaldino
  • Field Details

    • recordId

      public String recordId
      original data record that this inference is attached to
    • contributor

      public String contributor
      Contributor -- what app, class or module generated the inference.
    • geocode

      public org.opensextant.data.Geocoding geocode
      a country, place or other geocoding that was inferred.
    • confidence

      public int confidence
      your confidence in this inference
    • inferenceName

      public String inferenceName
      a short label for this type of location. E.g. device-location, user-profile-loc, geo, etc.
    • attributes

      public Map<String,Object> attributes
      Any additional attributes you would like to add. Optional.
    • start

      public int start
      offset bounds. Borrowed from TextMatch.
    • end

      public int end
  • Constructor Details

    • GeoInference

      public GeoInference()