public class Pipeline extends SemanticRoleLabeler
loadingTime, parsingTime, predCount, senCount, startDate| Modifier and Type | Method and Description |
|---|---|
static void |
extractLabels(Iterable<Sentence> reader,
PredicateReference predicateReference,
List<String> argLabels) |
static Pipeline |
fromZipFile(ZipFile zipFile) |
static Pipeline |
fromZipFile(ZipFile zipFile,
Step[] steps) |
protected String |
getSubStatus() |
protected void |
parse(Sentence s) |
static Pipeline |
trainNewPipeline(Iterable<Sentence> sentences,
FeatureGenerator fg,
ZipOutputStream zos,
Map<Step,FeatureSet> featureSets) |
static Pipeline |
trainNewPipeline(Iterable<Sentence> sentences,
Map<Step,File> featureFiles,
ZipOutputStream zos,
BrownCluster bc) |
getStatus, parseSentenceprotected void parse(Sentence s)
parse in class SemanticRoleLabelerpublic static void extractLabels(Iterable<Sentence> reader, PredicateReference predicateReference, List<String> argLabels)
public static Pipeline trainNewPipeline(Iterable<Sentence> sentences, FeatureGenerator fg, ZipOutputStream zos, Map<Step,FeatureSet> featureSets) throws IOException
IOExceptionpublic static Pipeline trainNewPipeline(Iterable<Sentence> sentences, Map<Step,File> featureFiles, ZipOutputStream zos, BrownCluster bc) throws IOException
IOExceptionpublic static Pipeline fromZipFile(ZipFile zipFile, Step[] steps) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static Pipeline fromZipFile(ZipFile zipFile) throws ZipException, IOException, ClassNotFoundException
protected String getSubStatus()
getSubStatus in class SemanticRoleLabelerCopyright © 2016. All rights reserved.