Class NLPChunkerOp
Supply OpenNLP Chunking tool Requires binary models from OpenNLP project on SourceForge.
Inherited Members
Namespace: Lucene.Net.Analysis.OpenNlp.Tools
Assembly: Lucene.Net.Analysis.OpenNLP.dll
Syntax
public class NLPChunkerOp
Constructors
NLPChunkerOp(ChunkerModel)
Supply OpenNLP Chunking tool Requires binary models from OpenNLP project on SourceForge.
Declaration
public NLPChunkerOp(ChunkerModel chunkerModel)
Parameters
Type | Name | Description |
---|---|---|
ChunkerModel | chunkerModel |
Methods
GetChunks(string[], string[], double[])
Supply OpenNLP Chunking tool Requires binary models from OpenNLP project on SourceForge.
Declaration
public virtual string[] GetChunks(string[] words, string[] tags, double[] probs)
Parameters
Type | Name | Description |
---|---|---|
string[] | words | |
string[] | tags | |
double[] | probs |
Returns
Type | Description |
---|---|
string[] |