| Modifier and Type | Field and Description |
|---|---|
ParametersFloat |
params |
Pipe |
pipe |
| Constructor and Description |
|---|
Lemmatizer(boolean doUppercase) |
Lemmatizer(Options options) |
Lemmatizer(String modelFileName)
Deprecated.
|
Lemmatizer(String modelFileName,
boolean doUppercase)
Creates a lemmatizer due to the model stored in 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) |
void |
out(OptionsSuper options,
IPipe pipe,
ParametersFloat params)
Do the work
|
void |
readModel(OptionsSuper options) |
void |
train(OptionsSuper options,
IPipe p,
ParametersFloat params,
Instances ist)
Do the training
|
void |
writeModel(OptionsSuper options,
IPipe pipe,
ParametersFloat params) |
public Pipe pipe
public ParametersFloat params
public Lemmatizer(Options options)
public Lemmatizer(String modelFileName, boolean doUppercase)
modelFileName - the path and file name to a lemmatizer modelpublic Lemmatizer(String modelFileName)
modelFileName - public Lemmatizer(boolean doUppercase)
public static void main(String[] args) throws FileNotFoundException, Exception
FileNotFoundExceptionExceptionpublic void writeModel(OptionsSuper options, IPipe pipe, ParametersFloat params)
writeModel in interface Trainpublic void readModel(OptionsSuper options)
public void train(OptionsSuper options, IPipe p, ParametersFloat params, Instances ist)
train in interface TraininstanceLengths - options - pipe - params - li - IOExceptionInterruptedExceptionClassNotFoundExceptionpublic void out(OptionsSuper options, IPipe pipe, ParametersFloat params)
out in interface Trainoptions - pipe - params - IOExceptionpublic SentenceData09 apply(SentenceData09 snt09)
ToolCopyright © 2013. All rights reserved.