Package edu.stanford.nlp.trees.treebank
Class DistributionPackage
- java.lang.Object
-
- edu.stanford.nlp.trees.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 inConfigParserare added to the archive.- Author:
- Spence Green
-
-
Constructor Summary
Constructors Constructor Description DistributionPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFiles(List<String> fileList)Adds a listing of files to the distribution archivebooleanmake(String distribName)Create the distribution and name the file according to the specified parameter.StringtoString()
-
-
-
Method Detail
-
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.
-
-