Class GeoInference
java.lang.Object
org.opensextant.extractors.geo.social.GeoInference
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 Summary
Modifier and TypeFieldDescriptionAny additional attributes you would like to add.int
your confidence in this inferenceContributor -- what app, class or module generated the inference.int
org.opensextant.data.Geocoding
a country, place or other geocoding that was inferred.a short label for this type of location.original data record that this inference is attached toint
offset bounds. -
Constructor Summary
-
Method Summary
-
Field Details
-
recordId
original data record that this inference is attached to -
contributor
Contributor -- what app, class or module generated the inference. -
geocode
public org.opensextant.data.Geocoding geocodea country, place or other geocoding that was inferred. -
confidence
public int confidenceyour confidence in this inference -
inferenceName
a short label for this type of location. E.g. device-location, user-profile-loc, geo, etc. -
attributes
Any additional attributes you would like to add. Optional. -
start
public int startoffset bounds. Borrowed from TextMatch. -
end
public int end
-
-
Constructor Details
-
GeoInference
public GeoInference()
-