@Deprecated public class POSTaggerTrainer extends Object
Constructor and Description |
---|
POSTaggerTrainer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Deprecated.
|
static void |
test(AbstractModel model)
Deprecated.
|
static POSModel |
train(String languageCode,
ObjectStream<POSSample> samples,
POSDictionary tagDictionary,
Dictionary ngramDictionary,
int cutoff,
int iterations)
Deprecated.
|
static void |
trainMaxentModel(EventStream evc,
File modelFile)
Deprecated.
|
static AbstractModel |
trainMaxentModel(EventStream es,
int iterations,
int cut)
Deprecated.
|
static AbstractModel |
trainPerceptronModel(EventStream es,
int iterations,
int cut)
Deprecated.
|
static AbstractModel |
trainPerceptronModel(EventStream es,
int iterations,
int cut,
boolean useAverage)
Deprecated.
|
static AbstractModel |
trainPerceptronSequenceModel(SequenceStream ss,
int iterations,
int cut,
boolean useAverage)
Deprecated.
|
public static POSModel train(String languageCode, ObjectStream<POSSample> samples, POSDictionary tagDictionary, Dictionary ngramDictionary, int cutoff, int iterations) throws IOException
samples
- tagDictionary
- ngramDictionary
- cutoff
- IOException
- its throws if an IOException
is thrown
during IO operations on a temp file which is created during training occur.@Deprecated public static void trainMaxentModel(EventStream evc, File modelFile) throws IOException
evc
- modelFile
- IOException
@Deprecated public static AbstractModel trainMaxentModel(EventStream es, int iterations, int cut) throws IOException
es
- iterations
- cut
- IOException
public static AbstractModel trainPerceptronModel(EventStream es, int iterations, int cut, boolean useAverage) throws IOException
IOException
public static AbstractModel trainPerceptronModel(EventStream es, int iterations, int cut) throws IOException
IOException
public static AbstractModel trainPerceptronSequenceModel(SequenceStream ss, int iterations, int cut, boolean useAverage) throws IOException
IOException
@Deprecated public static void test(AbstractModel model) throws IOException
IOException
@Deprecated public static void main(String[] args) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.