Uses of Class
org.opensextant.extraction.TextEntity
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
Processing Basics: Parameters, Results Handlers, Pipelining
-
Uses of TextEntity in org.opensextant.extraction
Modifier and TypeClassDescriptionclass
A variation on TextEntity that also records pattern metadataModifier and TypeMethodDescriptionstatic List<TextEntity>
MatcherUtils.findTagSpans
(String text) Trivial attempt at locating edges of tags in data.Modifier and TypeMethodDescriptionvoid
TextEntity.copy
(TextEntity m) boolean
TextEntity.isAfter
(TextEntity t) Assuming simple whitespace separation or other simple delimiters, is this term following the argument entity?boolean
TextEntity.isBefore
(TextEntity t) Assuming simple whitespace separation or other simple delimiters, is this term preceeding the argument entity?boolean
TextEntity.isLeftMatch
(TextEntity t) boolean
TextEntity.isOverlap
(TextEntity t) boolean
TextEntity.isRightMatch
(TextEntity t) boolean
TextEntity.isSameMatch
(TextEntity t) boolean
TextEntity.isWithin
(TextEntity t) boolean
TextEntity.isWithinChars
(TextEntity t, int nchars) Proximity test between this text span and another This is A; B is input. -
Uses of TextEntity in org.opensextant.extractors.flexpat
Modifier and TypeMethodDescriptionRegexPatternManager.group_matches
(RegexPattern p, Matcher matched) Matched fields as TextEntities -
Uses of TextEntity in org.opensextant.extractors.poli
-
Uses of TextEntity in org.opensextant.extractors.poli.data
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of TextEntity in org.opensextant.extractors.xcoord
Modifier and TypeClassDescriptionclass
GeocoordMatch holds all the annotation data for the actual raw and normalized coordinate.Modifier and TypeMethodDescriptionstatic void
GeocoordNormalization.normalize_coordinate
(GeocoordMatch m, Map<String, TextEntity> groups) The match object is normalized, setting the coord_text and other data from parsing "text" and knowing which pattern family was matched.protected void
GeocoordMatch.setSeparator
(Map<String, TextEntity> fields) Sets the separator.ModifierConstructorDescriptionDMSOrdinate
(Map<String, TextEntity> fieldMatches, Map<String, String> fieldVals, boolean islat, String t) DMS ordinates can be made up of degrees, minutes, seconds and then decimal minutes and decimal seconds fractional minutes dddd are formatted as ".dddd" then parsed; ADD to existing minutes fractional seconds dddd are formatted as ".dddd" then parsed; ADD to existing seconds decimal minutes d.ddd.. -
Uses of TextEntity in org.opensextant.extractors.xtemporal
-
Uses of TextEntity in org.opensextant.processing
Modifier and TypeMethodDescriptionstatic void
ResultsUtility.setContextFor
(String content, TextEntity t, int doc_size) Given the annotation or match, set the context on the TextEntity object.static void
ResultsUtility.setPrePostContextFor
(String content, TextEntity t, int doc_size) Given the TextEntity, set the context on that object.