Package org.opensextant.extractors.poli
Class PoliMatch
- java.lang.Object
-
- org.opensextant.extraction.TextEntity
-
- org.opensextant.extraction.TextMatch
-
- org.opensextant.extractors.poli.PoliMatch
-
- Direct Known Subclasses:
EmailAddress
,MACAddress
,Money
,TelephoneNumber
public class PoliMatch extends TextMatch
- Author:
- Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
-
-
Field Summary
Fields Modifier and Type Field Description static int
FOUND_CASE
static int
LOWER_CASE
protected java.util.Map<java.lang.String,java.lang.String>
match_groups
int
normal_case
java.lang.String
textnorm
static int
UPPER_CASE
-
Fields inherited from class org.opensextant.extraction.TextMatch
pattern_id, producer, type
-
Fields inherited from class org.opensextant.extraction.TextEntity
end, is_duplicate, is_overlap, is_submatch, match_id, postChar, preChar, start, text
-
-
Method Summary
-
Methods inherited from class org.opensextant.extraction.TextMatch
copy, defaultMatchId, getMatchId, getTextnorm, getType, isDefault, isFilteredOut, isSame, isSameNorm, setFilteredOut, setType, toString
-
Methods inherited from class org.opensextant.extraction.TextEntity
contains, copy, getContext, getContextAfter, getContextBefore, getLength, getText, isAfter, isASCII, isBefore, isLeftMatch, isLower, isMixedCase, isOverlap, isRightMatch, isSameMatch, isUpper, isWithin, isWithinChars, setContext, setContext, setText, setTextOnly
-
-
-
-
Constructor Detail
-
PoliMatch
public PoliMatch()
No-argument constructor is needed because class in invoked through introspection (via name of class)
-
PoliMatch
public PoliMatch(int x1, int x2)
-
PoliMatch
public PoliMatch(java.lang.String t)
-
PoliMatch
public PoliMatch(java.util.Map<java.lang.String,java.lang.String> groups, java.lang.String t)
-
-