Esempio n. 1
0
 /**
  * Invokes the train() of the learning method
  *
  * @throws MaltChainedException
  */
 public void train() throws MaltChainedException {
   try {
     method.train(featureVector);
     method.terminate();
     method = null;
   } catch (NullPointerException e) {
     throw new GuideException("The learner cannot be found. ", e);
   }
 }