code: private static byte[] loadDefaultFeatureGeneratorBytes() {
  
      final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      try (InputStream in = DocumentClassifierFactory.class.getResourceAsStream(
          "/documentClassifier/default-feature-descriptor.xml")) {
  
        if (in == null) {
          throw new IllegalStateException(
              "Classpath must contain default-feature-descriptor.xml file!");
        }
  
        final byte buf[] = new byte[1024];
        int len;
        while ((len = in.read(buf)) > 0) {
          bytes.write(buf, 0, len);
        }
      } catch (final IOException e) {
        throw new IllegalStateException(
            "Failed reading from default-feature-descriptor.xml file on classpath!");
      }
      return bytes.toByteArray();
    }
docs: TODO call this method for default feature generation