<?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; node15</title>
	<atom:link href="http://spirit.blau.in/simon/tag/node15/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>OT: German phonemes for &#8220;Depot&#8221;</title>
		<link>http://spirit.blau.in/simon/2010/02/06/ot-german-phonemes-for-depot/</link>
		<comments>http://spirit.blau.in/simon/2010/02/06/ot-german-phonemes-for-depot/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 16:01:50 +0000</pubDate>
		<dc:creator>producer</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[deːpoː]]></category>
		<category><![CDATA[German]]></category>
		<category><![CDATA[node15]]></category>

		<guid isPermaLink="false">http://spirit.blau.in/simon/?p=2420</guid>
		<description><![CDATA[As I told earlier, I want to give information about PLS dictionary development. At the moment, Ralf&#8217;s German dictionary 0.1.7 is available. Here is how I want to modify the dictionary: I take a closer look at the XSLT style-sheet espeak2perfectipa.xsl. I didn&#8217;t improve this style-sheet during the last 4 months. A few minutes ago, [...]]]></description>
			<content:encoded><![CDATA[<p>As I told earlier, I want to give <a href="http://spirit.blau.in/simon/2009/12/24/zufuhrungsdrahten-two-pronunciations/#volunteer">information about PLS dictionary development</a>. At the moment, Ralf&#8217;s German dictionary 0.1.7 is <a href="http://script.blau.in/german-dictionary.xml.bz2">available</a>. Here is how I want to modify the dictionary:</p>
<p>I take a closer look at the XSLT style-sheet <a href="http://spirit.blau.in/simon/files/2010/01/espeak2perfectipa.xsl">espeak2perfectipa.xsl</a>. I didn&#8217;t improve this style-sheet during the last 4 months.</p>
<p>A few minutes ago, I made a slight modification to <code>espeak2perfectipa.xsl</code> (= <strong>XSLT style-sheet</strong>). These are the lines that modify the phonemes for <code>Depot</code>:</p>
<blockquote><p><code>&lt;xsl:when test="starts-with(grapheme, 'Depot')"&gt;<br />
&lt;xsl:for-each select="phoneme"&gt;&lt;xsl:text&gt;<br />
&lt;/xsl:text&gt;&lt;phoneme&gt;<br />
&lt;xsl:variable name="sierra"&gt;&lt;xsl:value-of select="."/&gt;&lt;/xsl:variable&gt;<br />
&lt;xsl:variable name="sierra" select="replace($sierra, 'deːpɔt', 'deːpoː')"/&gt;<br />
&lt;xsl:sequence select="$sierra"/&gt;&lt;/phoneme&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/xsl:when&gt;</code></p></blockquote>
<p>These are some lines from Ralf&#8217;s German dictionary 0.1.7 (= <strong>source XML document</strong>):</p>
<blockquote><p><code>&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotbank&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpɔtbaŋk&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;<br />
&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotfett&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpɔtfɛt&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;<br />
&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotgebühr&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpɔtgeːbyːʀ&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;<br />
&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotgesetz&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpɔtgeːzɛts&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;</code></p></blockquote>
<p>These are the corresponding lines of the future version of the dictionary (= <strong>result XML document</strong>):</p>
<blockquote><p><code>&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotbank&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpoːbaŋk&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;<br />
&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotfett&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpoːfɛt&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;<br />
&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotgebühr&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpoːgeːbyːʀ&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;<br />
&lt;lexeme role="Substantiv"&gt;<br />
&lt;grapheme&gt;Depotgesetz&lt;/grapheme&gt;<br />
&lt;phoneme&gt;deːpoːgeːzɛts&lt;/phoneme&gt;<br />
&lt;/lexeme&gt;</code></p></blockquote>
<p>You can see the concept: The XSLT style-sheet defines which modifications the result PLS dictionary should contain.</p>
<p>The whole process is invoked via the Ubuntu terminal: </p>
<blockquote><p><code>am3msi@am3msi-desktop:~/Documents/201001/0.1.8$ saxonb-xslt -ext:on -s:german-dictionary-0.1.7.xml -xsl:espeak2perfectipa.xsl -o:prepare-0.1.8.xml</code></p></blockquote>
<p>Let me explain:<br />
- <code>saxonb-xslt</code> is the <strong>XSLT processor</strong>;<br />
- <code>german-dictionary-0.1.7.xml</code> (= Ralf&#8217;s German dictionary 0.1.7) is the <strong>XML source document</strong>;<br />
- <code>espeak2perfectipa.xsl</code> is the <strong>XSLT style-sheet</strong>;<br />
- <code>prepare-0.1.8.xml</code> is the <strong>XML result document</strong>. It should become Ralf&#8217;s German dictionary 0.1.8 which I will release as soon as I have made substiantial progress.</p>
<p>I will document further steps of dictionary development here in this blog. I hope that I can convince some people out there to apply this concept to <a href="http://spirit.blau.in/simon/2010/01/08/tutorial-how-to-install-under-ubuntu/#pls-dictionary">other PLS dictionaries</a>. So my goal is to educate people in PLS dictionary development.</p>
]]></content:encoded>
			<wfw:commentRss>http://spirit.blau.in/simon/2010/02/06/ot-german-phonemes-for-depot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

