Uses of Class
org.opensextant.ConfigException
Package
Description
Extraction Fundamentals
FlexPat -- A Pattern Definition & Testing Library
Language Detection
Xponents Output Formatting using GISCore
-
Uses of ConfigException in org.opensextant.extraction
Modifier and TypeMethodDescriptionvoid
Extractor.configure()
Configure an Extractor using defaults for that extractor.void
Configure an Extractor using a config file named by a path.void
Configure an Extractor using a config file named by a URL. -
Uses of ConfigException in org.opensextant.extractors.flexpat
Modifier and TypeMethodDescriptionvoid
AbstractFlexPat.configure()
Configures whatever default patterns file is named.void
AbstractFlexPat.configure
(InputStream strm, String name) void
Configure using a particular pattern file.void
Configure using a URL pointer to the pattern file. -
Uses of ConfigException in org.opensextant.extractors.langid
Modifier and TypeMethodDescriptionvoid
LangDetect.initLangId()
Taken straight from LangDetect example NOTE: /langdetect/profiles must be a folder on disk, although I have a variation that could work with JAR resources.ModifierConstructorDescriptionDefault use requires you unpack LangDetect profiles here: /langdetect-profilesLangDetect
(int textSz) If you anticipate working with short text - queries, tweets, excerpts, etc.LangDetect
(int textSz, String profiles) LangDetect
(String profiles) -
Uses of ConfigException in org.opensextant.output
Modifier and TypeMethodDescriptionprotected void
GISDataModel.addAdditionalAttributes
(org.opensextant.giscore.events.Feature row, Map<String, Object> rowAttributes) If the caller has additional data to attach to records, allow them to add fields to schema at runtime and map their data to keys on GeocodingResult Similarly, you could have Geocoding row-level attributes unique to the geocoding whereas attrs on GeocodingResult are global for all geocodings in that result set.void
Adds the field.void
void
void
Add a field key to the field order; Caller must also be responsible for ensuring field is valid and exists in Schema.void
List<org.opensextant.giscore.events.Feature>
GISDataModel.buildRows
(int id, Geocoding g, TextMatch m, Map<String, Object> rowAttributes, ExtractionResult res) Builds a GISCore feature array (rows) from a given array of TextMatches; Enrich the features with record-level attributes (columns).protected void
CSVFormatter.buildSchema()
Create a schema instance with the fields properly typed and orderedprotected void
CSVGenericFormatter.buildSchema()
Create a schema instance with the fields properly typed and orderedprotected org.opensextant.giscore.events.Schema
GISDataModel.buildSchema
(String jobName) Create a schema instance with the fields properly typed and ordered.protected org.opensextant.giscore.events.SimpleField
Gets the field.static org.opensextant.giscore.events.SimpleField
void
AbstractGenericFormatter.removeField
(String f) Removes the field.void
CSVFormatter.removeField
(String f) void
GISDataFormatter.removeField
(String fld) void
GISDataModel.removeField
(String fld) Removes the field.void
ResultsFormatter.removeField
(String f)