public class ChunkingExtractor extends Object
Constructor and Description |
---|
ChunkingExtractor(String name,
org.cleartk.ml.chunking.Chunking<?,SUB_CHUNK_TYPE,CHUNK_TYPE> chunking,
org.apache.uima.jcas.JCas jCas,
List<SUB_CHUNK_TYPE> subChunks,
List<CHUNK_TYPE> chunks) |
Modifier and Type | Method and Description |
---|---|
List<org.cleartk.ml.Feature> |
extract(int tokenIndex,
int nBefore,
int nAfter) |
public ChunkingExtractor(String name, org.cleartk.ml.chunking.Chunking<?,SUB_CHUNK_TYPE,CHUNK_TYPE> chunking, org.apache.uima.jcas.JCas jCas, List<SUB_CHUNK_TYPE> subChunks, List<CHUNK_TYPE> chunks) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public List<org.cleartk.ml.Feature> extract(int tokenIndex, int nBefore, int nAfter)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.