public class SequenceLabelSampleDataStream extends opennlp.tools.util.FilterObjectStream<String,SequenceLabelSample>
SequenceLabelSampleDataStream class converts tagged
Strings provided by a DataStream to
SequenceLabelSample objects. It uses text that is is one-sentence per
line and tokenized with names identified by <START> and
<END> tags.| Modifier and Type | Field and Description |
|---|---|
static String |
END_TAG |
static String |
START_TAG |
static String |
START_TAG_PREFIX |
| Constructor and Description |
|---|
SequenceLabelSampleDataStream(opennlp.tools.util.ObjectStream<String> in) |
| Modifier and Type | Method and Description |
|---|---|
SequenceLabelSample |
read() |
public static final String START_TAG_PREFIX
public static final String START_TAG
public static final String END_TAG
public SequenceLabelSampleDataStream(opennlp.tools.util.ObjectStream<String> in)
public SequenceLabelSample read() throws IOException
IOExceptionCopyright © 2017 IXA pipes. All rights reserved.