<?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; git</title>
	<atom:link href="http://spirit.blau.in/simon/tag/git/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>git clone the development version</title>
		<link>http://spirit.blau.in/simon/2010/05/01/git-clone-the-development-version/</link>
		<comments>http://spirit.blau.in/simon/2010/05/01/git-clone-the-development-version/#comments</comments>
		<pubDate>Sat, 01 May 2010 04:01:14 +0000</pubDate>
		<dc:creator>producer</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cmake]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[node24]]></category>
		<category><![CDATA[ZLIB]]></category>

		<guid isPermaLink="false">http://spirit.blau.in/simon/?p=3269</guid>
		<description><![CDATA[I made a fresh install of Ubuntu 10.04 (because the upgrade from Ubuntu 9.10 to 10.04 introduced an error on my computer that I don&#8217;t know how to fix). This means that I have to git the simon development version via the Ubuntu terminal: $ git clone git://speech2text.git.sourceforge.net/gitroot/speech2text/speech2text And now: ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh ./build_ubuntu.sh: line 6: [...]]]></description>
			<content:encoded><![CDATA[<p>I made a fresh install of <code>Ubuntu</code> 10.04 (because the upgrade from <code>Ubuntu</code> 9.10 to 10.04 introduced an error on my computer that I don&#8217;t know how to fix). This means that I have to <a href="http://en.wikipedia.org/wiki/Git_%28software%29"><code>git</code></a> the simon development version via the <code>Ubuntu</code> terminal:</p>
<blockquote><p><code>$ git clone git://speech2text.git.sourceforge.net/gitroot/speech2text/speech2text</code></p></blockquote>
<p>And now:</p>
<blockquote><p><code>ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh<br />
./build_ubuntu.sh: line 6: <strong>cmake</strong>: command not found<br />
touch: cannot touch `./julius/gramtools/mkdfa/mkfa-1.44-flex/*': No such file or directory<br />
ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$</code></p></blockquote>
<p>Obviously, the command <code>cmake</code> is missing. I have to install it via the <code>Ubuntu</code> terminal:</p>
<blockquote><p><code>ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ sudo apt-get install cmake</code></p></blockquote>
<p>I am trying to install simon again, but the installation is failing again:</p>
<blockquote><p>ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh<br />
&#8211; The C compiler identification is GNU<br />
&#8211; The CXX compiler identification is unknown<br />
&#8211; Check for working C compiler: /usr/bin/gcc<br />
&#8211; Check for working C compiler: /usr/bin/gcc &#8212; works<br />
&#8211; Detecting C compiler ABI info<br />
&#8211; Detecting C compiler ABI info &#8211; done<br />
CMake Error: your CXX compiler: &#8220;CMAKE_CXX_COMPILER-NOTFOUND&#8221; was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.<br />
CMake Error at cmake/FindPortaudio.cmake:63 (message):<br />
Could not find <strong>Portaudio</strong><br />
Call Stack (most recent call first):<br />
julius/libsent/CMakeLists.txt:2 (find_package)</p>
<p>&#8211; Configuring incomplete, errors occurred!<br />
touch: cannot touch `./julius/gramtools/mkdfa/mkfa-1.44-flex/*&#8217;: No such file or directory<br />
ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$</p></blockquote>
<p>I am <a href="http://spirit.blau.in/simon/2010/04/16/kdelibs-version-4-3-95-is-too-old/">reading this post</a>. Is it necessary to add <code>ppa:kubuntu-ppa/backports</code> via <code>System &gt; Administration &gt; Software Sources &gt; Other Software</code>, press <code>Add...</code>? </p>
<p><a href="http://spirit.blau.in/simon/files/2010/05/kubuntu-ppa-backports.png"><img src="http://spirit.blau.in/simon/files/2010/05/kubuntu-ppa-backports-300x155.png" alt="kubuntu-ppa-backports" width="300" height="155" class="alignnone size-medium wp-image-3289" /></a></p>
<p>Is it necessary to install <code>ppa:kubuntu-ppa-backports</code> as source when you have Ubuntu 10.04 installed?</p>
<p>I think that I should do something different, so I am trying <code>System &gt; Administration &gt; Synaptic Package Manager</code>. I am installing now <code>portaudio19-dev</code> via <code>Synaptic</code>. And now, a different problem occurs:</p>
<blockquote><p>ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh<br />
&#8211; The CXX compiler identification is unknown<br />
CMake Error: your CXX compiler: &#8220;CMAKE_CXX_COMPILER-NOTFOUND&#8221; was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.<br />
&#8211; Found Portaudio: /usr/lib/libportaudio.so<br />
CMake Error at cmake/FindZLIB.cmake:25 (MESSAGE):<br />
  Could not find <strong>ZLIB</strong><br />
Call Stack (most recent call first):<br />
  julius/libsent/CMakeLists.txt:3 (find_package)</p>
<p>&#8211; Configuring incomplete, errors occurred!<br />
touch: cannot touch `./julius/gramtools/mkdfa/mkfa-1.44-flex/*&#8217;: No such file or directory<br />
ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$</p></blockquote>
<p>I am now reading the <a href="http://www.cyber-byte.at/wiki/index.php/Development_Environment#Requirements">requirements in the simon wiki</a>. Maybe I should type the following command into the <code>Ubuntu</code> terminal: </p>
<blockquote><p><code>sudo apt-get install subversion build-essential cmake bison flex gettext gettext-kde kdeartwork \<br />
kdelibs5-dev portaudio19-dev libxtst-dev libqt4-sql-sqlite libqt4-phonon-dev julius libattica-dev libattica0</code></p></blockquote>
<p>So, I have to wait a few minutes until these packages are installed. Then I try it again, but the <code>ZLIB</code> error still occurs. I am now installing <code>zlibc</code> via Synaptic, then try <code>./build_ubuntu.sh</code> again, but the <code>ZLIB</code> error isn&#8217;t gone. I don&#8217;t know what to do now. What should I do next?</p>
]]></content:encoded>
			<wfw:commentRss>http://spirit.blau.in/simon/2010/05/01/git-clone-the-development-version/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<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>Why git?</title>
		<link>http://spirit.blau.in/simon/2010/01/25/why-git/</link>
		<comments>http://spirit.blau.in/simon/2010/01/25/why-git/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 20:06:56 +0000</pubDate>
		<dc:creator>producer</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://spirit.blau.in/simon/?p=2388</guid>
		<description><![CDATA[simon moved to git. Why? Maybe this is the reason: &#8220;Git is perfectly suited for Open Source projects: Just Fork it, commit your changes to your own Fork, and then ask the original project maintainer to pull your changes. With Git, this just works.&#8221; Maybe I will learn how to create my own fork of [...]]]></description>
			<content:encoded><![CDATA[<p>simon <a href="http://simon-listens.blogspot.com/2010/01/git.html">moved to git</a>. Why? <em>Maybe</em> <a href="http://stackoverflow.com/questions/871/why-is-git-better-than-subversion">this</a> is the reason: </p>
<blockquote><p>&#8220;Git is perfectly suited for Open Source projects: Just Fork it, commit your changes to your own Fork, and then ask the original project maintainer to pull your changes. With Git, this just works.&#8221;</p></blockquote>
<p>Maybe I will learn how to create my own fork of simon? That would be great.</p>
<p>How can I use git? I installed <code>Giggle</code>, I installed <code>qgit</code> (both via <a href="http://en.wikipedia.org/wiki/Ubuntu_Software_Center">Ubuntu Software Center</a>). But it didn&#8217;t work out. Then I typed <code>git</code> into the Ubuntu terminal. I am still trying to find out how I can get simon from <code>git://speech2text.git.sourceforge.net/gitroot/speech2text/speech2text</code>. </p>
<p>I am trying <code>$ git clone git://speech2text.git.sourceforge.net/gitroot/speech2text/speech2text</code>. Now I should have the simon source code: <code>Initialized empty Git repository in /home/am3msi/speech2text/.git/</code>. </p>
<p>Now I could try to build simon. Should I uninstall my current simon version (svn version) from my computer first? I am trying to uninstall simon (svn version) from my computer:<br />
<code>am3msi@am3msi-desktop:~/Documents/201001/simonsource/build$ sudo make uninstall</code></p>
<p>It didn&#8217;t work out: </p>
<blockquote><p>&#8211; Generating done<br />
&#8211; Build files have been written to: /home/am3msi/Documents/201001/simonsource/build<br />
Scanning dependencies of target uninstall<br />
CMake Error at cmake_uninstall.cmake:2 (MESSAGE):<br />
  Cannot find install manifest:<br />
  &#8220;/home/am3msi/Documents/201001/simonsource/build/install_manifest.txt&#8221;</p>
<p>make[3]: *** [CMakeFiles/uninstall] Error 1<br />
make[2]: *** [CMakeFiles/uninstall.dir/all] Error 2<br />
make[1]: *** [CMakeFiles/uninstall.dir/rule] Error 2<br />
make: *** [uninstall] Error 2<br />
am3msi@am3msi-desktop:~/Documents/201001/simonsource/build$ sudo make uninstall</p></blockquote>
<p>simon (svn version) is still installed on my computer. Is it possible to install simon (git version) even when there is already simon (svn version) installed? I will try it:<br />
<code>am3msi@am3msi-desktop:~/speech2text$ ./build_ubuntu.sh</code></p>
<p>I don&#8217;t know whether it is save to install simon again (the svn version is currently installed). But why not give it a try?</p>
<p>It looks good: </p>
<p><a href="http://spirit.blau.in/simon/files/2010/01/git.png"><img src="http://spirit.blau.in/simon/files/2010/01/git-300x218.png" alt="git" width="300" height="218" class="alignnone size-medium wp-image-2394" /></a></p>
<p>1. <code>simon</code> is available (and obviously working).<br />
2. <code>ksimond</code> is two times available (and obviously working). I should be able to configure <code>ksimond</code> (great that <a href="http://spirit.blau.in/simon/2010/01/19/removing-the-no-scenarios-version/#comment-248">this issue</a> obviously has been fixed).<br />
3. <code>sam</code> looks better now: <code>Static model</code>, <code>Adapted base model</code> &#8211; what is the difference? I hope that there will be a good documentation (sam handbook)  available that explains what is meant.<br />
4. <code>sscd</code> &#8211; it doesn&#8217;t open a window. So it doesn&#8217;t work.</p>
<p>My next step will be: trying to restore my German backup speech files.</p>
]]></content:encoded>
			<wfw:commentRss>http://spirit.blau.in/simon/2010/01/25/why-git/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

