code: func (k *Keywords) handle(m *Msg) string {
  	if k == nil {
  		return ""
  	}
  	for _, intent := range m.StructuredInput.Intents {
  		fn, ok := k.Dict["I_"+intent]
  		if !ok {
  			continue
  		}
  
  		// If we find an intent function, use that.
  		return fn(m)
  	}
  
  	// No matching intent was found, so check for both Command and Object.
  	eng := porter2.Stemmer
  	for _, cmd := range m.StructuredInput.Commands {
  		cmd = strings.ToLower(eng.Stem(cmd))
  		for _, obj := range m.StructuredInput.Objects {
  			obj = strings.ToLower(eng.Stem(obj))
  			fn, ok := k.Dict["CO_"+cmd+"_"+obj]
  			if !ok {
  				continue
  			}
  			return fn(m)
  		}
  	}
  	return ""
  }
docs: // handle runs the first matching KeywordFn in the sentence.