|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdasher.CDasherModel.CTrainer
class CDasherModel.CTrainer
Helper class to assist in training of the language model.
| Field Summary | |
|---|---|
protected CContextBase |
m_Context
Context which we are extending in the training process |
protected CDasherModel |
m_DasherModel
Model which we are training |
| Constructor Summary | |
|---|---|
CDasherModel.CTrainer(CDasherModel DasherModel)
Sole constructor. |
|
| Method Summary | |
|---|---|
void |
DeleteTrainer()
Destroys our context; this should only be called when the language model is of no further use. |
void |
Train(java.util.ArrayList<java.lang.Integer> vSymbols)
Trains this trainer's associated language model according to the symbols specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CContextBase m_Context
protected CDasherModel m_DasherModel
| Constructor Detail |
|---|
public CDasherModel.CTrainer(CDasherModel DasherModel)
DasherModel - Model whose LanguageModel we are training. Must not be null.| Method Detail |
|---|
public void Train(java.util.ArrayList<java.lang.Integer> vSymbols)
vSymbols - Symbols to teach the model.public void DeleteTrainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||