code: @Override
      public DataSet vectorize(InputStream is, String label) {
          try {
              BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
              String line = "";
              StringBuilder builder = new StringBuilder();
              while ((line = reader.readLine()) != null) {
                  builder.append(line);
              }
              return vectorize(builder.toString(), label);
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }
docs: Text coming from an input stream considered as one document
  
  @param is    the input stream to read from
  @param label the label to assign
  @return a dataset with a applyTransformToDestination of weights(relative to impl; could be word counts or tfidf scores)