gump

Forum Replies Created

Viewing 1 post (of 1 total)

  • Author
    Posts
  • in reply to: Some problems about pronunciation evaluation #1021072
    gump
    Participant

    Thank you for your instant reply and good advice.

    Another question:

    static void print_word_times(int32 start)
    {
    ps_seg_t *iter = ps_seg_iter(ps, NULL);
    while (iter != NULL) {
    int32 sf, ef, pprob;
    float conf;
    ps_seg_frames (iter, &sf, &ef);
    pprob = ps_seg_prob (iter, NULL, NULL, NULL);
    conf = logmath_exp(ps_get_logmath(ps), pprob);
    printf ("%s %f %f %f\n", ps_seg_word (iter), (sf + start) / 100.0, (ef + start) / 100.0, conf);
    iter = ps_seg_next (iter);
    }
    }

    Why the conf always is 1.0?
    Can you tell me the truth?

Viewing 1 post (of 1 total)