<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>testing simon &#187; training.data</title>
	<atom:link href="http://spirit.blau.in/simon/tag/trainingdata/feed/" rel="self" type="application/rss+xml" />
	<link>http://spirit.blau.in/simon</link>
	<description>my first steps with the simon speech recognition software</description>
	<lastBuildDate>Tue, 10 Jan 2012 14:59:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>sam: Couldn&#8217;t open prompts file</title>
		<link>http://spirit.blau.in/simon/2010/01/26/sam-couldnt-open-prompts-file/</link>
		<comments>http://spirit.blau.in/simon/2010/01/26/sam-couldnt-open-prompts-file/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:46:57 +0000</pubDate>
		<dc:creator>producer</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[default.jconf]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[sam]]></category>
		<category><![CDATA[training.data]]></category>

		<guid isPermaLink="false">http://spirit.blau.in/simon/?p=2398</guid>
		<description><![CDATA[I want to use my German backup folder with sam. I have to choose the specific paths to the specific backup files: I am using the following path for the jconf file (I had to look into this blog post): /usr/share/kde4/apps/simond/default.jconf This is the current content of the file /home/am3msi/Documents/201001/model/20100126-try-to-restore-german.sam: /home/am3msi/Documents/201001/model/hmmdefs /home/am3msi/Documents/201001/model/tiedlist /home/am3msi/Documents/201001/model/model.dict /home/am3msi/Documents/201001/model/model.dfa /home/am3msi/Documents/201001/model/training.data/ [...]]]></description>
			<content:encoded><![CDATA[<p>I want to use <a href="http://spirit.blau.in/simon/2009/12/29/how-can-i-import-the-backup-folder/">my German backup folder</a> with sam. I have to choose the specific paths to the specific backup files:</p>
<p><a href="http://spirit.blau.in/simon/files/2010/01/user-generated.png"><img src="http://spirit.blau.in/simon/files/2010/01/user-generated-300x164.png" alt="user-generated" width="300" height="164" class="alignnone size-medium wp-image-2399" /></a></p>
<p>I am using the following path for the jconf file (I had to <a href="http://spirit.blau.in/simon/2009/12/29/find-bad-wav-files-with-sam/">look into this blog post</a>): <code>/usr/share/kde4/apps/simond/default.jconf</code></p>
<p>This is the current content of the file <code>/home/am3msi/Documents/201001/model/20100126-try-to-restore-german.sam</code>:</p>
<blockquote><p>/home/am3msi/Documents/201001/model/hmmdefs<br />
/home/am3msi/Documents/201001/model/tiedlist<br />
/home/am3msi/Documents/201001/model/model.dict<br />
/home/am3msi/Documents/201001/model/model.dfa<br />
/home/am3msi/Documents/201001/model/training.data/<br />
/usr/share/kde4/apps/simond/default.jconf<br />
/home/am3msi/Documents/201001/model/lexicon<br />
/home/am3msi/Documents/201001/model/model.grammar<br />
/home/am3msi/Documents/201001/model/model.voca<br />
/home/am3msi/Documents/201001/model/prompts<br />
/home/am3msi/Documents/201001/model/training.data/<br />
/home/am3msi/Documents/201001/model/tree1.hed<br />
/home/am3msi/Documents/201001/model/wav_config<br />
16000<br />
/home/am3msi/Documents/201001/model/prompts
</p></blockquote>
<p>Now, I click the <code>Build model</code> button.</p>
<p><a href="http://spirit.blau.in/simon/files/2010/01/build-log.png"><img src="http://spirit.blau.in/simon/files/2010/01/build-log-300x209.png" alt="build-log" width="300" height="209" class="alignnone size-medium wp-image-2405" /></a></p>
<p>1. I pressed the <code>Build model</code> button.<br />
2. The <code>Build log</code> indicates that it worked out. Great. I assume that the previously existing files<br />
<code>/home/am3msi/Documents/201001/model/hmmdefs<br />
/home/am3msi/Documents/201001/model/tiedlist<br />
/home/am3msi/Documents/201001/model/model.dict<br />
/home/am3msi/Documents/201001/model/model.dfa</code><br />
have been replaced by new ones (probably with the identical content).</p>
<p>Now I want to test the model. So I press the <code>Test model</code> button. sam displays an error message:</p>
<blockquote><p>Couldn&#8217;t open prompts file for reading: /home/am3msi/Documents/201001/model/training.data/</p></blockquote>
<p>Why is that? What went wrong? Let&#8217;s take a look at the paths to the test files:<br />
<code>/home/am3msi/Documents/201001/model/training.data/<br />
/usr/share/kde4/apps/simond/default.jconf<br />
/home/am3msi/Documents/201001/model/prompts</code></p>
<p>The paths are correct. I am trying the following: I copy the <code>prompts</code> file to the <code>training.data</code> folder. But this didn&#8217;t solve my problem.</p>
<p>My guess is that there is a bug with sam. At least, it is possible to build a speech model with sam (from my German backup files). That is a good start. That means that my German wav recordings, my dictionary, my prompts aren&#8217;t lost.</p>
<p>My next step will be to take a closer look at simon. I will try to use my German backup files with simon. They worked with sam (only the <code>Test model</code> function failed, but the <code>Build model</code> function obviously worked). And I hope that they will work with simon, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://spirit.blau.in/simon/2010/01/26/sam-couldnt-open-prompts-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I changed the field Test-Prompts</title>
		<link>http://spirit.blau.in/simon/2009/08/11/i-changed-the-field-test-prompts/</link>
		<comments>http://spirit.blau.in/simon/2009/08/11/i-changed-the-field-test-prompts/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 19:15:31 +0000</pubDate>
		<dc:creator>producer</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[prompts_test]]></category>
		<category><![CDATA[revision 897]]></category>
		<category><![CDATA[sam]]></category>
		<category><![CDATA[training.data]]></category>

		<guid isPermaLink="false">http://spirit.blau.in/simon/?p=1134</guid>
		<description><![CDATA[After reading these instructions, I created the file /home/liberty/.kde/share/apps/simon/model/prompts_test. It has the following content: Hamburgern_S2_2009-07-19_22-44-21 HAMBURGERN aufgenommen_S2_2009-07-25_11-36-59 AUFGENOMMEN Fraktionen_S1_2009-07-19_19-33-01 FRAKTIONEN breiteren_S2_2009-07-24_15-23-54 BREITEREN Expansionen_S2_2009-07-19_18-05-20 EXPANSIONEN Hannovers_S2_2009-07-19_23-07-09 HANNOVERS Hannovers_S1_2009-07-19_23-07-02 HANNOVERS Then I changed the input file for the field Test-Prompts: The path for the wav prompts and the wav test prompts is the same. Here is a [...]]]></description>
			<content:encoded><![CDATA[<p>After reading <a href="http://spirit.blau.in/simon/2009/08/11/sam-couldnt-open-julius-jconf-file/#comment-121">these instructions</a>, I created the file <code>/home/liberty/.kde/share/apps/simon/model/<strong>prompts_test</strong></code>. It has the following content:</p>
<blockquote><p>
Hamburgern_S2_2009-07-19_22-44-21 HAMBURGERN<br />
aufgenommen_S2_2009-07-25_11-36-59 AUFGENOMMEN<br />
Fraktionen_S1_2009-07-19_19-33-01 FRAKTIONEN<br />
breiteren_S2_2009-07-24_15-23-54 BREITEREN<br />
Expansionen_S2_2009-07-19_18-05-20 EXPANSIONEN<br />
Hannovers_S2_2009-07-19_23-07-09 HANNOVERS<br />
Hannovers_S1_2009-07-19_23-07-02 HANNOVERS</p></blockquote>
<p>Then I changed the input file for the field <code>Test-Prompts</code>:</p>
<p><a href="http://spirit.blau.in/simon/files/2009/08/test-prompts.png"><img src="http://spirit.blau.in/simon/files/2009/08/test-prompts-300x117.png" alt="test-prompts" width="300" height="117" class="alignnone size-medium wp-image-1135" /></a></p>
<p>The path for the wav prompts and the wav test prompts is the same.</p>
<p>Here is a small excerpt from the log (emphasis by me): </p>
<blockquote><p>/usr/bin/sox -2 -s -L /home/liberty/.kde/share/apps/simon/model/<strong>training.data</strong>//Hamburgern_S2_2009-07-19_22-44-21.wav /home/liberty/.kde/tmp-liberty-desktop/sam/<strong>internalsamuser</strong>/test/samples/Hamburgern_S2_2009-07-19_22-44-21.wav</p></blockquote>
<p>The wav files that are mentioned by <code>prompts_test</code> are being copied to a sub-folder of <code>internalsamuser</code>. This is a temporary folder. </p>
<p>And this is the test result:</p>
<p><a href="http://spirit.blau.in/simon/files/2009/08/sentences.png"><img src="http://spirit.blau.in/simon/files/2009/08/sentences-300x139.png" alt="sentences" width="300" height="139" class="alignnone size-medium wp-image-1136" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://spirit.blau.in/simon/2009/08/11/i-changed-the-field-test-prompts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

