lingscope.algorithms
Class BaselineScopeAnnotator

java.lang.Object
  extended by lingscope.algorithms.Annotator
      extended by lingscope.algorithms.BaselineAnnotator
          extended by lingscope.algorithms.BaselineScopeAnnotator

public class BaselineScopeAnnotator
extends BaselineAnnotator


Field Summary
protected  java.util.regex.Pattern endPattern
           
 
Fields inherited from class lingscope.algorithms.BaselineAnnotator
phrases
 
Fields inherited from class lingscope.algorithms.Annotator
beginTag, interTag, otherTag
 
Constructor Summary
BaselineScopeAnnotator(java.lang.String beginTag, java.lang.String interTag, java.lang.String otherTag, boolean commaLimit, boolean periodLimit)
           
 
Method Summary
 AnnotatedSentence annotateSentence(java.lang.String sentence, boolean isTokenized)
           
 
Methods inherited from class lingscope.algorithms.BaselineAnnotator
getCueWords, loadAnnotator, serializeAnnotator
 
Methods inherited from class lingscope.algorithms.Annotator
isTargetNegated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endPattern

protected java.util.regex.Pattern endPattern
Constructor Detail

BaselineScopeAnnotator

public BaselineScopeAnnotator(java.lang.String beginTag,
                              java.lang.String interTag,
                              java.lang.String otherTag,
                              boolean commaLimit,
                              boolean periodLimit)
Method Detail

annotateSentence

public AnnotatedSentence annotateSentence(java.lang.String sentence,
                                          boolean isTokenized)
Specified by:
annotateSentence in class Annotator