Menu

french_f0.5725.mdef

guypsia
2017-12-18
2018-01-12
  • guypsia

    guypsia - 2017-12-18

    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"/>

     
    • Nickolay V. Shmyrev

      Inside French acoustic model archive

       
  • guypsia

    guypsia - 2018-01-09

    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 ?

     
    • Nickolay V. Shmyrev

      Recent sphinx4 does not use config files, see the tutorial http://cmusphinx.github.io/wiki/tutorialsphinx4

       
  • guypsia

    guypsia - 2018-01-10

    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)

     

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.