|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.tools.sentdetect.AbstractEndOfSentenceScanner
@Deprecated public abstract class AbstractEndOfSentenceScanner
Abstract class for common methods related to identifying potential ends of sentences.
Constructor Summary | |
---|---|
AbstractEndOfSentenceScanner()
Deprecated. |
Method Summary | |
---|---|
List<Integer> |
getPositions(char[] cbuf)
Deprecated. The receiver scans `cbuf' for sentence ending characters and returns their offsets. |
List<Integer> |
getPositions(String s)
Deprecated. The receiver scans the specified string for sentence ending characters and returns their offsets. |
List<Integer> |
getPositions(StringBuffer buf)
Deprecated. The receiver scans `buf' for sentence ending characters and returns their offsets. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface opennlp.tools.sentdetect.EndOfSentenceScanner |
---|
getEndOfSentenceCharacters |
Constructor Detail |
---|
public AbstractEndOfSentenceScanner()
Method Detail |
---|
public List<Integer> getPositions(String s)
EndOfSentenceScanner
getPositions
in interface EndOfSentenceScanner
s
- a String
value
List
of Integer objects.public List<Integer> getPositions(StringBuffer buf)
EndOfSentenceScanner
getPositions
in interface EndOfSentenceScanner
buf
- a StringBuffer
value
List
of Integer objects.public List<Integer> getPositions(char[] cbuf)
EndOfSentenceScanner
getPositions
in interface EndOfSentenceScanner
cbuf
- a char[]
value
List
of Integer objects.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |