private List<String> buildTrainCommand(File trainingFile,String targetModelLocation,double paramC,int paramOrderE,int paramOrderT,double paramEpsilon,int paramB){
  List<String> result=new ArrayList<>();
  result.add(resolveSVMHmmLearnCommand());
  result.add("-c");
  result.add(String.format(Locale.ENGLISH,"%f",this.paramC));
  result.add("--e");
  result.add(Integer.toString(this.paramOrderE));
  result.add("--t");
  result.add(Integer.toString(this.paramOrderT));
  result.add("-e");
  result.add(String.format(Locale.ENGLISH,"%f",this.paramEpsilon));
  result.add("--b");
  result.add(Integer.toString(this.paramB));
  result.add(trainingFile.getAbsolutePath());
  result.add(targetModelLocation);
  return result;
}

private List < String > buildTrainCommand ( File trainingFile , String targetModelLocation , double paramC , int paramOrderE , int paramOrderT , double paramEpsilon , int paramB ) { List < String > result = new ArrayList < > ( ) ; result . add ( resolveSVMHmmLearnCommand ( ) ) ; result . add ( "-c" ) ; result . add ( String . format ( Locale . ENGLISH , "%f" , this . paramC ) ) ; result . add ( "--e" ) ; result . add ( Integer . toString ( this . paramOrderE ) ) ; result . add ( "--t" ) ; result . add ( Integer . toString ( this . paramOrderT ) ) ; result . add ( "-e" ) ; result . add ( String . format ( Locale . ENGLISH , "%f" , this . paramEpsilon ) ) ; result . add ( "--b" ) ; result . add ( Integer . toString ( this . paramB ) ) ; result . add ( trainingFile . getAbsolutePath ( ) ) ; result . add ( targetModelLocation ) ; return result ; }
builds the cmd with parameters to run svm_hmm_train
