Class NLPTokenizerOp
Supply OpenNLP Sentence Tokenizer tool. Requires binary models from OpenNLP project on SourceForge.
Inheritance
System.Object
NLPTokenizerOp
Namespace: Lucene.Net.Analysis.OpenNlp.Tools
Assembly: Lucene.Net.Analysis.OpenNLP.dll
Syntax
public class NLPTokenizerOp : object
Constructors
| Improve this Doc View SourceNLPTokenizerOp()
Declaration
public NLPTokenizerOp()
NLPTokenizerOp(TokenizerModel)
Declaration
public NLPTokenizerOp(TokenizerModel model)
Parameters
Type | Name | Description |
---|---|---|
TokenizerModel | model |
Methods
| Improve this Doc View SourceGetTerms(String)
Declaration
public virtual Span[] GetTerms(string sentence)
Parameters
Type | Name | Description |
---|---|---|
System.String | sentence |
Returns
Type | Description |
---|---|
Span[] |