Class NLPTokenizerOp
Supply OpenNLP Sentence Tokenizer 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 NLPTokenizerOp
Constructors
NLPTokenizerOp()
Supply OpenNLP Sentence Tokenizer tool. Requires binary models from OpenNLP project on SourceForge.
Declaration
public NLPTokenizerOp()
NLPTokenizerOp(TokenizerModel)
Supply OpenNLP Sentence Tokenizer tool. Requires binary models from OpenNLP project on SourceForge.
Declaration
public NLPTokenizerOp(TokenizerModel model)
Parameters
Type | Name | Description |
---|---|---|
TokenizerModel | model |
Methods
GetTerms(string)
Supply OpenNLP Sentence Tokenizer tool. Requires binary models from OpenNLP project on SourceForge.
Declaration
public virtual Span[] GetTerms(string sentence)
Parameters
Type | Name | Description |
---|---|---|
string | sentence |
Returns
Type | Description |
---|---|
Span[] |