|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dataset
A generic interface loading, processing, and writing a data set. Classes
that implement this interface may be specified in the configuration file
using the TYPE
parameter. TreebankPreprocessor
will
then call setOptions(edu.stanford.nlp.process.treebank.StringMap)
, build()
and getFilenames()
in that order.
Nested Class Summary | |
---|---|
static class |
Dataset.Encoding
|
Method Summary | |
---|---|
void |
build()
Generic method for loading, processing, and writing a dataset. |
List<String> |
getFilenames()
Returns the filenames written by build() . |
boolean |
setOptions(StringMap opts)
Sets options for a dataset. |
Method Detail |
---|
boolean setOptions(StringMap opts)
opts
- A map from parameter types defined in ConfigParser
to
values
void build()
List<String> getFilenames()
build()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |