Where is the set of uimafit extensions documented?
-M
On 8/8/2013 10:31 AM, Marshall Schor wrote:
> On 8/8/2013 9:57 AM, Richard Eckart de Castilho wrote:
>> uimaFIT provides these in the CASUtil and JCasUtil classes:
>>
>> select(…)
>> selectCovered(…)
>> selectCovering(…)
>>
>> E.g.
>>
>> for (Token t : select(jcas, Token.class) {
>> …
>> }
> Nice! (Thinking now about "pulling" these and maybe some other things into
> main
> UIMA ...)
>
> -M
>
>
>> Cheers,
>>
>> -- Richard
>>
>> Am 08.08.2013 um 15:52 schrieb Marshall Schor <[email protected]>:
>>
>>> UIMA implements a bunch of CAS iterators of various types, that extend the
>>> normal Java Iterator class. Are there corresponding iterables that allow
>>> their
>>> use in things like for (Token token : xxxxx) { } kinds of statements?
>>> (where
>>> Token is the JCas cover class for UIMA Type "Token").
>>>
>>> If not, is there a reason for this, or just a bit of missing convenience?
>>> Does
>>> UIMAFit supply these?
>>>
>>> -Marshall
>