Menu

Trouble using SphinxTrain models in Spinx 4

Help
John Hall
2008-01-12
2012-09-22
  • John Hall

    John Hall - 2008-01-12

    I recently trained a model called "commands" with Sphinx Train. I have followed the directions here:
    http://cmusphinx.sourceforge.net/sphinx4/doc/UsingSphinxTrainModels.html
    to use them with Sphinx 4. I have just edited the helloworld demo to do this. When I use build.xml to run, however, Netbeans responds with the following:
    all:
    Compiling 1 source file to C:\sphinx4\sphinx4-1.0beta\bld\classes
    run:
    Loading...
    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 123, Size: 123
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at edu.cmu.sphinx.linguist.acoustic.tiedstate.Pool.get(Pool.java:60)
    at edu.cmu.sphinx.model.acoustic.commands.ModelLoader.getSenoneSequence(ModelLoader.java:1260)
    at edu.cmu.sphinx.model.acoustic.commands.ModelLoader.loadHMMPool(ModelLoader.java:1216)
    at edu.cmu.sphinx.model.acoustic.commands.ModelLoader.loadModelFiles(ModelLoader.java:564)
    at edu.cmu.sphinx.model.acoustic.commands.ModelLoader.load(ModelLoader.java:476)
    at edu.cmu.sphinx.model.acoustic.commands.Model.allocate(Model.java:177)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocateAcousticModel(FlatLinguist.java:336)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:318)
    at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocate(SimpleBreadthFirstSearchManager.java:602)
    at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
    at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
    at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:54)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)

    I made a few extra changes that the website didn't mention just to get it this far. I can post the files that I changed if needed. Can anyone identify what is causing this error? Thanks.

     
    • Nickolay V. Shmyrev

      Hm, looks rather strange. Can you share yor files or at least your configuration file.

       
    • John Hall

      John Hall - 2008-01-13

      Here is my configuration file. The name of the acoustic model is "commands", so the associated .jar file is "commands.jar".

      <?xml version="1.0" encoding="UTF-8"?>

      <!--
      Sphinx-4 Configuration file
      -->

      <!-- ******** -->
      <!-- an4 configuration file -->
      <!-- ******** -->

      <config>

      &lt;!-- ******************************************************** --&gt;
      &lt;!-- frequently tuned properties                              --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;property name=&quot;logLevel&quot; value=&quot;WARNING&quot;/&gt;
      
      &lt;property name=&quot;absoluteBeamWidth&quot;  value=&quot;-1&quot;/&gt;
      &lt;property name=&quot;relativeBeamWidth&quot;  value=&quot;1E-80&quot;/&gt;
      &lt;property name=&quot;wordInsertionProbability&quot; value=&quot;1E-36&quot;/&gt;
      &lt;property name=&quot;languageWeight&quot;     value=&quot;8&quot;/&gt;
      
      &lt;property name=&quot;frontend&quot; value=&quot;epFrontEnd&quot;/&gt;
      &lt;property name=&quot;recognizer&quot; value=&quot;recognizer&quot;/&gt;
      &lt;property name=&quot;showCreations&quot; value=&quot;false&quot;/&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- word recognizer configuration                            --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;recognizer&quot; type=&quot;edu.cmu.sphinx.recognizer.Recognizer&quot;&gt;
          &lt;property name=&quot;decoder&quot; value=&quot;decoder&quot;/&gt;
          &lt;propertylist name=&quot;monitors&quot;&gt;
              &lt;item&gt;accuracyTracker &lt;/item&gt;
              &lt;item&gt;speedTracker &lt;/item&gt;
              &lt;item&gt;memoryTracker &lt;/item&gt;
          &lt;/propertylist&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The Decoder   configuration                              --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;decoder&quot; type=&quot;edu.cmu.sphinx.decoder.Decoder&quot;&gt;
          &lt;property name=&quot;searchManager&quot; value=&quot;searchManager&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;searchManager&quot; 
          type=&quot;edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager&quot;&gt;
          &lt;property name=&quot;logMath&quot; value=&quot;logMath&quot;/&gt;
          &lt;property name=&quot;linguist&quot; value=&quot;flatLinguist&quot;/&gt;
          &lt;property name=&quot;pruner&quot; value=&quot;trivialPruner&quot;/&gt;
          &lt;property name=&quot;scorer&quot; value=&quot;threadedScorer&quot;/&gt;
          &lt;property name=&quot;activeListFactory&quot; value=&quot;activeList&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;activeList&quot; 
               type=&quot;edu.cmu.sphinx.decoder.search.PartitionActiveListFactory&quot;&gt;
          &lt;property name=&quot;logMath&quot; value=&quot;logMath&quot;/&gt;
          &lt;property name=&quot;absoluteBeamWidth&quot; value=&quot;${absoluteBeamWidth}&quot;/&gt;
          &lt;property name=&quot;relativeBeamWidth&quot; value=&quot;${relativeBeamWidth}&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;trivialPruner&quot; 
                  type=&quot;edu.cmu.sphinx.decoder.pruner.SimplePruner&quot;/&gt;
      
      &lt;component name=&quot;threadedScorer&quot; 
                  type=&quot;edu.cmu.sphinx.decoder.scorer.ThreadedAcousticScorer&quot;&gt;
          &lt;property name=&quot;frontend&quot; value=&quot;${frontend}&quot;/&gt;
          &lt;property name=&quot;isCpuRelative&quot; value=&quot;true&quot;/&gt;
          &lt;property name=&quot;numThreads&quot; value=&quot;0&quot;/&gt;
          &lt;property name=&quot;minScoreablesPerThread&quot; value=&quot;10&quot;/&gt;
          &lt;property name=&quot;scoreablesKeepFeature&quot; value=&quot;true&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The linguist  configuration                              --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;flatLinguist&quot; 
                  type=&quot;edu.cmu.sphinx.linguist.flat.FlatLinguist&quot;&gt;
          &lt;property name=&quot;logMath&quot; value=&quot;logMath&quot;/&gt;
          &lt;property name=&quot;grammar&quot; value=&quot;jsgfGrammar&quot;/&gt;
          &lt;property name=&quot;acousticModel&quot; value=&quot;commands&quot;/&gt;
          &lt;property name=&quot;wordInsertionProbability&quot; 
                  value=&quot;${wordInsertionProbability}&quot;/&gt;
          &lt;property name=&quot;languageWeight&quot; value=&quot;${languageWeight}&quot;/&gt;
          &lt;property name=&quot;unitManager&quot; value=&quot;unitManager&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The Grammar  configuration                               --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;jsgfGrammar&quot; type=&quot;edu.cmu.sphinx.jsapi.JSGFGrammar&quot;&gt;
          &lt;property name=&quot;dictionary&quot; value=&quot;dictionary&quot;/&gt;
          &lt;property name=&quot;grammarLocation&quot; 
               value=&quot;resource:/demo.sphinx.helloworld.HelloWorld!/demo/sphinx/helloworld/&quot;/&gt;
          &lt;property name=&quot;grammarName&quot; value=&quot;hello&quot;/&gt;
      &lt;property name=&quot;logMath&quot; value=&quot;logMath&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The Dictionary configuration                            --&gt;
      &lt;!-- ******************************************************** --&gt;
      &lt;component name=&quot;dictionary&quot;
          type=&quot;edu.cmu.sphinx.linguist.dictionary.FullDictionary&quot;&gt;
          &lt;property name=&quot;dictionaryPath&quot;
              value=&quot;resource:/edu.cmu.sphinx.model.acoustic.commands.Model!/edu/cmu/sphinx/model/acoustic/commands/dict/commands.dic&quot;/&gt;
          &lt;property name=&quot;fillerPath&quot; 
           value=&quot;resource:/edu.cmu.sphinx.model.acoustic.commands.Model!/edu/cmu/sphinx/model/acoustic/commands/dict/commands.filler&quot;/&gt;
          &lt;property name=&quot;addSilEndingPronunciation&quot; value=&quot;false&quot;/&gt;
          &lt;property name=&quot;allowMissingWords&quot; value=&quot;false&quot;/&gt;
          &lt;property name=&quot;unitManager&quot; value=&quot;unitManager&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The acoustic model configuration                         --&gt;
      &lt;!-- ******************************************************** --&gt;
      &lt;component name=&quot;commands&quot; 
              type=&quot;edu.cmu.sphinx.model.acoustic.commands.Model&quot;&gt;
          &lt;property name=&quot;loader&quot; value=&quot;sphinx3Loader&quot;/&gt;
          &lt;property name=&quot;unitManager&quot; value=&quot;unitManager&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;sphinx3Loader&quot;
              type=&quot;edu.cmu.sphinx.model.acoustic.commands.ModelLoader&quot;&gt;
          &lt;property name=&quot;logMath&quot; value=&quot;logMath&quot;/&gt;
          &lt;property name=&quot;unitManager&quot; value=&quot;unitManager&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The unit manager configuration                           --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;unitManager&quot; 
          type=&quot;edu.cmu.sphinx.linguist.acoustic.UnitManager&quot;/&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The frontend configuration                               --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;frontEnd&quot; type=&quot;edu.cmu.sphinx.frontend.FrontEnd&quot;&gt;
          &lt;propertylist name=&quot;pipeline&quot;&gt;
              &lt;item&gt;microphone &lt;/item&gt;
              &lt;item&gt;premphasizer &lt;/item&gt;
              &lt;item&gt;windower &lt;/item&gt;
              &lt;item&gt;fft &lt;/item&gt;
              &lt;item&gt;melFilterBank &lt;/item&gt;
              &lt;item&gt;dct &lt;/item&gt;
              &lt;item&gt;liveCMN &lt;/item&gt;
              &lt;item&gt;featureExtraction &lt;/item&gt;
          &lt;/propertylist&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The live frontend configuration                          --&gt;
      &lt;!-- ******************************************************** --&gt;
      &lt;component name=&quot;epFrontEnd&quot; type=&quot;edu.cmu.sphinx.frontend.FrontEnd&quot;&gt;
          &lt;propertylist name=&quot;pipeline&quot;&gt;
              &lt;item&gt;microphone &lt;/item&gt;
              &lt;item&gt;speechClassifier &lt;/item&gt;
              &lt;item&gt;speechMarker &lt;/item&gt;
              &lt;item&gt;nonSpeechDataFilter &lt;/item&gt;
              &lt;item&gt;premphasizer &lt;/item&gt;
              &lt;item&gt;windower &lt;/item&gt;
              &lt;item&gt;fft &lt;/item&gt;
              &lt;item&gt;melFilterBank &lt;/item&gt;
              &lt;item&gt;dct &lt;/item&gt;
              &lt;item&gt;liveCMN &lt;/item&gt;
              &lt;item&gt;featureExtraction &lt;/item&gt;
          &lt;/propertylist&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************** --&gt;
      &lt;!-- The frontend pipelines                                   --&gt;
      &lt;!-- ******************************************************** --&gt;
      
      &lt;component name=&quot;speechClassifier&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.endpoint.SpeechClassifier&quot;&gt;
          &lt;property name=&quot;threshold&quot; value=&quot;13&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;nonSpeechDataFilter&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.endpoint.NonSpeechDataFilter&quot;/&gt;
      
      &lt;component name=&quot;speechMarker&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.endpoint.SpeechMarker&quot; &gt;
          &lt;property name=&quot;speechTrailer&quot; value=&quot;50&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;premphasizer&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.filter.Preemphasizer&quot;/&gt;
      
      &lt;component name=&quot;windower&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.window.RaisedCosineWindower&quot;&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;fft&quot; 
              type=&quot;edu.cmu.sphinx.frontend.transform.DiscreteFourierTransform&quot;&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;melFilterBank&quot; 
          type=&quot;edu.cmu.sphinx.frontend.frequencywarp.MelFrequencyFilterBank&quot;&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;dct&quot; 
              type=&quot;edu.cmu.sphinx.frontend.transform.DiscreteCosineTransform&quot;/&gt;
      
      &lt;component name=&quot;liveCMN&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.feature.LiveCMN&quot;/&gt;
      
      &lt;component name=&quot;featureExtraction&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.feature.DeltasFeatureExtractor&quot;/&gt;
      
      &lt;component name=&quot;microphone&quot; 
                 type=&quot;edu.cmu.sphinx.frontend.util.Microphone&quot;&gt;
          &lt;property name=&quot;closeBetweenUtterances&quot; value=&quot;false&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************* --&gt;
      &lt;!--  monitors                                               --&gt;
      &lt;!-- ******************************************************* --&gt;
      
      &lt;component name=&quot;accuracyTracker&quot; 
                  type=&quot;edu.cmu.sphinx.instrumentation.AccuracyTracker&quot;&gt;
          &lt;property name=&quot;recognizer&quot; value=&quot;${recognizer}&quot;/&gt;
          &lt;property name=&quot;showAlignedResults&quot; value=&quot;false&quot;/&gt;
          &lt;property name=&quot;showRawResults&quot; value=&quot;false&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;memoryTracker&quot; 
                  type=&quot;edu.cmu.sphinx.instrumentation.MemoryTracker&quot;&gt;
          &lt;property name=&quot;recognizer&quot; value=&quot;${recognizer}&quot;/&gt;
      &lt;property name=&quot;showSummary&quot; value=&quot;false&quot;/&gt;
      &lt;property name=&quot;showDetails&quot; value=&quot;false&quot;/&gt;
      &lt;/component&gt;
      
      &lt;component name=&quot;speedTracker&quot; 
                  type=&quot;edu.cmu.sphinx.instrumentation.SpeedTracker&quot;&gt;
          &lt;property name=&quot;recognizer&quot; value=&quot;${recognizer}&quot;/&gt;
          &lt;property name=&quot;frontend&quot; value=&quot;${frontend}&quot;/&gt;
      &lt;property name=&quot;showSummary&quot; value=&quot;true&quot;/&gt;
      &lt;property name=&quot;showDetails&quot; value=&quot;false&quot;/&gt;
      &lt;/component&gt;
      
      &lt;!-- ******************************************************* --&gt;
      &lt;!--  Miscellaneous components                               --&gt;
      &lt;!-- ******************************************************* --&gt;
      
      &lt;component name=&quot;logMath&quot; type=&quot;edu.cmu.sphinx.util.LogMath&quot;&gt;
          &lt;property name=&quot;logBase&quot; value=&quot;1.0001&quot;/&gt;
          &lt;property name=&quot;useAddTable&quot; value=&quot;true&quot;/&gt;
      &lt;/component&gt;
      

      </config>

      Here is build.xml:

      <?xml version="1.0" encoding="UTF-8"?>

      <project basedir="." default="all" name="The hello world demo.">

      <description>
      This file is used to run the hello world demo.

      NOTE: Before running the tests, you must have already built
      the sphinx-4 sources by typing "ant" in the top level
      sphinx4 directory.

      </description>

      &lt;!-- ********************************************************** --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- * Properties common to all tests                         * --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- ********************************************************** --&gt;
      &lt;property name=&quot;top_dir&quot;       value=&quot;../../..&quot;/&gt;
      &lt;property name=&quot;lib_dir&quot;            value=&quot;${top_dir}/lib&quot;/&gt;
      &lt;property name=&quot;build_dir&quot;     value=&quot;${top_dir}/bld&quot;/&gt;
      &lt;property name=&quot;classes_dir&quot;   value=&quot;${build_dir}/classes&quot;/&gt;
      
      &lt;path id=&quot;run.classpath&quot;&gt;
          &lt;pathelement path=&quot;${classes_dir}&quot;/&gt;
      &lt;pathelement location=&quot;${lib_dir}/jsapi.jar&quot;/&gt;
          &lt;pathelement location=&quot;${lib_dir}/commands.jar&quot;/&gt;
      &lt;/path&gt;
      
      &lt;!-- ********************************************************** --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- * The 'none' target.                                     * --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- ********************************************************** --&gt;
      &lt;target name=&quot;none&quot;&gt;
              &lt;echo&gt;Type 'ant -projecthelp' for possible targets.&lt;/echo&gt;
      &lt;/target&gt;
      
      &lt;!-- ********************************************************** --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- * Compile all the test code.                             * --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- ********************************************************** --&gt;
      &lt;target name=&quot;all&quot;
              description=&quot;Compiles all the tests.&quot;&gt;
          &lt;javac debug=&quot;true&quot;
                 source=&quot;1.4&quot;
             deprecation=&quot;true&quot;
             destdir=&quot;${classes_dir}&quot;
             classpath=&quot;${classes_dir}:${lib_dir}/jsapi.jar&quot;
             srcdir=&quot;.&quot;/&gt;
      &lt;/target&gt;
      
      &lt;!-- ********************************************************** --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- * Runs the hello world demo.                             * --&gt;
      &lt;!-- *                                                        * --&gt;
      &lt;!-- ********************************************************** --&gt;
      &lt;target name=&quot;run&quot;
          description=&quot;Runs the hello world demo.&quot;
          depends=&quot;all&quot;&gt;
          &lt;java classname=&quot;demo.sphinx.helloworld.HelloWorld&quot;
                fork=&quot;true&quot;
            maxmemory=&quot;128m&quot;&gt;
                    &lt;sysproperty key=&quot;frontend&quot; value=&quot;epFrontEnd&quot;/&gt;
            &lt;classpath refid=&quot;run.classpath&quot;/&gt;
            &lt;arg value=&quot;helloworld.config.xml&quot;/&gt;
          &lt;/java&gt;
      &lt;/target&gt;
      

      </project>

      And finally the manifest:

      Main-Class: demo.sphinx.helloworld.HelloWorld
      Class-Path: ../lib/sphinx4.jar ../lib/jsapi.jar ../lib/commands.jar

      HelloWorld.java is unchanged. Any ideas? Thanks.

       
      • Nickolay V. Shmyrev

        Hm, microphone pipeline also include datablocker in original demo. Probably it's the case. Can you please follow the demo more precisely. Also please paste model.props.

         
        • John Hall

          John Hall - 2008-01-15

          I'm sorry. I haven't been able to find anything about a microphone pipeline or datablocker anywhere in the demo file. s. What exactly are you referring to?

          Here is my model.props file:

          description = commands acoustic models
          modelClass = edu.cmu.sphinx.model.acoustic.commands.Model
          modelLoader = edu.cmu.sphinx.model.acoustic.commands.ModelLoader
          dataLocation = commands.ci_cont
          modelDefinition = etc/commands.1000.mdef

          isBinary = true
          featureType = ls_c_d_dd
          vectorLength = 39
          sparseForm = false

          numberFftPoint = 512
          numberFilters = 40
          gaussians = 8
          minimumFrequency = 133.33334
          maximumFrequency = 6855.4976
          sampleRate = 16000

          I set these values as best I could determine from SphinxTrain's make_feats.pl file, which I ran before running the RunAll.pl script.

          Also, I recently made some hardware changes, leading to my microphone no longer working (I'm working on a fix). Could this be the problem?

          Thanks.

           
          • Nickolay V. Shmyrev

            > I'm sorry. I haven't been able to find anything about a microphone pipeline or datablocker anywhere in the demo file. s. What exactly are you referring to?

            http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinx4/src/demo/sphinx/helloworld/helloworld.config.xml?revision=6346&view=markup

            line 169

             
            • John Hall

              John Hall - 2008-01-16

              It must be different in the sphinx4-1.0beta-src.zip file on SourceForge. I got it via svn, but I'm having trouble setting it up in Netbeans now. There are no com, edu, and demo folders in $SPHINX_ROOT anymore. Where do I find these to add them to the source/test package folders?

               
              • Holger Brandl

                Holger Brandl - 2008-01-16

                Hi,

                indeed, the directory structure has been changed since s4b1. You need to add all subfolders (excluding 'demo') of the src-folder and the src-folder itself as source-folders in netbeans.

                @nshmyrev: What do you think: Should we move the demo folder to an own subfolder? The current state is not nice because the demo-folder is already part of the demo-class-package which leads to the strange procedure of adding children of 'src' and 'src' itself as source-folders.

                 
                • Nickolay V. Shmyrev

                  I'm all for structure simplification. For example in eclipse current view is very confusing - it shows src folder, src/sphinx4 subfolder and organization of packages is not clear. At least we can remove empty extras folder (in svn you can do it :)) The reason of separation of demos on jsapi and sphinx is not clear for me too.

                  About original problem, of course it's better to work with trunk, the corresponding code seems missing now. But it seems it's not related to config but to the model itself. Number of tied states is not correct probably, what about state number 123 there? ldb88, can you please give a link to mdef file from a model? Better send me the model jar, by mail for example.

                   
    • John Hall

      John Hall - 2008-01-19

      Here is a link to the .jar file:
      http://rapidshare.com/files/84626619/commands.jar.html

      Thanks.

       
      • Nickolay V. Shmyrev

        Oh, well, now it's clear.

        1) You are using context dependent mdef cd_cont.1000.mdef with context independant means and variances. In model props use ci_cont mdef, it will work fine. also set correct number of gaussians (I suppose it's 1 for ci).

        2) For US English there is no sense to train your own model, use wsj instead. You won't get better performance unless you have enormous amount of data.

        3) Even if you decided to train, either use more states or use smaller phonetic units (syllables or phones). If you are using unique or big units like syllables or words, do not train context dependant models, they are senseless. Use ci models instead.

         

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.