Beispiel #1
0
 /*
  * (non-Javadoc)
  *
  * @see
  * edu.cmu.sphinx.util.props.Configurable#newProperties(edu.cmu.sphinx.util
  * .props.PropertySheet)
  */
 @Override
 public void newProperties(PropertySheet ps) throws PropertyException {
   super.newProperties(ps);
   loader = (Loader) ps.getComponent(PROP_LOADER);
   try {
     loader.load();
   } catch (IOException e) {
     throw new PropertyException(e);
   }
   initDataProcessors();
 }
Beispiel #2
0
 public AutoCepstrum(Loader loader) throws IOException {
   initLogger();
   this.loader = loader;
   loader.load();
   initDataProcessors();
 }