Menu

Problem switchin grammar and lm runtime

Help
2010-07-19
2012-09-22
  • Samuel Kitono

    Samuel Kitono - 2010-07-19

    Hi Ns,
    My problem is if i initialize pocketsphinx with -lm function I will get a null
    pointer from ps_get_fsgset function. I am sure I have initialized the grammar
    file correctly and the code actually works if i use -jsgf option. The code i
    use is below:

        grammar = jsgf_parse_file([str UTF8String], NULL);
        if(grammar){
            jsgf_rule_iter_t *itor;
            jsgf_rule_t *rule = nil;
            char * ruleName = nil;
            fsg_set_t *curFSGSet = ps_get_fsgset([self ps]);
    

    Please advise what to do. Thanks

     
  • Nickolay V. Shmyrev

    Please advise what to do. Thanks

    Read documentation on ps_get_fsget

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.