public class Parser extends AbstractBottomUpParser
COMPLETE, CONT, defaultAdvancePercentage, defaultBeamSize, INC_NODE, INCOMPLETE, OTHER, START, TOK_NODE, TOP_NODE, ZERO
Constructor and Description |
---|
Parser(ParserModel model) |
Parser(ParserModel model,
int beamSize,
double advancePercentage) |
Modifier and Type | Method and Description |
---|---|
static void |
mergeReportIntoManifest(Map<String,String> manifest,
Map<String,String> report,
String namespace) |
static ParserModel |
train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
buildDictionary, buildDictionary, collapsePunctuation, parse, parse, setErrorReporting, setParents
public Parser(ParserModel model, int beamSize, double advancePercentage)
public Parser(ParserModel model)
public static void mergeReportIntoManifest(Map<String,String> manifest, Map<String,String> report, String namespace)
public static ParserModel train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams) throws IOException
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.