Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Yesterday at 2:23 PM
Ad icon
Wechat qr verification
Pawan2005
Updated:
Yesterday at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Wednesday at 5:34 PM
Pure VPN - Up to 27 Months
vgp
Updated:
Jun 5, 2026
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
sphinx speech recognition , netbeans [ help ]
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Hasistranger" data-source="post: 16975700" data-attributes="member: 314292"><p><strong>------------------------------------------------------------------></strong></p><p><strong></strong></p><p><span style="color: Blue">public static void</span> <strong>main</strong>(String[] args) {</p><p> </p><p> <span style="color: Blue">try</span>{</p><p> </p><p> ConfigurationManager cm;</p><p></p><p> <span style="color: Blue">if</span> (args.<span style="color: SeaGreen">length</span> > 0) {</p><p> cm = <span style="color: Blue">new</span> ConfigurationManager(args[0]);</p><p> } <span style="color: Blue">else</span> {</p><p> cm = <span style="color: Blue">new </span>ConfigurationManager(HelloWorld.<span style="color: Blue">class.</span>getResource(<span style="color: DarkOrange">"helloworld.config.xml"</span>));</p><p> }</p><p></p><p> Recognizer recognizer = (Recognizer) cm.lookup(<span style="color: DarkOrange">"recognizer"</span>);</p><p> recognizer.allocate();</p><p></p><p> // start the microphone or exit if the programm if this is not possible</p><p> Microphone microphone = (Microphone) cm.lookup(<span style="color: DarkOrange">"microphone"</span>);</p><p> <span style="color: Blue">if </span>(!microphone.startRecording()) {</p><p> System.<span style="color: Green">out</span>.println(<span style="color: DarkOrange">"Cannot start microphone."</span>);</p><p> recognizer.deallocate();</p><p> System.exit(1);</p><p> }</p><p></p><p> System.<span style="color: Green">out</span>.println(<span style="color: DarkOrange">"Say: (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will )"</span>);</p><p> System.<span style="color: Green">out</span>.println("Example say: Hello will");</p><p> // loop the recognition until the programm exits.</p><p> <span style="color: Blue">while</span> (true) {</p><p> System.<span style="color: Green">out</span>.println(<span style="color: DarkOrange">"Start speaking. Press Ctrl-C to quit.\n"</span>);</p><p></p><p> Result result = recognizer.recognize();</p><p></p><p> <span style="color: Blue">if </span>(result != null) {</p><p> String resultText = result.getBestFinalResultNoFiller();</p><p> System.<span style="color: Green">out</span>.println(<span style="color: DarkOrange">"You said: "</span> + resultText + <span style="color: DarkOrange">'\n</span>');</p><p> } else {</p><p> System.<span style="color: Green">out</span>.println(<span style="color: DarkOrange">"I can't hear what you said.\n"</span>);</p><p> }</p><p> }</p><p> </p><p> }<span style="color: Blue">catch</span>(PropertyException | IllegalStateException e){</p><p> </p><p> System.<span style="color: Green">out</span>.println(e);</p><p> </p><p> }</p><p>}</p><p></p><p></p><p><strong>--------- Configuration XML File -------------------------------------></strong></p><p></p><p></p><p><?<strong>xml </strong>version="1.0" encoding="UTF-8"?></p><p></p><p><!--</p><p> Sphinx-4 Configuration file</p><p>--></p><p></p><p><!-- ******************************************************** --></p><p><!-- an4 configuration file --></p><p><!-- ******************************************************** --></p><p></p><p><span style="color: Blue"><config></span></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- frequently tuned properties --></p><p> <!-- ******************************************************** --></p><p></p><p> <span style="color: Blue"><property</span> <span style="color: Green">name</span>=<span style="color: DarkOrange">"logLevel"</span> <span style="color: Green">value</span>=<span style="color: DarkOrange">"WARNING"</span><span style="color: Blue">/></span></p><p></p><p> <span style="color: Blue"><property</span> <span style="color: Green">name</span>="absoluteBeamWidth" value="-1"/></p><p> <property name="relativeBeamWidth" value="1E-80"/></p><p> <property name="wordInsertionProbability" value="1E-36"/></p><p> <property name="languageWeight" value="8"/></p><p></p><p> <property name="frontend" value="epFrontEnd"/></p><p> <property name="recognizer" value="recognizer"/></p><p> <property name="showCreations" value="false"/></p><p></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- word recognizer configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="recognizer" type="edu.cmu.sphinx.recognizer.Recognizer"></p><p> <property name="decoder" value="decoder"/></p><p> <propertylist name="monitors"></p><p> <item>accuracyTracker </item></p><p> <item>speedTracker </item></p><p> <item>memoryTracker </item></p><p> </propertylist></p><p> </component></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The Decoder configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="decoder" type="edu.cmu.sphinx.decoder.Decoder"></p><p> <property name="searchManager" value="searchManager"/></p><p> </component></p><p></p><p> <component name="searchManager"</p><p> type="edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager"></p><p> <property name="logMath" value="logMath"/></p><p> <property name="linguist" value="flatLinguist"/></p><p> <property name="pruner" value="trivialPruner"/></p><p> <property name="scorer" value="threadedScorer"/></p><p> <property name="activeListFactory" value="activeList"/></p><p> </component></p><p></p><p></p><p> <component name="activeList"</p><p> type="edu.cmu.sphinx.decoder.search.PartitionActiveListFactory"></p><p> <property name="logMath" value="logMath"/></p><p> <property name="absoluteBeamWidth" value="${absoluteBeamWidth}"/></p><p> <property name="relativeBeamWidth" value="${relativeBeamWidth}"/></p><p> </component></p><p></p><p> <component name="trivialPruner"</p><p> type="edu.cmu.sphinx.decoder.pruner.SimplePruner"/></p><p></p><p> <component name="threadedScorer"</p><p> type="edu.cmu.sphinx.decoder.scorer.ThreadedAcousticScorer"></p><p> <property name="frontend" value="${frontend}"/></p><p> </component></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The linguist configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="flatLinguist"</p><p> type="edu.cmu.sphinx.linguist.flat.FlatLinguist"></p><p> <property name="logMath" value="logMath"/></p><p> <property name="grammar" value="jsgfGrammar"/></p><p> <property name="acousticModel" value="wsj"/></p><p> <property name="wordInsertionProbability"</p><p> value="${wordInsertionProbability}"/></p><p> <property name="languageWeight" value="${languageWeight}"/></p><p> <property name="unitManager" value="unitManager"/></p><p> </component></p><p></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The Grammar configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="jsgfGrammar" type="edu.cmu.sphinx.jsgf.JSGFGrammar"></p><p> <property name="dictionary" value="dictionary"/></p><p> <property name="hello"</p><p> value="resource:C:/Documents and Settings/RECEPTION/My Documents/NetBeansProjects/HelloWorld/dist/lib/"/></p><p> <property name="grammarName" value="hello"/></p><p> <property name="logMath" value="logMath"/></p><p> </component></p><p></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The Dictionary configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="dictionary"</p><p> type="edu.cmu.sphinx.linguist.dictionary.FastDictionary"></p><p> <property name="dictionaryPath"</p><p> value="resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/cmudict.0.6d"/></p><p> <property name="fillerPath"</p><p> value="resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict"/></p><p> <property name="addSilEndingPronunciation" value="false"/></p><p> <property name="allowMissingWords" value="false"/></p><p> <property name="unitManager" value="unitManager"/></p><p> </component></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The acoustic model configuration --></p><p> <!-- ******************************************************** --></p><p> <component name="wsj"</p><p> type="edu.cmu.sphinx.linguist.acoustic.tiedstate.TiedStateAcousticModel"></p><p> <property name="loader" value="wsjLoader"/></p><p> <property name="unitManager" value="unitManager"/></p><p> </component></p><p></p><p> <component name="wsjLoader" type="edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader"></p><p> <property name="logMath" value="logMath"/></p><p> <property name="unitManager" value="unitManager"/></p><p> <property name="location" value="resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz"/></p><p> <property name="modelDefinition" value="etc/WSJ_clean_13dCep_16k_40mel_130Hz_6800Hz.4000.mdef"/></p><p> <property name="dataLocation" value="cd_continuous_8gau/"/></p><p> </component></p><p></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The unit manager configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="unitManager"</p><p> type="edu.cmu.sphinx.linguist.acoustic.UnitManager"/></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The frontend configuration --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="frontEnd" type="edu.cmu.sphinx.frontend.FrontEnd"></p><p> <propertylist name="pipeline"></p><p> <item>microphone </item></p><p> <item>preemphasizer </item></p><p> <item>windower </item></p><p> <item>fft </item></p><p> <item>melFilterBank </item></p><p> <item>dct </item></p><p> <item>liveCMN </item></p><p> <item>featureExtraction </item></p><p> </propertylist></p><p> </component></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The live frontend configuration --></p><p> <!-- ******************************************************** --></p><p> <component name="epFrontEnd" type="edu.cmu.sphinx.frontend.FrontEnd"></p><p> <propertylist name="pipeline"></p><p> <item>microphone </item></p><p> <item>dataBlocker </item></p><p> <item>speechClassifier </item></p><p> <item>speechMarker </item></p><p> <item>nonSpeechDataFilter </item></p><p> <item>preemphasizer </item></p><p> <item>windower </item></p><p> <item>fft </item></p><p> <item>melFilterBank </item></p><p> <item>dct </item></p><p> <item>liveCMN </item></p><p> <item>featureExtraction </item></p><p> </propertylist></p><p> </component></p><p></p><p> <!-- ******************************************************** --></p><p> <!-- The frontend pipelines --></p><p> <!-- ******************************************************** --></p><p></p><p> <component name="dataBlocker" type="edu.cmu.sphinx.frontend.DataBlocker"></p><p> <!--<property name="blockSizeMs" value="10"/>--></p><p> </component></p><p></p><p> <component name="speechClassifier"</p><p> type="edu.cmu.sphinx.frontend.endpoint.SpeechClassifier"></p><p> <property name="threshold" value="13"/></p><p> </component></p><p></p><p> <component name="nonSpeechDataFilter"</p><p> type="edu.cmu.sphinx.frontend.endpoint.NonSpeechDataFilter"/></p><p></p><p> <component name="speechMarker"</p><p> type="edu.cmu.sphinx.frontend.endpoint.SpeechMarker" ></p><p> <property name="speechTrailer" value="50"/></p><p> </component></p><p></p><p></p><p> <component name="preemphasizer"</p><p> type="edu.cmu.sphinx.frontend.filter.Preemphasizer"/></p><p></p><p> <component name="windower"</p><p> type="edu.cmu.sphinx.frontend.window.RaisedCosineWindower"></p><p> </component></p><p></p><p> <component name="fft"</p><p> type="edu.cmu.sphinx.frontend.transform.DiscreteFourierTransform"></p><p> </component></p><p></p><p> <component name="melFilterBank"</p><p> type="edu.cmu.sphinx.frontend.frequencywarp.MelFrequencyFilterBank"></p><p> </component></p><p></p><p> <component name="dct"</p><p> type="edu.cmu.sphinx.frontend.transform.DiscreteCosineTransform"/></p><p></p><p> <component name="liveCMN"</p><p> type="edu.cmu.sphinx.frontend.feature.LiveCMN"/></p><p></p><p> <component name="featureExtraction"</p><p> type="edu.cmu.sphinx.frontend.feature.DeltasFeatureExtractor"/></p><p></p><p> <component name="microphone"</p><p> type="edu.cmu.sphinx.frontend.util.Microphone"></p><p> <property name="closeBetweenUtterances" value="false"/></p><p> </component></p><p></p><p></p><p> <!-- ******************************************************* --></p><p> <!-- monitors --></p><p> <!-- ******************************************************* --></p><p></p><p> <component name="accuracyTracker"</p><p> type="edu.cmu.sphinx.instrumentation.BestPathAccuracyTracker"></p><p> <property name="recognizer" value="${recognizer}"/></p><p> <property name="showAlignedResults" value="false"/></p><p> <property name="showRawResults" value="false"/></p><p> </component></p><p></p><p> <component name="memoryTracker"</p><p> type="edu.cmu.sphinx.instrumentation.MemoryTracker"></p><p> <property name="recognizer" value="${recognizer}"/></p><p> <property name="showSummary" value="false"/></p><p> <property name="showDetails" value="false"/></p><p> </component></p><p></p><p> <component name="speedTracker"</p><p> type="edu.cmu.sphinx.instrumentation.SpeedTracker"></p><p> <property name="recognizer" value="${recognizer}"/></p><p> <property name="frontend" value="${frontend}"/></p><p> <property name="showSummary" value="true"/></p><p> <property name="showDetails" value="false"/></p><p> </component></p><p></p><p></p><p> <!-- ******************************************************* --></p><p> <!-- Miscellaneous components --></p><p> <!-- ******************************************************* --></p><p></p><p> <component name="logMath" type="edu.cmu.sphinx.util.LogMath"></p><p> <property name="logBase" value="1.0001"/></p><p> <property name="useAddTable" value="true"/></p><p> </component></p><p></p><p></config></p><p></p><p><strong>---------------------- Grammer File ---------------------------------></strong></p><p></p><p></p><p>#JSGF V1.0;</p><p></p><p>/**</p><p> * JSGF Grammar for Hello World example</p><p> */</p><p></p><p>grammar hello;</p><p></p><p>public <greet> = (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will );</p></blockquote><p></p>
[QUOTE="Hasistranger, post: 16975700, member: 314292"] [B]------------------------------------------------------------------> [/B] [COLOR=Blue]public static void[/COLOR] [B]main[/B](String[] args) { [COLOR=Blue]try[/COLOR]{ ConfigurationManager cm; [COLOR=Blue]if[/COLOR] (args.[COLOR=SeaGreen]length[/COLOR] > 0) { cm = [COLOR=Blue]new[/COLOR] ConfigurationManager(args[0]); } [COLOR=Blue]else[/COLOR] { cm = [COLOR=Blue]new [/COLOR]ConfigurationManager(HelloWorld.[COLOR=Blue]class.[/COLOR]getResource([COLOR=DarkOrange]"helloworld.config.xml"[/COLOR])); } Recognizer recognizer = (Recognizer) cm.lookup([COLOR=DarkOrange]"recognizer"[/COLOR]); recognizer.allocate(); // start the microphone or exit if the programm if this is not possible Microphone microphone = (Microphone) cm.lookup([COLOR=DarkOrange]"microphone"[/COLOR]); [COLOR=Blue]if [/COLOR](!microphone.startRecording()) { System.[COLOR=Green]out[/COLOR].println([COLOR=DarkOrange]"Cannot start microphone."[/COLOR]); recognizer.deallocate(); System.exit(1); } System.[COLOR=Green]out[/COLOR].println([COLOR=DarkOrange]"Say: (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will )"[/COLOR]); System.[COLOR=Green]out[/COLOR].println("Example say: Hello will"); // loop the recognition until the programm exits. [COLOR=Blue]while[/COLOR] (true) { System.[COLOR=Green]out[/COLOR].println([COLOR=DarkOrange]"Start speaking. Press Ctrl-C to quit.\n"[/COLOR]); Result result = recognizer.recognize(); [COLOR=Blue]if [/COLOR](result != null) { String resultText = result.getBestFinalResultNoFiller(); System.[COLOR=Green]out[/COLOR].println([COLOR=DarkOrange]"You said: "[/COLOR] + resultText + [COLOR=DarkOrange]'\n[/COLOR]'); } else { System.[COLOR=Green]out[/COLOR].println([COLOR=DarkOrange]"I can't hear what you said.\n"[/COLOR]); } } }[COLOR=Blue]catch[/COLOR](PropertyException | IllegalStateException e){ System.[COLOR=Green]out[/COLOR].println(e); } } [B]--------- Configuration XML File ------------------------------------->[/B] <?[B]xml [/B]version="1.0" encoding="UTF-8"?> <!-- Sphinx-4 Configuration file --> <!-- ******************************************************** --> <!-- an4 configuration file --> <!-- ******************************************************** --> [COLOR=Blue]<config>[/COLOR] <!-- ******************************************************** --> <!-- frequently tuned properties --> <!-- ******************************************************** --> [COLOR=Blue]<property[/COLOR] [COLOR=Green]name[/COLOR]=[COLOR=DarkOrange]"logLevel"[/COLOR] [COLOR=Green]value[/COLOR]=[COLOR=DarkOrange]"WARNING"[/COLOR][COLOR=Blue]/>[/COLOR] [COLOR=Blue]<property[/COLOR] [COLOR=Green]name[/COLOR]="absoluteBeamWidth" value="-1"/> <property name="relativeBeamWidth" value="1E-80"/> <property name="wordInsertionProbability" value="1E-36"/> <property name="languageWeight" value="8"/> <property name="frontend" value="epFrontEnd"/> <property name="recognizer" value="recognizer"/> <property name="showCreations" value="false"/> <!-- ******************************************************** --> <!-- word recognizer configuration --> <!-- ******************************************************** --> <component name="recognizer" type="edu.cmu.sphinx.recognizer.Recognizer"> <property name="decoder" value="decoder"/> <propertylist name="monitors"> <item>accuracyTracker </item> <item>speedTracker </item> <item>memoryTracker </item> </propertylist> </component> <!-- ******************************************************** --> <!-- The Decoder configuration --> <!-- ******************************************************** --> <component name="decoder" type="edu.cmu.sphinx.decoder.Decoder"> <property name="searchManager" value="searchManager"/> </component> <component name="searchManager" type="edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager"> <property name="logMath" value="logMath"/> <property name="linguist" value="flatLinguist"/> <property name="pruner" value="trivialPruner"/> <property name="scorer" value="threadedScorer"/> <property name="activeListFactory" value="activeList"/> </component> <component name="activeList" type="edu.cmu.sphinx.decoder.search.PartitionActiveListFactory"> <property name="logMath" value="logMath"/> <property name="absoluteBeamWidth" value="${absoluteBeamWidth}"/> <property name="relativeBeamWidth" value="${relativeBeamWidth}"/> </component> <component name="trivialPruner" type="edu.cmu.sphinx.decoder.pruner.SimplePruner"/> <component name="threadedScorer" type="edu.cmu.sphinx.decoder.scorer.ThreadedAcousticScorer"> <property name="frontend" value="${frontend}"/> </component> <!-- ******************************************************** --> <!-- The linguist configuration --> <!-- ******************************************************** --> <component name="flatLinguist" type="edu.cmu.sphinx.linguist.flat.FlatLinguist"> <property name="logMath" value="logMath"/> <property name="grammar" value="jsgfGrammar"/> <property name="acousticModel" value="wsj"/> <property name="wordInsertionProbability" value="${wordInsertionProbability}"/> <property name="languageWeight" value="${languageWeight}"/> <property name="unitManager" value="unitManager"/> </component> <!-- ******************************************************** --> <!-- The Grammar configuration --> <!-- ******************************************************** --> <component name="jsgfGrammar" type="edu.cmu.sphinx.jsgf.JSGFGrammar"> <property name="dictionary" value="dictionary"/> <property name="hello" value="resource:C:/Documents and Settings/RECEPTION/My Documents/NetBeansProjects/HelloWorld/dist/lib/"/> <property name="grammarName" value="hello"/> <property name="logMath" value="logMath"/> </component> <!-- ******************************************************** --> <!-- The Dictionary configuration --> <!-- ******************************************************** --> <component name="dictionary" type="edu.cmu.sphinx.linguist.dictionary.FastDictionary"> <property name="dictionaryPath" value="resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/cmudict.0.6d"/> <property name="fillerPath" value="resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict"/> <property name="addSilEndingPronunciation" value="false"/> <property name="allowMissingWords" value="false"/> <property name="unitManager" value="unitManager"/> </component> <!-- ******************************************************** --> <!-- The acoustic model configuration --> <!-- ******************************************************** --> <component name="wsj" type="edu.cmu.sphinx.linguist.acoustic.tiedstate.TiedStateAcousticModel"> <property name="loader" value="wsjLoader"/> <property name="unitManager" value="unitManager"/> </component> <component name="wsjLoader" type="edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader"> <property name="logMath" value="logMath"/> <property name="unitManager" value="unitManager"/> <property name="location" value="resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz"/> <property name="modelDefinition" value="etc/WSJ_clean_13dCep_16k_40mel_130Hz_6800Hz.4000.mdef"/> <property name="dataLocation" value="cd_continuous_8gau/"/> </component> <!-- ******************************************************** --> <!-- The unit manager configuration --> <!-- ******************************************************** --> <component name="unitManager" type="edu.cmu.sphinx.linguist.acoustic.UnitManager"/> <!-- ******************************************************** --> <!-- The frontend configuration --> <!-- ******************************************************** --> <component name="frontEnd" type="edu.cmu.sphinx.frontend.FrontEnd"> <propertylist name="pipeline"> <item>microphone </item> <item>preemphasizer </item> <item>windower </item> <item>fft </item> <item>melFilterBank </item> <item>dct </item> <item>liveCMN </item> <item>featureExtraction </item> </propertylist> </component> <!-- ******************************************************** --> <!-- The live frontend configuration --> <!-- ******************************************************** --> <component name="epFrontEnd" type="edu.cmu.sphinx.frontend.FrontEnd"> <propertylist name="pipeline"> <item>microphone </item> <item>dataBlocker </item> <item>speechClassifier </item> <item>speechMarker </item> <item>nonSpeechDataFilter </item> <item>preemphasizer </item> <item>windower </item> <item>fft </item> <item>melFilterBank </item> <item>dct </item> <item>liveCMN </item> <item>featureExtraction </item> </propertylist> </component> <!-- ******************************************************** --> <!-- The frontend pipelines --> <!-- ******************************************************** --> <component name="dataBlocker" type="edu.cmu.sphinx.frontend.DataBlocker"> <!--<property name="blockSizeMs" value="10"/>--> </component> <component name="speechClassifier" type="edu.cmu.sphinx.frontend.endpoint.SpeechClassifier"> <property name="threshold" value="13"/> </component> <component name="nonSpeechDataFilter" type="edu.cmu.sphinx.frontend.endpoint.NonSpeechDataFilter"/> <component name="speechMarker" type="edu.cmu.sphinx.frontend.endpoint.SpeechMarker" > <property name="speechTrailer" value="50"/> </component> <component name="preemphasizer" type="edu.cmu.sphinx.frontend.filter.Preemphasizer"/> <component name="windower" type="edu.cmu.sphinx.frontend.window.RaisedCosineWindower"> </component> <component name="fft" type="edu.cmu.sphinx.frontend.transform.DiscreteFourierTransform"> </component> <component name="melFilterBank" type="edu.cmu.sphinx.frontend.frequencywarp.MelFrequencyFilterBank"> </component> <component name="dct" type="edu.cmu.sphinx.frontend.transform.DiscreteCosineTransform"/> <component name="liveCMN" type="edu.cmu.sphinx.frontend.feature.LiveCMN"/> <component name="featureExtraction" type="edu.cmu.sphinx.frontend.feature.DeltasFeatureExtractor"/> <component name="microphone" type="edu.cmu.sphinx.frontend.util.Microphone"> <property name="closeBetweenUtterances" value="false"/> </component> <!-- ******************************************************* --> <!-- monitors --> <!-- ******************************************************* --> <component name="accuracyTracker" type="edu.cmu.sphinx.instrumentation.BestPathAccuracyTracker"> <property name="recognizer" value="${recognizer}"/> <property name="showAlignedResults" value="false"/> <property name="showRawResults" value="false"/> </component> <component name="memoryTracker" type="edu.cmu.sphinx.instrumentation.MemoryTracker"> <property name="recognizer" value="${recognizer}"/> <property name="showSummary" value="false"/> <property name="showDetails" value="false"/> </component> <component name="speedTracker" type="edu.cmu.sphinx.instrumentation.SpeedTracker"> <property name="recognizer" value="${recognizer}"/> <property name="frontend" value="${frontend}"/> <property name="showSummary" value="true"/> <property name="showDetails" value="false"/> </component> <!-- ******************************************************* --> <!-- Miscellaneous components --> <!-- ******************************************************* --> <component name="logMath" type="edu.cmu.sphinx.util.LogMath"> <property name="logBase" value="1.0001"/> <property name="useAddTable" value="true"/> </component> </config> [B]---------------------- Grammer File --------------------------------->[/B] #JSGF V1.0; /** * JSGF Grammar for Hello World example */ grammar hello; public <greet> = (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will ); [/QUOTE]
Insert quotes…
Verification
Nawa warak dahaya keeyada? (Namaya wadi kireema dahaya)
Post reply
Top
Bottom