|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
@Deprecated public abstract class AbstractEndOfSentenceScanner
Abstract class for common methods related to identifying potential ends of sentences.
Field Summary | |
---|---|
protected static opennlp.maxent.IntegerPool |
INT_POOL
Deprecated. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface opennlp.tools.sentdetect.EndOfSentenceScanner |
---|
getEndOfSentenceCharacters |
Field Detail |
---|
protected static final opennlp.maxent.IntegerPool INT_POOL
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 |