Source:
<code>NamedTuple makeClassifiers(MultiEncoder encoder) { Map inferredFields = (Map<String, Class<? extends Classifier>>) params.get(KEY.INFERRED_FIELDS); if(inferredFields == null || inferredFields.entrySet().size() == 0) { throw new IllegalStateException( "KEY.AUTO_CLASSIFY has been set to \"true\", but KEY.INFERRED_FIELDS is null or\n\t" + "empty. Must specify desired Classifier for at least one input field in\n\t" + <START> "KEY.INFERRED_FIELDS or set KEY.AUTO_CLASSIFY to \"false\"." <END> ); } String[] names = new String[encoder.getEncoders(encoder).size()]; Classifier[] ca = new Classifier[names.length]; int i = 0; for(EncoderTuple et : encoder.getEncoders(encoder)) { names[i] = et.getName(); Object fieldClassifier = inferredFields.get(et.getName()); if(fieldClassifier == CLAClassifier.class) { LOGGER.info("Classifying \"" + et.getName() + "\" input field with CLAClassifier"); ca[i] = new CLAClassifier(); } else if(fieldClassifier == SDRClassifier.class) { LOGGER.info("Classifying \"" + et.getName() + "\" input field with SDRClassifier"); ca[i] = new SDRClassifier(); } else if(fieldClassifier != null) { throw new IllegalStateException( "Invalid Classifier class token, \"" + fieldClassifier + "\",\n\t" + "specified for, \"" + et.getName() + "\", input field.\n\t" + "Valid class tokens are CLAClassifier.class and SDRClassifier.class" ); } else { LOGGER.info("Not classifying \"" + et.getName() + "\" input field"); } i++; } return new NamedTuple(names, (Object[])ca); }</code><technical_language>@Hopding I KEY.AUTO_CLASSIFY all, force user set false. adds verboseness needed? change this to, "Must desired Classifier for input field in "KEY.INFERRED_FIELDS" "KEY.AUTO_CLASSIFY" all."</technical_language>

Target:
NamedTuple makeClassifiers(MultiEncoder encoder) { Map<String, Class<? extends Classifier>> inferredFields = (Map<String, Class<? extends Classifier>>) params.get(KEY.INFERRED_FIELDS); if(inferredFields == null || inferredFields.entrySet().size() == 0) { throw new IllegalStateException( "KEY.AUTO_CLASSIFY has been set to \"true\", but KEY.INFERRED_FIELDS is null or\n\t" + "empty. Must specify desired Classifier for at least one input field in\n\t" + "KEY.INFERRED_FIELDS or set KEY.AUTO_CLASSIFY to \"false\" (which is its default\n\t" + "value in Parameters)." ); } String[] names = new String[encoder.getEncoders(encoder).size()]; Classifier[] ca = new Classifier[names.length]; int i = 0; for(EncoderTuple et : encoder.getEncoders(encoder)) { names[i] = et.getName(); Object fieldClassifier = inferredFields.get(et.getName()); if(fieldClassifier == CLAClassifier.class) { LOGGER.info("Classifying \"" + et.getName() + "\" input field with CLAClassifier"); ca[i] = new CLAClassifier(); } else if(fieldClassifier == SDRClassifier.class) { LOGGER.info("Classifying \"" + et.getName() + "\" input field with SDRClassifier"); ca[i] = new SDRClassifier(); } else if(fieldClassifier != null) { throw new IllegalStateException( "Invalid Classifier class token, \"" + fieldClassifier + "\",\n\t" + "specified for, \"" + et.getName() + "\", input field.\n\t" + "Valid class tokens are CLAClassifier.class and SDRClassifier.class" ); } else { LOGGER.info("Not classifying \"" + et.getName() + "\" input field"); } i++; } return new NamedTuple(names, (Object[])ca); }