private static List<String> buildTestCommand(File testFile,String modelLocation,String outputPredictions) throws IOException {
  List<String> result=new ArrayList<>();
  result.add(resolveSVMHmmClassifyCommand());
  result.add(testFile.getAbsolutePath());
  result.add(modelLocation);
  result.add(outputPredictions);
  return result;
}

private static List < String > buildTestCommand ( File testFile , String modelLocation , String outputPredictions ) throws IOException { List < String > result = new ArrayList < > ( ) ; result . add ( resolveSVMHmmClassifyCommand ( ) ) ; result . add ( testFile . getAbsolutePath ( ) ) ; result . add ( modelLocation ) ; result . add ( outputPredictions ) ; return result ; }
builds command line parameters for testing predictions
