예제 #1
0
func NewIngredientClassifier() *fuz.Classifier {
	classifier := fuz.NewFuzzyClassifier()
	classifier.AddOrPanic(ingredientRules)
	return classifier
}
예제 #2
0
func NewDirectionClassifier() *fuz.Classifier {
	classifier := fuz.NewFuzzyClassifier()
	classifier.AddOrPanic(directionRules)
	return classifier
}