Class NLPSentenceDetectorOp
Supply OpenNLP Sentence Detector tool. Requires binary models from OpenNLP project on SourceForge.
Inheritance
System.Object
NLPSentenceDetectorOp
Namespace: Lucene.Net.Analysis.OpenNlp.Tools
Assembly: Lucene.Net.Analysis.OpenNLP.dll
Syntax
public class NLPSentenceDetectorOp : object
Constructors
| Improve this Doc View SourceNLPSentenceDetectorOp()
Declaration
public NLPSentenceDetectorOp()
NLPSentenceDetectorOp(SentenceModel)
Declaration
public NLPSentenceDetectorOp(SentenceModel model)
Parameters
Type | Name | Description |
---|---|---|
SentenceModel | model |
Methods
| Improve this Doc View SourceSplitSentences(String)
Declaration
public virtual Span[] SplitSentences(string line)
Parameters
Type | Name | Description |
---|---|---|
System.String | line |
Returns
Type | Description |
---|---|
Span[] |