Subject: | Reduce does not terminate for specific word form |
Date: | Tue, 24 Aug 2010 17:04:08 +0200 |
To: | bug-Text-German [...] rt.cpan.org |
From: | Jeremy Jancsary <jeremy.jancsary [...] ofai.at> |
Hi,
I recently noticed that Text::German::reduce does not seem to terminate for a
specific input, the word form 'anstrengendstem'. The problem also occurs for
a number of similar word forms such as 'aufregendstem', so I assume that the
suffix plays a role.
Here is a minimal example that illustrates the problem:
use Text::German;
my $stem = Text::German::reduce("anstrengendstem");
print STDERR "I'm never reached!\n";
exit 0;
I'm using Text-German-0.06 on perl, v5.10.1 (*) built for
x86_64-linux-gnu-thread-multi.
I consider this a rather critical bug, as it is hard to protect against
failure of termination, and the consequences are severe (especially within
server applications).
Cheers,
Jeremy