code: def encode(*args):
      
      args = [arg.split() for arg in args]
      unique = _uniquewords(*args)
      feature_vectors = np.zeros((len(args), len(unique)))
      for vec, s in zip(feature_vectors, args):
          for word in s:
              vec[unique[word]] = 1
      return feature_vectors
docs: One-hot encode the given input strings.