Exemple #1
0
func NewVarPredictor(tok *Tokenizer) *VarPredictor {
	return &VarPredictor{
		tok,
		mlearning.NewPerceptron(),
	}
}
func NewActionPredictor() *ActionPredictor {
	return &ActionPredictor{
		mlearning.NewPerceptron(),
	}
}