Package lingscope.algorithms
Class BaselineScopeAnnotator
- java.lang.Object
-
- lingscope.algorithms.Annotator
-
- lingscope.algorithms.BaselineAnnotator
-
- lingscope.algorithms.BaselineScopeAnnotator
-
public class BaselineScopeAnnotator extends BaselineAnnotator
- Author:
- shashank
-
-
Field Summary
Fields Modifier and Type Field Description protected PatternendPattern-
Fields inherited from class lingscope.algorithms.BaselineAnnotator
phrases
-
-
Constructor Summary
Constructors Constructor Description BaselineScopeAnnotator(String beginTag, String interTag, String otherTag, boolean commaLimit, boolean periodLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedSentenceannotateSentence(String sentence, boolean isTokenized)-
Methods inherited from class lingscope.algorithms.BaselineAnnotator
getCueWords, loadAnnotator, serializeAnnotator
-
Methods inherited from class lingscope.algorithms.Annotator
isTargetNegated, loadAnnotator
-
-
-
-
Field Detail
-
endPattern
protected Pattern endPattern
-
-
Method Detail
-
annotateSentence
public AnnotatedSentence annotateSentence(String sentence, boolean isTokenized)
- Specified by:
annotateSentencein classAnnotator
-
-