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