edu.stanford.nlp.ling.tokensregex
Class TokenSequenceMatcher

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.BasicSequenceMatchResult<T>
      extended by edu.stanford.nlp.ling.tokensregex.SequenceMatcher<T>
          extended by edu.stanford.nlp.ling.tokensregex.CoreMapSequenceMatcher<CoreMap>
              extended by edu.stanford.nlp.ling.tokensregex.TokenSequenceMatcher
All Implemented Interfaces:
SequenceMatchResult<CoreMap>, HasInterval<java.lang.Integer>, java.util.regex.MatchResult

public class TokenSequenceMatcher
extends CoreMapSequenceMatcher<CoreMap>

Token Sequence Matcher for regular expressions for sequences over tokens

Author:
Angel Chang

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.stanford.nlp.ling.tokensregex.CoreMapSequenceMatcher
CoreMapSequenceMatcher.BasicCoreMapSequenceMatcher
 
Nested classes/interfaces inherited from class edu.stanford.nlp.ling.tokensregex.SequenceMatcher
SequenceMatcher.BasicMatchReplacement<T>, SequenceMatcher.FindType, SequenceMatcher.GroupMatchReplacement<T>, SequenceMatcher.MatchReplacement<T>, SequenceMatcher.NamedGroupMatchReplacement<T>
 
Nested classes/interfaces inherited from class edu.stanford.nlp.ling.tokensregex.BasicSequenceMatchResult
BasicSequenceMatchResult.MatchedGroup
 
Nested classes/interfaces inherited from interface edu.stanford.nlp.ling.tokensregex.SequenceMatchResult
SequenceMatchResult.GroupToIntervalFunc<MR extends java.util.regex.MatchResult>, SequenceMatchResult.MatchedGroupInfo<T>
 
Field Summary
 
Fields inherited from class edu.stanford.nlp.ling.tokensregex.CoreMapSequenceMatcher
COREMAP_LIST_TO_STRING_CONVERTER
 
Fields inherited from interface edu.stanford.nlp.ling.tokensregex.SequenceMatchResult
DEFAULT_COMPARATOR, GROUP_AFTER_MATCH, GROUP_BEFORE_MATCH, LENGTH_COMPARATOR, OFFSET_COMPARATOR, ORDER_COMPARATOR, SCORE_COMPARATOR, SCORE_LENGTH_ORDER_OFFSET_COMPARATOR, TO_INTERVAL
 
Fields inherited from interface edu.stanford.nlp.util.HasInterval
CONTAINS_FIRST_COMPARATOR, CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, NESTED_FIRST_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
 
Constructor Summary
TokenSequenceMatcher(SequencePattern pattern, java.util.List<? extends CoreMap> tokens)
           
 
Method Summary
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.CoreMapSequenceMatcher
annotateGroup, annotateGroup, getMergedList, getMergedList, mergeGroup, mergeGroup
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.SequenceMatcher
end, find, find, find, findMatchStart, findMatchStartBacktracking, findMatchStartNoBacktracking, get, getFindType, groupInfo, groupMatchResult, groupMatchResults, groupNodes, groupValue, isMatchWithResult, matches, nodeMatchResult, region, regionEnd, regionStart, replaceAll, replaceAllExtended, replaceFirst, replaceFirstExtended, reset, setFindType, setMatchWithResult, start, toBasicSequenceMatchResult
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.BasicSequenceMatchResult
copy, elements, end, end, getInterval, getOrder, group, group, group, groupCount, groupInfo, groupInfo, groupMatchResult, groupMatchResults, groupMatchResults, groupNodes, groupNodes, groupValue, groupValue, score, setOrder, start, start, toBasicSequenceMatchResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenSequenceMatcher

public TokenSequenceMatcher(SequencePattern pattern,
                            java.util.List<? extends CoreMap> tokens)


Stanford NLP Group