⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hmmstatearc.java

📁 It is the Speech recognition software. It is platform independent. To execute the source code,
💻 JAVA
字号:
/* * Copyright 1999-2002 Carnegie Mellon University.   * Portions Copyright 2002 Sun Microsystems, Inc.   * Portions Copyright 2002 Mitsubishi Electric Research Laboratories. * All Rights Reserved.  Use is subject to license terms. *  * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL  * WARRANTIES. * */package edu.cmu.sphinx.linguist.acoustic;/** * Represents a transition to single state in an HMM * * All probabilities are maintained in linear base */public class HMMStateArc {    private HMMState hmmState;    private float probability;    /**     * Constructs an HMMStateArc     *     * @param hmmState destination state for this arc     * @param probability the probability for this transition     */    public HMMStateArc(HMMState hmmState, float probability) {	this.hmmState = hmmState;	this.probability = probability;    }    /**     * Gets the HMM associated with this state     *     * @return the HMM     */    public HMMState getHMMState() {	return hmmState;    }    /**     * Gets log transition probability      *     * @return the probability in the LogMath log domain     */    public float getLogProbability() {	return probability;    }    /**     * returns a string represntation of the arc     */    public String toString() {	return "HSA " + hmmState + " prob " + probability;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -