public class TokenSequenceMatcher extends CoreMapSequenceMatcher<CoreMap>
CoreMapSequenceMatcher.BasicCoreMapSequenceMatcher
SequenceMatcher.BasicMatchReplacement<T>, SequenceMatcher.FindType, SequenceMatcher.GroupMatchReplacement<T>, SequenceMatcher.MatchReplacement<T>, SequenceMatcher.NamedGroupMatchReplacement<T>
BasicSequenceMatchResult.MatchedGroup
SequenceMatchResult.GroupToIntervalFunc<MR extends java.util.regex.MatchResult>, SequenceMatchResult.MatchedGroupInfo<T>
COREMAP_LIST_TO_STRING_CONVERTER
DEFAULT_COMPARATOR, GROUP_AFTER_MATCH, GROUP_BEFORE_MATCH, LENGTH_COMPARATOR, OFFSET_COMPARATOR, ORDER_COMPARATOR, PRIORITY_COMPARATOR, PRIORITY_SCORE_LENGTH_ORDER_OFFSET_COMPARATOR, SCORE_COMPARATOR, SCORER, TO_INTERVAL
CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, LENGTH_GT_COMPARATOR, LENGTH_LT_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
Constructor and Description |
---|
TokenSequenceMatcher(SequencePattern<CoreMap> pattern,
java.util.List<? extends CoreMap> tokens) |
annotateGroup, annotateGroup, getMergedList, getMergedList, mergeGroup, mergeGroup
end, find, find, find, findAllNonOverlapping, get, getFindType, groupInfo, groupMatchResult, groupMatchResults, groupNodes, groupValue, isMatchWithResult, matches, nodeMatchResult, region, regionEnd, regionStart, replaceAll, replaceAllExtended, replaceFirst, replaceFirstExtended, reset, setBranchLimit, setFindType, setMatchWithResult, start, toBasicSequenceMatchResult
copy, elements, end, end, getInterval, getOrder, group, group, group, groupCount, groupInfo, groupInfo, groupMatchResult, groupMatchResults, groupMatchResults, groupNodes, groupNodes, groupValue, groupValue, pattern, priority, score, setOrder, start, start
public TokenSequenceMatcher(SequencePattern<CoreMap> pattern, java.util.List<? extends CoreMap> tokens)