Menu

pocketsphinx - ps null sometime for same configuration

Help
2012-10-26
2012-10-26
  • sachin singh

    sachin singh - 2012-10-26

    hey, i am using snapshot version of pocketsphinx on linux using g++. so i have used continuous.cpp code in my application code. i have created different class and i am recognizing from a file. when i use main function in same class ( where continuous.cpp function's defined ) and run it, it recognize pretty well, but when i tried to call this from main function, which is defined in different class, ps_init(config) return null. so it exited and not recognize anything. so what is the reason? ...very strange behavior .. any help

     
  • sachin singh

    sachin singh - 2012-10-26

    so i found something , when you run this app from different folder it gives you error

    ERROR: "acmod.c", line 87: Folder 'hindi.cd_cont_1000' does not contain acoustic model definition 'mdef'

    .. means if excutable is in "home" folder and i run program from home then it run well otherwise throws an error...

     
  • eliasmajic

    eliasmajic - 2012-10-26

    So is there a mdef file inside that folder? Are you using the -hmm parameter to point to the acoustic model folder?

     
  • sachin singh

    sachin singh - 2012-10-26

    so yes there is "mdef" in acoustic model.... there was issue in file path... so i reolved that...

     

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.