pdf - Universität zu Köln
pdf - Universität zu Köln
pdf - Universität zu Köln
Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.
YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.
my @codes2 = @codes;<br />
for ($i = 0;$i < @codes;$i++)<br />
{<br />
last if $codes[$i]=~/:/;<br />
}<br />
#the colon is used as separator for multiple encoding possibilies<br />
my @options = split ":" , $codes[$i];<br />
my @results;<br />
foreach (@options)<br />
{<br />
$codes[$i] = $_;<br />
#call recursively<br />
push @results, CreateVariations (@codes);<br />
}<br />
return @results;<br />
}<br />
}<br />
1;<br />
return \@codes;<br />
11.3 Implementation von PHONEM<br />
# Implementation of the PHONEM substitutions, as described in<br />
# Georg Wilde and Carsten Meyer, Doppelgaenger gesucht -<br />
# Ein Programm fuer kontextsensitive phonetische Textumwandlung<br />
# ct Magazin fuer Computer & Technik 25/1998<br />
#<br />
# The original variant was implemented as X86-Assembler-Funktion. This implementation<br />
# does not try to mimic the original code, though it should achieve equal results.<br />
# As the original software used for building the original implementation was not<br />
# available, there was no testing for correctness, other than the examples given<br />
# in the article<br />
#<br />
# Martin Wilz 2005-01-09<br />
package PHONEM;<br />
69