uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject AnnotationFS.getCoveredText returns null?
Date Thu, 23 Feb 2012 12:33:01 GMT
Hi all,

the CasEditor code assumes that getCoveredText never returns
null.

Should that always be the case?

I have here a CAS with two DocumentAnnotations:

1. The one created by UIMA
2. An ArticleDocumentAnnotation (extends DocumentAnnotation)
     where the begin and end indexes are 0

The second one returns null when getCoveredText is called
(I can do more debugging when needed).

Jörn

Mime
View raw message