Menu

Error in keyword search

Help
SKR
2017-06-08
2017-06-22
  • SKR

    SKR - 2017-06-08

    As mentioned in
    https://stackoverflow.com/questions/34817635/run-pocketsphinx-continuous-with-a-keyphrase ,,
    same is my problem. Since I am using my own model in Malayalam language (Kerala) I need to use -dict option.

    The command line I tried is:
    pocketsphinx_continuous -hmm ./ -dict /home/adspr/sphinx/Malayalam/model_parameters/Malayalam.ci_cont/Malayalam.dic -infile /home/adspr/sphinx/Malayalam/model_parameters/Malayalam.ci_cont/file_V.wav -keyphrase “കൊച്ചുരാമൻ” -kws_threshold 1e-20 -time yes -logfn result.log

    But I got error...
    ERROR: "kws_search.c", line 528: Word '“കൊച്ചുരാമൻ”' in phrase '“കൊച്ചുരാമൻ”' is missing in the dictionary

    I am sure, the word is in dictionary...
    What should be the reason?

    Thanks in advance.....

     
    • Nickolay V. Shmyrev

      I am sure that word is not in the dictionary. Dictionary might contain invisible UTF-8 characters that make you think the word is the same but it is not. Or there could be normalization issue. You can check exact bytes in hex editor to see the details.

       
  • SKR

    SKR - 2017-06-21

    Can you please check in it...?

    I cant find anything...

    Thank you.

     
    • Nickolay V. Shmyrev

      Sure, when you provide all the required data to reproduce your problems (hmm, bash test script), not just the dictionary.

       
  • SKR

    SKR - 2017-06-22
     
    • Nickolay V. Shmyrev

      The UTF-8 quotes you have around the keyword “ ” must be removed. You need to use ASCII quotes like " or just a keyword list file.

       
  • SKR

    SKR - 2017-06-23

    Okay,, thats the problem,,

    Problem solved...

    Thank you ...

     

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.