edu.stanford.nlp.process.treebank
Class DistributionPackage
java.lang.Object
edu.stanford.nlp.process.treebank.DistributionPackage
public class DistributionPackage
- extends Object
Adds data files to a tar'd / gzip'd distribution package. Data sets marked with the DISTRIB parameter
in ConfigParser
are added to the archive.
- Author:
- Spence Green
Method Summary |
void |
addFiles(List<String> fileList)
Adds a listing of files to the distribution archive |
boolean |
make(String distribName)
Create the distribution and name the file according to the specified parameter. |
String |
toString()
|
DistributionPackage
public DistributionPackage()
addFiles
public void addFiles(List<String> fileList)
- Adds a listing of files to the distribution archive
- Parameters:
fileList
- List of full file paths
make
public boolean make(String distribName)
- Create the distribution and name the file according to the specified parameter.
- Parameters:
distribName
- The name of distribution
- Returns:
- True if the distribution is built. False otherwise.
toString
public String toString()
- Overrides:
toString
in class Object
Stanford NLP Group