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