Skip Menu |

This queue is for tickets about the Lingua-Stem CPAN distribution.

Report information
The Basics
Id: 60634
Status: open
Priority: 0/
Queue: Lingua-Stem

People
Owner: Nobody in particular
Requestors: jeremy.jancsary [...] ofai.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: German stemmer does not terminate for specific word form
Date: Mon, 23 Aug 2010 13:30:37 +0200
To: bug-Lingua-Stem [...] rt.cpan.org
From: Jeremy Jancsary <jeremy.jancsary [...] ofai.at>
Hi, I recently noticed that the German ('DE') variant of Lingua::Stem does not seem to terminate for a specific input, the word form 'anstrengendstem'. The problem also occurs for 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 Lingua::Stem; my $stemmer = new Lingua::Stem({'-locale' => 'DE'}); $stemmer->stem("anstrengendstem"); print STDERR "I'm never reached!\n"; exit 0; I'm using Lingua-Stem-0.84 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
CC: Ulrich Pfeifer <pfeifer [...] wait.de>
Subject: Re: [rt.cpan.org #60634] German stemmer does not terminate for specific word form
Date: Tue, 24 Aug 2010 07:38:13 -0700 (PDT)
To: Jeremy Jancsary via RT <bug-Lingua-Stem [...] rt.cpan.org>
From: Benjamin Franz <snowhare [...] nihongo.org>
This is actually a bug in Text::German. Lingua::Stem::De is just an API wrapper for it. You will need to refile the bug with the maintainer for Text::German (Ulrich Pfeifer <pfeifer@wait.de>) to get it resolved. - Benjamin Franz On Mon, 23 Aug 2010, Jeremy Jancsary via RT wrote: Show quoted text
> Mon Aug 23 07:31:45 2010: Request 60634 was acted upon. > Transaction: Ticket created by jeremy.jancsary@ofai.at > Queue: Lingua-Stem > Subject: German stemmer does not terminate for specific word form > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: jeremy.jancsary@ofai.at > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60634 > > > > Hi, > > I recently noticed that the German ('DE') variant of Lingua::Stem does not > seem to terminate for a specific input, the word form 'anstrengendstem'. The > problem also occurs for 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 Lingua::Stem; > my $stemmer = new Lingua::Stem({'-locale' => 'DE'}); > $stemmer->stem("anstrengendstem"); > print STDERR "I'm never reached!\n"; > exit 0; > > I'm using Lingua-Stem-0.84 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 >
-- Jerry "Programming is hard, let's go Shopping!" - Consultant Barbie, Reddit