Menu

modifiying pocketsphinx android demo

Help
Asmagul
2015-06-28
2015-06-28
  • Asmagul

    Asmagul - 2015-06-28

    i make my own acoustic model and dictionary lm etc for my local language.
    now i have to make an android app for it ,i run the pocket sphinx android demo successfully on windows and it worked correctly
    i want to ask if just changing the acoustic model and dictionary and phones in android pocket sphinx demo with my own will work or i have to make some other changes to make it work.?

     
    • Nickolay V. Shmyrev

      Just changing the model will work.

       
  • Asmagul

    Asmagul - 2015-06-28

    i do only acoustic model as u told me but it give me errors phone is missing in the acoustic model etc following is the log file , i think i have to change both dictionary
    and phone file.but phone file is in dmp format and i don't know how to convert from text to dmp format if u have any suggestions regarding this?

    06-28 22:27:36.824 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123888: Phone 'V' is mising in the acoustic model; word 'undervalue' ignored
    06-28 22:27:36.824 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123889: Phone 'V' is mising in the acoustic model; word 'undervalued' ignored
    06-28 22:27:36.824 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123890: Phone 'V' is mising in the acoustic model; word 'undervalues' ignored
    06-28 22:27:36.825 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123891: Phone 'V' is mising in the acoustic model; word 'undervaluing' ignored
    06-28 22:27:36.826 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123900: Phone 'TH' is mising in the acoustic model; word 'underwithheld' ignored
    06-28 22:27:36.827 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123901: Phone 'TH' is mising in the acoustic model; word 'underwithhold' ignored
    06-28 22:27:36.897 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123902: Phone 'TH' is mising in the acoustic model; word 'underwithholding' ignored
    06-28 22:27:36.911 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123915: Phone 'OW' is mising in the acoustic model; word 'underwrote' ignored
    06-28 22:27:36.911 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123916: Phone 'V' is mising in the acoustic model; word 'undeserved' ignored
    06-28 22:27:36.911 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123917: Phone 'V' is mising in the acoustic model; word 'undeserving' ignored
    06-28 22:27:36.912 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123926: Phone 'V' is mising in the acoustic model; word 'undeveloped' ignored
    06-28 22:27:36.913 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123927: Phone 'AE' is mising in the acoustic model; word 'undiagnosed' ignored
    06-28 22:27:36.914 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123935: Phone 'AE' is mising in the acoustic model; word 'undiplomatic' ignored
    06-28 22:27:36.915 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123936: Phone 'AE' is mising in the acoustic model; word 'undiplomatically' ignored
    06-28 22:27:36.916 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123938: Phone 'OW' is mising in the acoustic model; word 'undisclosed' ignored
    06-28 22:27:36.917 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123939: Phone 'V' is mising in the acoustic model; word 'undiscovered' ignored
    06-28 22:27:36.961 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123945: Phone 'V' is mising in the acoustic model; word 'undiversified' ignored
    06-28 22:27:36.961 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123946: Phone 'V' is mising in the acoustic model; word 'undivided' ignored
    06-28 22:27:36.962 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123954: Phone 'AW' is mising in the acoustic model; word 'undoubted' ignored
    06-28 22:27:36.962 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123955: Phone 'AW' is mising in the acoustic model; word 'undoubtedly' ignored
    06-28 22:27:36.963 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123967: Phone 'TH' is mising in the acoustic model; word 'unearth' ignored
    06-28 22:27:36.963 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123968: Phone 'TH' is mising in the acoustic model; word 'unearthed' ignored
    06-28 22:27:36.964 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123969: Phone 'TH' is mising in the acoustic model; word 'unearthing' ignored
    06-28 22:27:36.964 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123970: Phone 'TH' is mising in the acoustic model; word 'unearthly' ignored
    06-28 22:27:36.965 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123981: Phone 'OW' is mising in the acoustic model; word 'unemotional' ignored
    06-28 22:27:36.965 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123982: Phone 'OW' is mising in the acoustic model; word 'unemotional(2)' ignored
    06-28 22:27:36.965 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123983: Phone 'OY' is mising in the acoustic model; word 'unemploy' ignored
    06-28 22:27:36.966 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123984: Phone 'OY' is mising in the acoustic model; word 'unemployable' ignored
    06-28 22:27:36.966 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123985: Phone 'OY' is mising in the acoustic model; word 'unemployed' ignored
    06-28 22:27:36.966 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123986: Phone 'OY' is mising in the acoustic model; word 'unemployment' ignored
    06-28 22:27:36.967 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123993: Phone 'TH' is mising in the acoustic model; word 'unenthusiastic' ignored
    06-28 22:27:37.027 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123995: Phone 'V' is mising in the acoustic model; word 'unenviable' ignored
    06-28 22:27:37.027 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123996: Phone 'OW' is mising in the acoustic model; word 'uneo' ignored
    06-28 22:27:37.035 8899-8924/edu.cmu.sphinx.pocketsphinx E/cmusphinx﹕ ERROR: "dict.c", line 195: Line 123999: Phone 'V' is mising in the acoustic model; word 'unequivocably'

     
    • Nickolay V. Shmyrev

      You can use language model both in arpa and in dmp format. There is no need to convert. In case you want to convert, the tool sphinx_lm_convert converts from arpa to dmp format. The tool usage is covered in lm tutorial.

       

Log in to post a comment.