In tutorials for french recognition, the file french_f0.5725.mdef is necessary
But where to find this file ?
It seems to be the acoustic definition for french / and it is used in the xml config below in The acoustic model configuration.
Thanks for help / nobody can find this file in the online ressource
<component name="dictionary" type="edu.cmu.sphinx.linguist.dictionary.FullDictionary">
<property name="dictionaryPath" value="resource:/sphinx4.Main!/sphinx4/french/etc/frenchWords62K.dic"/> --> le dictionnaire
<property name="fillerPath" value="resource:/sphinx4.Main!/sphinx4/french/etc/frenchFillers.filler"/> --> le filler (permet de reconnaitre certaines onomatopées et fin de phrase)
<property name="addSilEndingPronunciation" value="true"/>
<property name="unitManager" value="unitManager"/>
</component>
happy new year !
so, in the tar file, there is differents files. How use theses files in the parameter file / the acoustic model configuration ? Can you help me and give me a usage sample (config file, use code)
I don't find files whith extention .MDL, .DIC, .MDEF ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks a lot Nickolay.
in the tutorial page, the sample says :
configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");
configuration.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict");
configuration.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.bin");
In tutorials for french recognition, the file french_f0.5725.mdef is necessary
But where to find this file ?
It seems to be the acoustic definition for french / and it is used in the xml config below in The acoustic model configuration.
Thanks for help / nobody can find this file in the online ressource
<component name="trigramModel" type="edu.cmu.sphinx.linguist.language.ngram.large.LargeTrigramModel">
<property name="unigramWeight" value="0.7"/>
<property name="maxDepth" value="3"/>
<property name="logMath" value="logMath"/>
<property name="dictionary" value="dictionary"/>
<property name="location" value="/sphinx4/french/etc/french3g62K.DMP"/> ---> le modèle acoustique
</component>
<component name="dictionary" type="edu.cmu.sphinx.linguist.dictionary.FullDictionary">
<property name="dictionaryPath" value="resource:/sphinx4.Main!/sphinx4/french/etc/frenchWords62K.dic"/> --> le dictionnaire
<property name="fillerPath" value="resource:/sphinx4.Main!/sphinx4/french/etc/frenchFillers.filler"/> --> le filler (permet de reconnaitre certaines onomatopées et fin de phrase)
<property name="addSilEndingPronunciation" value="true"/>
<property name="unitManager" value="unitManager"/>
</component>
<component name="sphinx3Loader" type="edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader">
<property name="logMath" value="logMath"/>
<property name="unitManager" value="unitManager"/>
<property name="modelDefinition" value="/sphinx4/french/model_architecture/french_f0.5725.mdef"/>
Inside French acoustic model archive
Can you give more details please ?
Use this model
https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/French/cmusphinx-fr-5.2.tar.gz/download
happy new year !
so, in the tar file, there is differents files. How use theses files in the parameter file / the acoustic model configuration ? Can you help me and give me a usage sample (config file, use code)
I don't find files whith extention .MDL, .DIC, .MDEF ?
Recent sphinx4 does not use config files, see the tutorial http://cmusphinx.github.io/wiki/tutorialsphinx4
thanks a lot Nickolay.
in the tutorial page, the sample says :
configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");
configuration.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict");
configuration.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.bin");
so to use a configuration for french recognition, how to do ? in the model french file https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/French/cmusphinx-fr-5.2.tar.gz/download i have not .dict file or .bin file ?
(the model path link the directory of file model)
You can simply browse the downloads
https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/French/