You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by David Garcia Narbona <da...@barcelonamedia.org> on 2012/11/09 13:24:21 UTC
[Pythonnator] subiterator and array specification in descriptor
Hi all,
having a look at pyhonnator.py API, is it possible to specify array
parameters in descriptor file?
It seems that AnnotatorContext only defines String, Float and Integer
extraction. I have tried getting parameter defined as aa array into a
previously defined list variable, by using extractValue
AnnotatorContext method, but it didn't work.
Regarding getting subIterator from an Annotation, as it is available
from UIMACPP API, I have not seen any subiterator method in
pythonnator.py API. Is it possible this option?
Regards,
David
Re: [Pythonnator] subiterator and array specification in descriptor
Posted by Eddie Epstein <ea...@gmail.com>.
Hi David,
The python swig interface to C++ is defined in $UIMACPP_HOME/scriptators/uima.i
It should be easy for you to extend this class to include any UIMA C++ API.
Regards,
Eddie
On Fri, Nov 9, 2012 at 7:24 AM, David Garcia Narbona
<da...@barcelonamedia.org> wrote:
> Hi all,
>
> having a look at pyhonnator.py API, is it possible to specify array
> parameters in descriptor file?
> It seems that AnnotatorContext only defines String, Float and Integer
> extraction. I have tried getting parameter defined as aa array into a
> previously defined list variable, by using extractValue AnnotatorContext
> method, but it didn't work.
>
> Regarding getting subIterator from an Annotation, as it is available from
> UIMACPP API, I have not seen any subiterator method in pythonnator.py API.
> Is it possible this option?
>
>
> Regards,
> David