Re: ClassCastException thrown when using subiterator and moveTo()

2007-06-27 Thread Thilo Goetz
Fixed for 2.2, thanks for reporting and providing the test case. This Groovy stuff looks pretty cool, I'll have to check it out some more... --Thilo Thilo Goetz wrote: The easiest place to create a test case is on Jira. Open a Jira bug for UIMA, and you can attach the test case. When you do

Re: typeSystemInit() method in CasAnnotator_ImplBase but not JCasAnnotator_ImplBase

2007-06-27 Thread Adam Lally
On 6/26/07, Philip Ogren [EMAIL PROTECTED] wrote: Thilo had pointed me towards the method typeSystemInit() in a recent posting as a way of getting type system information in an annotator. Is there a reason that this method exists in CasAnnotator_ImplBase but not JCasAnnotator_ImplBase? Or is

Re: Problems building a pipeline with PEAR components

2007-06-27 Thread Adam Lally
On 6/26/07, Michael Baessler [EMAIL PROTECTED] wrote: Good news... The create a CAS from a type system, you can use the CasCreationUtils class. More specifically (since CasCreationUtils has a LOT of methods): TypeSystemDescription typeSysDesc =

Unit testing with Groovy

2007-06-27 Thread Philip Ogren
Great! I have found that a great way to get started with Groovy is for unit testing. I borrowed a few lines of Java code for obtaining a JCas that I saw on an earlier post (from Marshall I think) that I used to create a little util class that has a single method: static JCas