Code Search for Developers
 
 
  

config.xml from Texai at Krugle


Show config.xml syntax highlighted

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

<!-- ************************************************** -->
<!-- Sphinx-4 Configuration File                        -->
<!-- ************************************************** -->


<config>
  <!-- ************************************************** -->
  <!-- Global Properties                                  -->
  <!-- ************************************************** -->

        <property name="relativeBeamWidth" value="1E-60"/>
        <property name="absoluteWordBeamWidth" value="22"/>
        <property name="relativeWordBeamWidth" value="1E-30"/>
        <property name="wordInsertionProbability" value=".2"/>
        <property name="languageWeight" value="10.5"/>
        <property name="silenceInsertionProbability" value=".1"/>
        <property name="acousticLookahead" value="1.7"/>
        <property name="frontend" value="epFrontEnd"/>
        <property name="recognizer" value="wordRecognizer"/>
        <property name="showCreations" value="false"/>

  <!-- ************************************************** -->
  <!-- Components                                         -->
  <!-- ************************************************** -->

    <!-- ************************************************** -->
    <!-- wordRecognizer                                     -->
    <!-- ************************************************** -->

    <component name="wordRecognizer"
          type="edu.cmu.sphinx.recognizer.Recognizer">
        <propertylist name="monitors">
            <item>accuracyTracker</item>
            <item>speedTracker</item>
            <item>recognizerMonitor</item>
            <item>beamFinder</item>
        </propertylist>
        <property name="decoder" value="decoder"/>
    </component>

    <!-- ************************************************** -->
    <!-- decoder                                            -->
    <!-- ************************************************** -->

    <component name="decoder"
          type="edu.cmu.sphinx.decoder.Decoder">
        <property name="searchManager" value="wordPruningSearchManager"/>
    </component>

    <!-- ************************************************** -->
    <!-- wordPruningSearchManager                           -->
    <!-- ************************************************** -->

    <component name="wordPruningSearchManager"
          type="edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager">
        <property name="growSkipInterval" value="0"/>
        <property name="pruner" value="trivialPruner"/>
        <property name="acousticLookaheadFrames" value="2.0"/>
        <property name="buildWordLattice" value="false"/>
        <property name="linguist" value="lexTreeLinguist"/>
        <property name="showTokenCount" value="false"/>
        <property name="relativeBeamWidth" value="1E-60"/>
        <property name="keepAllTokens" value="true"/>
        <property name="scorer" value="threadedScorer"/>
        <property name="activeListManager" value="activeListManager"/>
        <property name="logLevel" value="FINE"/>
        <property name="checkStateOrder" value="false"/>
        <property name="logMath" value="logMath"/>
    </component>

    <!-- ************************************************** -->
    <!-- logMath                                            -->
    <!-- ************************************************** -->

    <component name="logMath"
          type="edu.cmu.sphinx.util.LogMath">
        <property name="useAddTable" value="true"/>
        <property name="logBase" value="1.0001"/>
    </component>

    <!-- ************************************************** -->
    <!-- lexTreeLinguist                                    -->
    <!-- ************************************************** -->

    <component name="lexTreeLinguist"
          type="edu.cmu.sphinx.linguist.lextree.LexTreeLinguist">
        <property name="wantUnigramSmear" value="true"/>
        <property name="unitManager" value="unitManager"/>
        <property name="generateUnitStates" value="false"/>
        <property name="acousticModel" value="hub4"/>
        <property name="wordInsertionProbability"
         value="${wordInsertionProbability}"/>
        <property name="languageWeight" value="11"/>
        <property name="dictionary" value="dictionary"/>
        <property name="fillerInsertionProbability" value=".02"/>
        <property name="languageModel" value="constructionModel"/>
        <property name="silenceInsertionProbability"
         value="${silenceInsertionProbability}"/>
        <property name="addFillerWords" value="true"/>
        <property name="logMath" value="logMath"/>
        <property name="unigramSmearWeight" value="1"/>
        <property name="cacheSize" value="0"/>
    </component>

    <!-- ************************************************** -->
    <!-- hub4                                               -->
    <!-- ************************************************** -->

    <component name="hub4"
          type="edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.Model">
        <property name="unitManager" value="unitManager"/>
        <property name="loader" value="sphinx3Loader"/>
    </component>

    <!-- ************************************************** -->
    <!-- sphinx3Loader                                      -->
    <!-- ************************************************** -->

    <component name="sphinx3Loader"
          type="edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.ModelLoader">
        <property name="unitManager" value="unitManager"/>
        <property name="logMath" value="logMath"/>
    </component>

    <!-- ************************************************** -->
    <!-- unitManager                                        -->
    <!-- ************************************************** -->

    <component name="unitManager"
          type="edu.cmu.sphinx.linguist.acoustic.UnitManager">
    </component>

    <!-- ************************************************** -->
    <!-- constructionModel                                  -->
    <!-- ************************************************** -->

    <component name="constructionModel"
          type="org.texai.speech.recognition.ConstructionModel">
        <property name="maxDepth" value="3"/>
        <property name="location"
         value="/home/reed/svn/SpeechRecognition/src/org/texai/speech/recognition/language_model.arpaformat.DMP"/>
        <property name="logLevel" value="INFO"/>
        <property name="dictionary" value="dictionary"/>
        <property name="unigramWeight" value=".5"/>
        <property name="logMath" value="logMath"/>
    </component>

    <!-- ************************************************** -->
    <!-- dictionary                                         -->
    <!-- ************************************************** -->

    <component name="dictionary"
          type="edu.cmu.sphinx.linguist.dictionary.FastDictionary">
        <property name="dictionaryPath"
         value="resource:/edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.Model!/edu/cmu/sphinx/model/acoustic/HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz/cmudict.06d"/>
        <property name="unitManager" value="unitManager"/>
        <property name="allowMissingWords" value="false"/>
        <property name="fillerPath"
         value="resource:/edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.Model!/edu/cmu/sphinx/model/acoustic/HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz/fillerdict"/>
        <property name="addSilEndingPronunciation" value="false"/>
    </component>

    <!-- ************************************************** -->
    <!-- trivialPruner                                      -->
    <!-- ************************************************** -->

    <component name="trivialPruner"
          type="edu.cmu.sphinx.decoder.pruner.SimplePruner">
    </component>

    <!-- ************************************************** -->
    <!-- threadedScorer                                     -->
    <!-- ************************************************** -->

    <component name="threadedScorer"
          type="edu.cmu.sphinx.decoder.scorer.ThreadedAcousticScorer">
        <property name="numThreads" value="0"/>
        <property name="scoreablesKeepFeature" value="true"/>
        <property name="minScoreablesPerThread" value="10"/>
        <property name="frontend" value="${frontend}"/>
        <property name="isCpuRelative" value="true"/>
    </component>

    <!-- ************************************************** -->
    <!-- epFrontEnd                                         -->
    <!-- ************************************************** -->

    <component name="epFrontEnd"
          type="edu.cmu.sphinx.frontend.FrontEnd">
        <propertylist name="pipeline">
            <item>microphone</item>
            <item>speechClassifier</item>
            <item>speechMarker</item>
            <item>nonSpeechDataFilter</item>
            <item>premphasizer</item>
            <item>windower</item>
            <item>fft</item>
            <item>melFilterBank</item>
            <item>dct</item>
            <item>liveCMN</item>
            <item>featureExtraction</item>
        </propertylist>
    </component>

    <!-- ************************************************** -->
    <!-- microphone                                         -->
    <!-- ************************************************** -->

    <component name="microphone"
          type="edu.cmu.sphinx.frontend.util.Microphone">
        <property name="closeBetweenUtterances" value="false"/>
    </component>

    <!-- ************************************************** -->
    <!-- speechClassifier                                   -->
    <!-- ************************************************** -->

    <component name="speechClassifier"
          type="edu.cmu.sphinx.frontend.endpoint.SpeechClassifier">
        <property name="threshold" value="16"/>
    </component>

    <!-- ************************************************** -->
    <!-- speechMarker                                       -->
    <!-- ************************************************** -->

    <component name="speechMarker"
          type="edu.cmu.sphinx.frontend.endpoint.SpeechMarker">
        <property name="speechTrailer" value="50"/>
    </component>

    <!-- ************************************************** -->
    <!-- nonSpeechDataFilter                                -->
    <!-- ************************************************** -->

    <component name="nonSpeechDataFilter"
          type="edu.cmu.sphinx.frontend.endpoint.NonSpeechDataFilter">
    </component>

    <!-- ************************************************** -->
    <!-- premphasizer                                       -->
    <!-- ************************************************** -->

    <component name="premphasizer"
          type="edu.cmu.sphinx.frontend.filter.Preemphasizer">
    </component>

    <!-- ************************************************** -->
    <!-- windower                                           -->
    <!-- ************************************************** -->

    <component name="windower"
          type="edu.cmu.sphinx.frontend.window.RaisedCosineWindower">
    </component>

    <!-- ************************************************** -->
    <!-- fft                                                -->
    <!-- ************************************************** -->

    <component name="fft"
          type="edu.cmu.sphinx.frontend.transform.DiscreteFourierTransform">
    </component>

    <!-- ************************************************** -->
    <!-- melFilterBank                                      -->
    <!-- ************************************************** -->

    <component name="melFilterBank"
          type="edu.cmu.sphinx.frontend.frequencywarp.MelFrequencyFilterBank">
    </component>

    <!-- ************************************************** -->
    <!-- dct                                                -->
    <!-- ************************************************** -->

    <component name="dct"
          type="edu.cmu.sphinx.frontend.transform.DiscreteCosineTransform">
    </component>

    <!-- ************************************************** -->
    <!-- liveCMN                                            -->
    <!-- ************************************************** -->

    <component name="liveCMN"
          type="edu.cmu.sphinx.frontend.feature.LiveCMN">
    </component>

    <!-- ************************************************** -->
    <!-- featureExtraction                                  -->
    <!-- ************************************************** -->

    <component name="featureExtraction"
          type="edu.cmu.sphinx.frontend.feature.DeltasFeatureExtractor">
    </component>

    <!-- ************************************************** -->
    <!-- activeListManager                                  -->
    <!-- ************************************************** -->

    <component name="activeListManager"
          type="edu.cmu.sphinx.decoder.search.SimpleActiveListManager">
        <propertylist name="activeListFactories">
            <item>unitExitActiveList</item>
            <item>wordActiveList</item>
            <item>wordActiveList</item>
            <item>activeList</item>
            <item>activeList</item>
            <item>activeList</item>
        </propertylist>
    </component>

    <!-- ************************************************** -->
    <!-- unitExitActiveList                                 -->
    <!-- ************************************************** -->

    <component name="unitExitActiveList"
          type="edu.cmu.sphinx.decoder.search.PartitionActiveListFactory">
        <property name="relativeBeamWidth" value="${relativeBeamWidth}"/>
        <property name="logMath" value="logMath"/>
        <property name="absoluteBeamWidth" value="-1"/>
    </component>

    <!-- ************************************************** -->
    <!-- wordActiveList                                     -->
    <!-- ************************************************** -->

    <component name="wordActiveList"
          type="edu.cmu.sphinx.decoder.search.WordActiveListFactory">
        <property name="relativeBeamWidth" value="1E-25"/>
        <property name="logMath" value="logMath"/>
        <property name="absoluteBeamWidth" value="21"/>
    </component>

    <!-- ************************************************** -->
    <!-- activeList                                         -->
    <!-- ************************************************** -->

    <component name="activeList"
          type="edu.cmu.sphinx.decoder.search.PartitionActiveListFactory">
        <property name="relativeBeamWidth" value="1E-60"/>
        <property name="logMath" value="logMath"/>
        <property name="absoluteBeamWidth" value="25000"/>
    </component>

    <!-- ************************************************** -->
    <!-- accuracyTracker                                    -->
    <!-- ************************************************** -->

    <component name="accuracyTracker"
          type="edu.cmu.sphinx.instrumentation.AccuracyTracker">
        <property name="recognizer" value="${recognizer}"/>
        <property name="showAlignedResults" value="true"/>
        <property name="showRawResults" value="true"/>
    </component>

    <!-- ************************************************** -->
    <!-- speedTracker                                       -->
    <!-- ************************************************** -->

    <component name="speedTracker"
          type="edu.cmu.sphinx.instrumentation.SpeedTracker">
        <property name="recognizer" value="${recognizer}"/>
        <property name="showTimers" value="true"/>
        <property name="frontend" value="${frontend}"/>
    </component>

    <!-- ************************************************** -->
    <!-- recognizerMonitor                                  -->
    <!-- ************************************************** -->

    <component name="recognizerMonitor"
          type="edu.cmu.sphinx.instrumentation.RecognizerMonitor">
        <property name="recognizer" value="${recognizer}"/>
        <propertylist name="allocatedMonitors">
            <item>configMonitor</item>
        </propertylist>
    </component>

    <!-- ************************************************** -->
    <!-- configMonitor                                      -->
    <!-- ************************************************** -->

    <component name="configMonitor"
          type="edu.cmu.sphinx.instrumentation.ConfigMonitor">
        <property name="showConfig" value="true"/>
        <property name="saveConfigAsXML" value="true"/>
    </component>

    <!-- ************************************************** -->
    <!-- beamFinder                                         -->
    <!-- ************************************************** -->

    <component name="beamFinder"
          type="edu.cmu.sphinx.instrumentation.BeamFinder">
        <property name="recognizer" value="${recognizer}"/>
        <property name="showSummary" value="true"/>
        <property name="showDetails" value="true"/>
        <property name="enable" value="false"/>
        <property name="logMath" value="logMath"/>
    </component>

