Menu

Lattice Question

Help
2010-06-13
2012-09-22
  • Samuel Kitono

    Samuel Kitono - 2010-06-13

    I have a question regarding the lattice node(ps_lattice_t). It has a data
    field called hyp_str which is said to return the hypotheses string. Is this
    string representing the whole utterance? or it represents the string for that
    lattice node? I might have a misunderstanding here so please correct me if im
    wrong.

     
  • Samuel Kitono

    Samuel Kitono - 2010-06-14

    Woops looks like i saw the wrong code.Please disregard my last question. Ok my
    question is regarding ps_latnode_s. I am wondering how to extract the
    hypothesised word out of this node.

     
  • Nickolay V. Shmyrev

    /** 
     * Get word string for this node. 
     * 
     * @param dag Lattice to which node belongs. 
     * @param node Node inquired about. 
     * @return Word string for this node (possibly a pronunciation variant). 
     */
    POCKETSPHINX_EXPORT
    char const *ps_latnode_word(ps_lattice_t *dag, ps_latnode_t *node);
    

    Isn't it?

     
  • Anuj Kumar

    Anuj Kumar - 2011-06-25

    That represents the hypothesis for the whole utterance.

     

Log in to post a comment.