LexTreeUnitState API

来源:互联网 发布:软件平台验收报告 编辑:程序博客网 时间:2024/09/21 08:14
<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>

0 0