Hi, i'm attempting to modify my configuration manager so it does not contain any absolute paths, however i am having some problems.
the value for my grammer that works is:
<property name="grammarLocation" value="file:/C:/Documents and Settings/Dan/Desktop/Projects/ldb/lib" /
with hello.gram residing in the lib folder.
I now want to change this so that it is a resource. e.g.
<property name="dictionaryPath" value="resource:/edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model!/edu/cmu/sphinx/model/acoustic/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/cmudict.0.6d"/> (note this works!)
however i cant seem to get it working . Could someone suggest what my value should be so that my resource is located?
any help is appreciated. thanks!
Log in to post a comment.
Hi, i'm attempting to modify my configuration manager so it does not contain any absolute paths, however i am having some problems.
the value for my grammer that works is:
<property name="grammarLocation" value="file:/C:/Documents and Settings/Dan/Desktop/Projects/ldb/lib" /
with hello.gram residing in the lib folder.
I now want to change this so that it is a resource. e.g.
<property name="dictionaryPath"
value="resource:/edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model!/edu/cmu/sphinx/model/acoustic/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/cmudict.0.6d"/>
(note this works!)
however i cant seem to get it working . Could someone suggest what my value should be so that my resource is located?
any help is appreciated. thanks!