public void LogInfo() { this.LogInfo("Loading tied-state acoustic model from: " + Location); MeansPool.LogInfo(); VariancePool.LogInfo(); MatrixPool.LogInfo(); SenonePool.LogInfo(); if (MeansTransformationMatrixPool != null) { MeansTransformationMatrixPool.LogInfo(); } if (MeansTransformationVectorPool != null) { MeansTransformationVectorPool.LogInfo(); } if (VarianceTransformationMatrixPool != null) { VarianceTransformationMatrixPool.LogInfo(); } if (VarianceTransformationVectorPool != null) { VarianceTransformationVectorPool.LogInfo(); } MixtureWeightsPool.LogInfo(); SenonePool.LogInfo(); this.LogInfo("Context Independent Unit Entries: " + ContextIndependentUnits.Count); HmmManager.LogInfo(); }
/** * /// Gets the senone sequence representing the given senones. * /// * /// @param stateid * /// is the array of senone state ids * /// @return the senone sequence associated with the states */ protected SenoneSequence GetSenoneSequence(int[] stateid) { var senones = new ISenone[stateid.Length]; for (var i = 0; i < stateid.Length; i++) { senones[i] = SenonePool.Get(stateid[i]); } return(new SenoneSequence(senones)); }