public final class XMLFeatureDescriptor extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
createXMLFeatureDescriptor(opennlp.tools.util.TrainingParameters params)
Generate the XML feature descriptor from the TrainingParameters prop file.
|
static int |
getLeftWindow()
Get the left window feature length.
|
static int |
getRightWindow()
Get the right window feature length.
|
static void |
setWindow(opennlp.tools.util.TrainingParameters params)
Set the window length from the training parameters file.
|
public static int getLeftWindow()
public static int getRightWindow()
public static String createXMLFeatureDescriptor(opennlp.tools.util.TrainingParameters params) throws IOException
params - the properties fileIOException - if input output failspublic static void setWindow(opennlp.tools.util.TrainingParameters params)
params - the properties fileCopyright © 2016 IXA pipes. All rights reserved.