|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.tools.postag.POSTaggerTrainer
POSTaggerME.train(String, ObjectStream, opennlp.tools.util.model.ModelType, POSDictionary, Dictionary, int, int)
instead.
@Deprecated public class POSTaggerTrainer
Constructor Summary | |
---|---|
POSTaggerTrainer()
Deprecated. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Deprecated. |
static void |
test(AbstractModel model)
Deprecated. |
static POSModel |
train(java.lang.String languageCode,
ObjectStream<POSSample> samples,
POSDictionary tagDictionary,
Dictionary ngramDictionary,
int cutoff,
int iterations)
Deprecated. |
static void |
trainMaxentModel(EventStream evc,
java.io.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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public POSTaggerTrainer()
Method Detail |
---|
public static POSModel train(java.lang.String languageCode, ObjectStream<POSSample> samples, POSDictionary tagDictionary, Dictionary ngramDictionary, int cutoff, int iterations) throws java.io.IOException
samples
- tagDictionary
- ngramDictionary
- beamSize
- cutoff
-
java.io.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, java.io.File modelFile) throws java.io.IOException
evc
- modelFile
-
java.io.IOException
@Deprecated public static AbstractModel trainMaxentModel(EventStream es, int iterations, int cut) throws java.io.IOException
es
- iterations
- cut
-
java.io.IOException
public static AbstractModel trainPerceptronModel(EventStream es, int iterations, int cut, boolean useAverage) throws java.io.IOException
java.io.IOException
public static AbstractModel trainPerceptronModel(EventStream es, int iterations, int cut) throws java.io.IOException
java.io.IOException
public static AbstractModel trainPerceptronSequenceModel(SequenceStream ss, int iterations, int cut, boolean useAverage) throws java.io.IOException
java.io.IOException
@Deprecated public static void test(AbstractModel model) throws java.io.IOException
java.io.IOException
@Deprecated public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |