How I am preparing Ralf's German dictionary version 0.1.9.8:
1. Add the rule to improve-german.xsl:
<xsl:when test="ends-with(../grapheme, 'zustand')
or ends-with (../grapheme, 'zustands')"><xsl:value-of select="replace($sierra, 't͡sʊstant', 't͡suːʃtant')"/></xsl:when>
2. Add the rule:
<xsl:when test="ends-with(../grapheme, 'ständen')"><xsl:value-of select="replace($sierra, 'stɛnd', 'ʃtɛnd')"/></xsl:when>
3. Add rule:
<xsl:when test="contains(../grapheme, 'spiel')"><xsl:value-of select="replace($sierra, 'spiːl', 'ʃpiːl')"/></xsl:when>
4. Add rule:
<xsl:when test="contains(../grapheme, 'angebot')"><xsl:value-of select="replace($sierra, 'aŋeːboːt', 'aŋgeːboːt')"/></xsl:when>
5. Add rule:
<xsl:when test="contains(lower-case(../grapheme), 'stöcke')"><xsl:value-of select="replace($sierra, 'stœk', 'ʃtœk')"/></xsl:when>
6. I want only one terminal per role attribute, not several terminals. This rule removes the other terminals except the first terminal:
<xsl:when test="contains($terminal, ' ')"><xsl:sequence select="substring-before($terminal, ' ')"/></xsl:when>
7. Add rule:
<xsl:when test="starts-with(../grapheme, 'vorz')
and starts-with($sierra, 'foːʀt͡s')"><xsl:value-of select="replace($sierra, 'foːʀt͡s', 'foːɐ̯t͡s')"/></xsl:when>
8. Add additional phoneme element:
<xsl:when test="contains(lower-case(../grapheme), 'angabe')"><xsl:value-of select="replace($sierra, 'aŋgaːb', 'angaːb')"/></xsl:when>
9. Improve phoneme quality:
<xsl:when test="contains(lower-case(../grapheme), 'graphik')"><xsl:value-of select="replace($sierra, 'gʀafiːk','gʀafɪk')"/></xsl:when>
10. Generate version 0.1.9.8 via Ubuntu terminal:
ubuntu@ubuntu-desktop:~$ saxonb-xslt -ext:on -s:'/home/ubuntu/Documents/201006/german-0.1.9.5/german-0.1.9.7.xml' -xsl:'/home/ubuntu/Documents/201005/german-0.1.9.4/improve-german.xsl' -o:'/home/ubuntu/Documents/201006/german-0.1.9.5/german-0.1.9.8.xml'
Some phoneme elements will be duplicated. This issue will be fixed later.
11. Download Ralf's German dictionary 0.1.9.8, and import it into simon. Suggestions for improvement are welcome.
Tags: de