Package org.opensextant.extractors.xtax
Class TaxonMatch
java.lang.Object
org.opensextant.extraction.TextEntity
org.opensextant.extraction.TextMatch
org.opensextant.extractors.xtax.TaxonMatch
- All Implemented Interfaces:
Comparable<org.opensextant.extraction.TextMatch>
,org.opensextant.data.MatchSchema
public class TaxonMatch
extends org.opensextant.extraction.TextMatch
- Author:
- Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
-
Field Summary
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
Fields inherited from interface org.opensextant.data.MatchSchema
VAL_COORD, VAL_COUNTRY, VAL_PLACE, VAL_POSTAL, VAL_TAXON
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opensextant.extraction.TextMatch
compareTo, copy, defaultMatchId, getContentId, getMatchId, getTextnorm, getType, 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, setTextOnly
-
Field Details
-
hasDiacritics
public boolean hasDiacritics
-
-
Constructor Details
-
TaxonMatch
public TaxonMatch(int x1, int x2)
-
-
Method Details
-
setText
- Overrides:
setText
in classorg.opensextant.extraction.TextEntity
-
isDefault
public boolean isDefault()- Overrides:
isDefault
in classorg.opensextant.extraction.TextMatch
-
getTaxons
-
addTaxon
public void addTaxon(org.opensextant.data.Taxon t) -
hasTaxons
public boolean hasTaxons()
-