| Modifier and Type | Field and Description |
|---|---|
static int |
THREADS |
| Constructor and Description |
|---|
Parser() |
Parser(OptionsSuper options)
Initialize the parser
|
Parser(String modelFileName) |
| Modifier and Type | Method and Description |
|---|---|
SentenceData09 |
apply(SentenceData09 snt09)
Uses the tool and applies it on the input sentence.
|
static void |
main(String[] args) |
SentenceData09 |
parse(SentenceData09 instance,
ParametersFloat params) |
List<ParseNBest> |
parseNBest(SentenceData09 instance) |
void |
readModel(OptionsSuper options,
Pipe pipe,
Parameters params)
Read the models and mapping
|
void |
train(OptionsSuper options,
Pipe pipe,
ParametersFloat params,
Instances is,
Cluster cluster)
Do the training
|
public Parser(OptionsSuper options)
options - public Parser(String modelFileName)
modelFileName - The file name of the parsing modelpublic Parser()
public void readModel(OptionsSuper options, Pipe pipe, Parameters params) throws IOException
options - pipe - params - IOExceptionpublic void train(OptionsSuper options, Pipe pipe, ParametersFloat params, Instances is, Cluster cluster) throws IOException, InterruptedException, ClassNotFoundException
instanceLengths - options - pipe - params - is - cluster - IOExceptionInterruptedExceptionClassNotFoundExceptionpublic SentenceData09 parse(SentenceData09 instance, ParametersFloat params)
public List<ParseNBest> parseNBest(SentenceData09 instance)
public SentenceData09 apply(SentenceData09 snt09)
ToolCopyright © 2013. All rights reserved.