code: function clean(value) {
    var copy
  
    if (typeof value === 'string') {
      value = [value]
    }
  
    if (value && 'length' in value && value.length !== 0) {
      copy = value
      value = {}
  
      copy.forEach(function(phrase) {
        value[phrase] = 'a' /* Example category */
      })
    }
  
    return value
  }
docs: /* Clean a value.