/*
   * (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);

    maxPathsPerWord = ps.getInt(PROP_MAX_PATHS_PER_WORD);
    maxFiller = ps.getInt(PROP_MAX_FILLER_WORDS);
  }
Esempio n. 2
0
  @Override
  public void newProperties(PropertySheet ps) throws PropertyException {
    super.newProperties(ps);

    startSpeechTime = ps.getInt(PROP_START_SPEECH);
    endSilenceTime = ps.getInt(PROP_END_SILENCE);
    speechLeader = ps.getInt(PROP_SPEECH_LEADER);
  }
 @Override
 public void newProperties(PropertySheet ps) throws PropertyException {
   super.newProperties(ps);
   logger = ps.getLogger();
   create(
       ps.getInt(PROP_BYTES_PER_READ),
       ps.getComponentList(AUDIO_FILE_LISTENERS, AudioFileProcessListener.class));
 }
Esempio n. 4
0
 @Override
 public void newProperties(PropertySheet ps) throws PropertyException {
   super.newProperties(ps);
   featureBlockSize = ps.getInt(PROP_FEATURE_BLOCK_SIZE);
 }