</config>
<!-- Generated on Wed Feb 14 12:58:25 CST 2007-->




See more files for this project here

Texai

Texai is an chatbot that intelligently seeks to acquire knowledge and friendly behaviors.

Project homepage: http://sourceforge.net/projects/texai
Programming language(s): Java,Shell Script,XML
License: other

  lib/
    config/
      log4j.properties
    HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.jar
    WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar
    antlr-2.7.6.jar
    cglib.jar
    cmu_time_awb.jar
    cmu_us_kal.jar
    cmudict04.jar
    cmulex.jar
    cmutimelex.jar
    commons-collections-3.2.jar
    commons-logging.jar
    dom4j.jar
    ehcache-1.2.3.jar
    ejb3-persistence.jar
    en_us.jar
    freetts.jar
    hibernate-annotations.jar
    hibernate-entitymanager.jar
    hibernate3.jar
    jakarta-oro-2.0.8.jar
    javassist.jar
    jboss-archive-browsing.jar
    jboss-common.jar
    jboss-ejb3x.jar
    jboss-j2ee.jar
    jsapi.jar
    jta.jar
    log4j.jar
    mysql-connector-java-3.1.13-bin.jar
    sphinx4.jar
  nbproject/
    build-impl.xml
    genfiles.properties
    project.properties
    project.xml
  script/
    checkstyle.sh
    run-ngram-import.sh
    sun_checks.xml
  src/
    edu/
      cmu/
        sphinx/
          linguist/
            language/
              ngram/
                large/
                  MyBinaryLoader.java
                  MyPropertySheet.java
                  NGramImport.java
                  file-format-description.txt
    org/
      texai/
        speech/
          recognition/
            ConstructionModel.java
            SpokenDialog.java
            hub4.config.xml
            language_model.arpaformat.DMP
            language_model.vocabulary
  test/
  build.xml
  config.xml
  manifest.mf