/*
   * (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);
  }
Ejemplo 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);
  }
Ejemplo n.º 3
0
 @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));
 }
Ejemplo n.º 4
0
 @Override
 public void newProperties(PropertySheet ps) throws PropertyException {
   super.newProperties(ps);
   featureBlockSize = ps.getInt(PROP_FEATURE_BLOCK_SIZE);
 }