Class OpenNLPSentenceBreakIterator
A that splits sentences using an OpenNLP sentence chunking model.
Inheritance
System.Object
OpenNLPSentenceBreakIterator
Assembly: Lucene.Net.Analysis.OpenNLP.dll
Syntax
public sealed class OpenNLPSentenceBreakIterator : BreakIterator
Constructors
|
Improve this Doc
View Source
Declaration
public OpenNLPSentenceBreakIterator(NLPSentenceDetectorOp sentenceOp)
Parameters
Properties
|
Improve this Doc
View Source
Current
Declaration
public override int Current { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Text
Declaration
public override CharacterIterator Text { get; }
Property Value
Type |
Description |
CharacterIterator |
|
Methods
|
Improve this Doc
View Source
First()
Declaration
public override int First()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Following(Int32)
Declaration
public override int Following(int pos)
Parameters
Type |
Name |
Description |
System.Int32 |
pos |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Last()
Declaration
public override int Last()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Next()
Declaration
public override int Next()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Next(Int32)
Declaration
public override int Next(int n)
Parameters
Type |
Name |
Description |
System.Int32 |
n |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Preceding(Int32)
Declaration
public override int Preceding(int pos)
Parameters
Type |
Name |
Description |
System.Int32 |
pos |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Previous()
Declaration
public override int Previous()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SetText(CharacterIterator)
Declaration
public override void SetText(CharacterIterator newText)
Parameters
Type |
Name |
Description |
CharacterIterator |
newText |
|