LexTreeUnitState API

<span style="font-size:24px;">public class LexTreeUnitState extends LexTreeState implements UnitSearchState
代表在搜索空间中的一个单元。
private float logInsertionProbability;插入概率
private float logLanguageProbability;语言概率
private Node parentNode;父节点
private int hashCode = -1;
本类的构造方法:
LexTreeUnitState(HMMNode hmmNode, WordSequence wordSequence,float smearTerm, float smearProb, float languageProbability, float insertionProbability, boolean collapsed);给定属性参数创建对象。
 LexTreeUnitState(HMMNode hmmNode, WordSequence wordSequence,float smearTerm, float smearProb, float languageProbability,float insertionProbability, Node parentNode, boolean collapsed);给定属性参数创建LexTreeUnitState对象。
本类的方法:
 public Unit getUnit();获得此状态相关的baseunit。
 public int hashCode() ;此对象的hashcode。
 private HMMNode getHMMNode();获的相关的节点hmmnode。</span>




你可能感兴趣的:(sphinx,语音识别)