public interface Dataset
TYPE
parameter. TreebankPreprocessor
will
then call setOptions(java.util.Properties)
, build()
and getFilenames()
in that order.Modifier and Type | Interface and Description |
---|---|
static class |
Dataset.Encoding |
Modifier and Type | Method and Description |
---|---|
void |
build()
Generic method for loading, processing, and writing a dataset.
|
java.util.List<java.lang.String> |
getFilenames()
Returns the filenames written by
build() . |
boolean |
setOptions(java.util.Properties opts)
Sets options for a dataset.
|
boolean setOptions(java.util.Properties opts)
opts
- A map from parameter types defined in ConfigParser
to
valuesvoid build()
java.util.List<java.lang.String> getFilenames()
build()
.