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.
and ($beforevowel{$match}))<br />
{<br />
push @codes,$beforevowel{$match};<br />
}<br />
elsif ($other{$match})<br />
{<br />
push @codes,$other{$match};<br />
}<br />
else<br />
{<br />
push @codes,0;<br />
}<br />
last;<br />
}<br />
}<br />
$pos += length $match;<br />
#encode the rest of the input string<br />
while ($pos < length $name)<br />
{<br />
$match = " ";<br />
foreach my $multichar (@order)<br />
{<br />
if (substr ($name,$pos,length $multichar) eq $multichar)<br />
{<br />
$match = $multichar;<br />
#check for vowel after the matched string and apply beforevowe rules<br />
if ((substr ($name,$pos+length $match,1) =~/[aeiouy\374\351\366\344]/)<br />
and ($beforevowel{$match}))<br />
{<br />
push @codes,$beforevowel{$match};<br />
}<br />
elsif ($other{$match})<br />
{<br />
push @codes,$other{$match};<br />
}<br />
last;<br />
67