public class SentenceDetectorAnnotatorBIO extends org.cleartk.ml.CleartkAnnotator<String>
Modifier and Type | Class and Description |
---|---|
static class |
SentenceDetectorAnnotatorBIO.FEAT_CONFIG |
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_FEAT_CONFIG |
static String |
PARAM_TOKEN_FILE |
Constructor and Description |
---|
SentenceDetectorAnnotatorBIO() |
Modifier and Type | Method and Description |
---|---|
static List<org.cleartk.ml.Feature> |
getCharFeatures(char ch,
String prefix) |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDataWriter(File outputDirectory,
Class<? extends org.cleartk.ml.DataWriter<?>> class1) |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription() |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(String modelPath) |
List<org.cleartk.ml.Feature> |
getPositionFeatures(char curChar,
int ind,
String segText,
String nextToken) |
void |
initialize(org.apache.uima.UimaContext context) |
static void |
makeSentence(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_FEAT_CONFIG
public static final String PARAM_TOKEN_FILE
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in interface org.apache.uima.fit.factory.initializable.Initializable
initialize
in class org.cleartk.ml.CleartkAnnotator<String>
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public static void makeSentence(org.apache.uima.jcas.JCas jcas, int begin, int end)
public List<org.cleartk.ml.Feature> getPositionFeatures(char curChar, int ind, String segText, String nextToken)
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDataWriter(File outputDirectory, Class<? extends org.cleartk.ml.DataWriter<?>> class1) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription(String modelPath) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription() throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.