Package org.opensextant.output
Class OpenSextantSchema
java.lang.Object
org.opensextant.output.OpenSextantSchema
GISCore-based output schema.
- Author:
- Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.opensextant.giscore.events.SimpleField
confidence 0.000 to 1.000 suggests our confidence that we code the MATCH TEXT to the right LAT/LON this is a string for now to keep the actual sig-figs accurate.static final org.opensextant.giscore.events.SimpleField
A text window around the MATCH TEXT delineated by START/END offsets.static final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
Geonames Feature classstatic final org.opensextant.giscore.events.SimpleField
Geonames style feature codingstatic final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
Optionally the File path for the textstatic final String
Field names: filepathstatic final org.opensextant.giscore.events.SimpleField
ISO Country codestatic final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
The method used to match the data in MATCH TEXTstatic final org.opensextant.giscore.events.SimpleField
Match Text captures the raw text matched by the tagger.static final org.opensextant.giscore.events.SimpleField
the name in the Gazetteer entry; which aligns with the MATCH TEXTstatic final org.opensextant.giscore.events.SimpleField
Number of meters of error in coordinate of location.static final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
static final org.opensextant.giscore.events.SimpleField
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Cache an arbitrary date field in schemastatic void
Cache an arbitrary text field in schemastatic org.opensextant.giscore.events.SimpleField
-
Field Details
-
SCHEMA_OID
public static final org.opensextant.giscore.events.SimpleField SCHEMA_OID -
MATCH_TEXT
public static final org.opensextant.giscore.events.SimpleField MATCH_TEXTMatch Text captures the raw text matched by the tagger. -
ISO_COUNTRY
public static final org.opensextant.giscore.events.SimpleField ISO_COUNTRYISO Country code -
FEATURE_CLASS
public static final org.opensextant.giscore.events.SimpleField FEATURE_CLASSGeonames Feature class -
FEATURE_CODE
public static final org.opensextant.giscore.events.SimpleField FEATURE_CODEGeonames style feature coding -
CONFIDENCE
public static final org.opensextant.giscore.events.SimpleField CONFIDENCEconfidence 0.000 to 1.000 suggests our confidence that we code the MATCH TEXT to the right LAT/LON this is a string for now to keep the actual sig-figs accurate. -
PRECISION
public static final org.opensextant.giscore.events.SimpleField PRECISIONNumber of meters of error in coordinate of location. Example, a city location match is likely to be 1-2 KM of error depending on which gazetteer is referenced. A coordinate's precision is implied by number of decimal places, etc. -
PLACE_NAME
public static final org.opensextant.giscore.events.SimpleField PLACE_NAMEthe name in the Gazetteer entry; which aligns with the MATCH TEXT -
FILEPATH_FLD
Field names: filepath- See Also:
-
FILEPATH
public static final org.opensextant.giscore.events.SimpleField FILEPATHOptionally the File path for the text -
FILENAME
public static final org.opensextant.giscore.events.SimpleField FILENAME -
TEXTPATH
public static final org.opensextant.giscore.events.SimpleField TEXTPATH -
CONTEXT
public static final org.opensextant.giscore.events.SimpleField CONTEXTA text window around the MATCH TEXT delineated by START/END offsets. Default window size is +/- 150 characters -
START_OFFSET
public static final org.opensextant.giscore.events.SimpleField START_OFFSET -
END_OFFSET
public static final org.opensextant.giscore.events.SimpleField END_OFFSET -
MATCH_METHOD
public static final org.opensextant.giscore.events.SimpleField MATCH_METHODThe method used to match the data in MATCH TEXT -
PROVINCE
public static final org.opensextant.giscore.events.SimpleField PROVINCE -
LAT
public static final org.opensextant.giscore.events.SimpleField LAT -
LON
public static final org.opensextant.giscore.events.SimpleField LON
-
-
Constructor Details
-
OpenSextantSchema
public OpenSextantSchema()
-
-
Method Details
-
getField
- Throws:
ConfigException
-
addDateField
Cache an arbitrary date field in schema -
addTextField
Cache an arbitrary text field in schema
-