uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavani Iyer <bhavan...@gmail.com>
Subject Re: Annotators data path in UIMA C++
Date Fri, 03 Feb 2012 15:21:39 GMT
Try
ResourceManager::getInstance().getLocationData().getAsCString();

Bhavani


On Fri, Feb 3, 2012 at 10:08 AM, Sylvain Surcin <surcin@kwaga.com> wrote:

> Hello,
>
> How do we access the global -Duima.datapath from within a C++ annotator?
> In Java we have the accessor UimaContext.getDataPath().
> But I don't see any equivalent method in class AnnotatorContext used in the
> annotator's initialize method...
>
> BTW, I'm using the 2.4.0c release candidate for C++.
>
> Thanks for any help.
>
> --
> Sylvain SURCIN, Ph.D.
> *KWAGA*
> Senior Software Architect
> 15, rue Jean-Baptiste Berlier
> 75013 Paris
> France
> Tél.: +33 (0)6.32.78.83.31
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message