public final class OpenNLPSentenceBreakIterator extends BreakIterator
BreakIterator that splits sentences using an OpenNLP sentence chunking model.DONE| Constructor and Description |
|---|
OpenNLPSentenceBreakIterator(NLPSentenceDetectorOp sentenceOp) |
| Modifier and Type | Method and Description |
|---|---|
int |
current() |
int |
first() |
int |
following(int pos) |
CharacterIterator |
getText() |
int |
last() |
int |
next() |
int |
next(int n) |
int |
preceding(int pos) |
int |
previous() |
void |
setText(CharacterIterator newText) |
clone, getAvailableLocales, getCharacterInstance, getCharacterInstance, getLineInstance, getLineInstance, getSentenceInstance, getSentenceInstance, getWordInstance, getWordInstance, isBoundary, setTextpublic OpenNLPSentenceBreakIterator(NLPSentenceDetectorOp sentenceOp)
public int current()
current in class BreakIteratorpublic int first()
first in class BreakIteratorpublic int last()
last in class BreakIteratorpublic int next()
next in class BreakIteratorpublic int following(int pos)
following in class BreakIteratorpublic int previous()
previous in class BreakIteratorpublic int preceding(int pos)
preceding in class BreakIteratorpublic int next(int n)
next in class BreakIteratorpublic CharacterIterator getText()
getText in class BreakIteratorpublic void setText(CharacterIterator newText)
setText in class BreakIteratorCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.