code: public boolean init(String modelDir){
      	try {
  	    	classifier = new Classification(modelDir);
  	        feaGen = new FeatureGenerator();
  	        classifier.init();
  	        return true;
      	}
      	catch(Exception e){
      		System.out.println("Error while initilizing classifier: " + e.getMessage());
      		return false;
      	}
      }
docs: Creates a new instance of JVnSenSegmenter.
  
  @param modelDir the model dir
  @return true, if successful