Class NLPPOSTaggerOp
Supply OpenNLP Parts-Of-Speech Tagging 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 NLPPOSTaggerOp
Constructors
NLPPOSTaggerOp(POSModel)
Supply OpenNLP Parts-Of-Speech Tagging tool. Requires binary models from OpenNLP project on SourceForge.
Declaration
public NLPPOSTaggerOp(POSModel model)
Parameters
Type | Name | Description |
---|---|---|
POSModel | model |
Methods
GetPOSTags(string[])
Supply OpenNLP Parts-Of-Speech Tagging tool. Requires binary models from OpenNLP project on SourceForge.
Declaration
public virtual string[] GetPOSTags(string[] words)
Parameters
Type | Name | Description |
---|---|---|
string[] | words |
Returns
Type | Description |
---|---|
string[] |