Package lingscope.algorithms
Class NegexAnnotator
- java.lang.Object
-
- lingscope.algorithms.Annotator
-
- lingscope.algorithms.NegexAnnotator
-
- Direct Known Subclasses:
NegexCueAnnotator,NegexScopeAnnotator
public abstract class NegexAnnotator extends Annotator
Annotates negation using Negex- Author:
- shashank
-
-
Constructor Summary
Constructors Constructor Description NegexAnnotator(String beginTag, String interTag, String otherTag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidloadAnnotator(InputStream is)voidserializeAnnotator(String trainingFile, String modelFile)-
Methods inherited from class lingscope.algorithms.Annotator
annotateSentence, isTargetNegated, loadAnnotator
-
-
-
-
Method Detail
-
serializeAnnotator
public void serializeAnnotator(String trainingFile, String modelFile)
- Specified by:
serializeAnnotatorin classAnnotator
-
loadAnnotator
public void loadAnnotator(InputStream is)
- Specified by:
loadAnnotatorin classAnnotator
-
-