Examples of calculateComponentScore()


Examples of edu.cmu.sphinx.decoder.search.Token.calculateComponentScore()

      if (!(ss instanceof HMMSearchState && ss.isEmitting())) {
        token = token.getPredecessor();
        continue;
      }

      componentScore = token.calculateComponentScore(feature);
      featureVector = FloatData.toFloatData(feature).getValues();
      mId = (int) ((HMMSearchState)token.getSearchState()).getHMMState().getMixtureId();
      posteriors = this.computePosterios(componentScore);
      len = loader.getVectorLength()[0];
View Full Code Here

Examples of edu.cmu.sphinx.linguist.acoustic.tiedstate.SenoneHMMState.calculateComponentScore()

        float logScore;
        // Find the HMM state for this node
        SenoneHMMState state = (SenoneHMMState) graph.getNode(index).getObject();
        if ((state != null) && (state.isEmitting())) {
            // Compute the scores for each mixture component in this state
            componentScores = state.calculateComponentScore(curFeature);
            // Compute the overall score for this state
            logScore = state.getScore(curFeature);
            // For CI models, for now, we only try to use mixtures
            // with one component
            assert componentScores.length == 1;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.