public class SentenceBufferedInput
extends java.lang.Object
| Constructor and Description |
|---|
SentenceBufferedInput(Settings s,
java.io.BufferedReader bin)
Creates a new Sentence source with given token and sentence identification rules.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
readSentence()
Read a sentence from the buffer.
|
public SentenceBufferedInput(Settings s, java.io.BufferedReader bin)
s - A Settings object providing rules on how to identify sentences.bin - Where to read data as buffered by line.