uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: SnowballAnnotator needs refactoring?
Date Tue, 31 Aug 2010 15:42:38 GMT
 Hi Tommaso,

Can you say more about the initialize() occasional failure?

I'm curious as to what the failure is, and if you have any thoughts as to why is
it "occasional"?  I took a quick look at the patch, but may have missed the part
that addressed the occasional failure...

Thanks!  -Marshall

On 8/28/2010 6:48 AM, Tommaso Teofili wrote:
> H all,
> I noticed the SnowballAnnotator is extending the deprecated
> JTextAnnotator_ImplBase, have some unused imports and generics should be
> enabled.
> Moreover the initialize() method occasionally fails due to the
> AnnotatorContext object being null when run in a 2.3.1-SNAPSHOT
> distribution.
> I made a patch to make it extend JCasAnnotatorImpl_Base (and some little
> refactorings [1]) that fixed this situation, but I would like to know if
> anyone has experienced it and if have any objections on applying such a
> patch.
> Regards,
> Tommaso
> [1] : https://issues.apache.org/jira/browse/UIMA-1861

View raw message