Uses of Class
org.opensextant.extraction.TextMatch
Package
Description
Extraction Fundamentals
FlexPat -- A Pattern Definition & Testing Library
Patterns Of Life (PoLi)
PoLi Patterns: Cyber, Telelphony, Currency examples
XCoord: Geographic Coordinate Extraction
XTemporal: Date and Time Pattern Extraction
Xponents Output Formatting using GISCore
Processing Basics: Parameters, Results Handlers, Pipelining
-
Uses of TextMatch in org.opensextant.extraction
Modifier and TypeMethodDescriptionUseful for working with text buffers adhoc.Useuful for working with batches of inputs that have an innate row ID + buffer pairing.Modifier and TypeMethodDescriptionint
this match, A compared to B Order: A B then A > B Order: B A then A < B Order: same spans then A == Bvoid
boolean
TextMatch.isSameNorm
(TextMatch m) Compare the normalized string for this match to that of another.Modifier and TypeMethodDescriptionstatic void
MatcherUtils.filterMatchesBySpans
(String buffer, List<TextMatch> matches) A simple demonstration of how to sift through matches identifying which matches appear within tags.static void
MatcherUtils.reduceMatches
(List<TextMatch> matches) Reduce actual valid matches by identifying duplicates or sub-matches. -
Uses of TextMatch in org.opensextant.extractors.flexpat
Modifier and TypeMethodDescriptionprotected void
AbstractFlexPat.set_match_id
(TextMatch m, int count) Optional. -
Uses of TextMatch in org.opensextant.extractors.poli
-
Uses of TextMatch in org.opensextant.extractors.poli.data
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of TextMatch in org.opensextant.extractors.xcoord
Modifier and TypeClassDescriptionclass
GeocoordMatch holds all the annotation data for the actual raw and normalized coordinate. -
Uses of TextMatch in org.opensextant.extractors.xtemporal
-
Uses of TextMatch in org.opensextant.output
Modifier and TypeMethodDescriptionprotected void
GISDataModel.addContext
(org.opensextant.giscore.events.Feature row, TextMatch g) Adds the context.protected void
GISDataModel.addMatchMethod
(org.opensextant.giscore.events.Feature row, TextMatch match) Adds the match method.protected void
GISDataModel.addMatchText
(org.opensextant.giscore.events.Feature row, TextMatch g) Adds the match text.protected void
GISDataModel.addOffsets
(org.opensextant.giscore.events.Feature row, TextMatch m) Adds the offsets.void
Pull in data from match into the output schema (map)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 boolean
This helps you figure out what to put in the GIS products.AbstractFormatter.getGeocoding
(TextMatch m) The default geocoding interpretation is here.MatchInterpreter.getGeocoding
(TextMatch m) For a given match in text return the geocoding object for that match, if one exists. -
Uses of TextMatch in org.opensextant.processing
Modifier and TypeMethodDescriptionProcess one input.Modifier and TypeMethodDescriptionstatic boolean
ResultsUtility.isDatetime
(TextMatch m) Testers for TextMatch: isDatetime macro.static boolean
ResultsUtility.isLocation
(TextMatch m) Testers for TextMatch: isLocation macro.