Class DefaultChunkerContextGenerator
java.lang.Object
opennlp.tools.chunker.DefaultChunkerContextGenerator
- All Implemented Interfaces:
opennlp.tools.chunker.ChunkerContextGenerator, opennlp.tools.util.BeamSearchContextGenerator<opennlp.tools.util.TokenTag>
public class DefaultChunkerContextGenerator
extends Object
implements opennlp.tools.chunker.ChunkerContextGenerator
Features based on chunking model described in Fei Sha and Fernando Pereira. Shallow
parsing with conditional random fields. In Proceedings of HLT-NAACL 2003. Association
for Computational Linguistics, 2003.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getContext(int i, String[] toks, String[] tags, String[] preds) String[]getContext(int index, opennlp.tools.util.TokenTag[] sequence, String[] priorDecisions, Object[] additionalContext)
-
Constructor Details
-
DefaultChunkerContextGenerator
public DefaultChunkerContextGenerator()Initializes aDefaultChunkerContextGeneratorinstance.
-
-
Method Details
-
getContext
-
getContext
-