Package edu.cmu.sphinx.util.props

Examples of edu.cmu.sphinx.util.props.PropertyException


     * edu.cmu.sphinx.util.props.Configurable#newProperties(edu.cmu.sphinx.
     * util.props.PropertySheet)
     */
    public void newProperties(PropertySheet ps) throws PropertyException {
        if (allocated) {
            throw new PropertyException(
                                        ClassBasedLanguageModel.class.getName(),
                                        null,
                                        "Can't change properties after allocation");
        }
        classMap = (ClassMap) ps.getComponent(PROP_CLASS_MAP);
View Full Code Here


        logger = ps.getLogger();
        this.dictionary = (TrainerDictionary)ps.getComponent(DICTIONARY);
        try {
      dictionary.allocate();
    } catch (IOException e) {
      throw new PropertyException(e);
    }

        this.audioFile = ps.getString(PROP_AUDIO_FILE);
        this.transcriptFile = ps.getString(PROP_TRANSCRIPT_FILE);
        this.currentPartition = ps.getInt(PROP_WHICH_BATCH);
View Full Code Here

TOP

Related Classes of edu.cmu.sphinx.util.props.PropertyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.