goAcAutoMachine
goAcAutoMachine copied to clipboard
case: return ""
ac := goAcAutoMachine.NewAcAutoMachine()
ac.AddPattern("anymore")
ac.AddPattern("i am blessed")
ac.Build()
content := "somi anymore"
results := ac.Query(content)
for _, result := range results {
fmt.Println(result)
}