code: func (s StringSlice) Map() map[string]struct{} {
  	m := map[string]struct{}{}
  	for _, w := range s {
  		m[w] = struct{}{}
  	}
  	return m
  }
docs: // Map converts a StringSlice into a map to check quickly if words exist within
  // it.