uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Epstein <eaepst...@gmail.com>
Subject Re: [UIMA C++ Framework] making examples
Date Sun, 05 Sep 2010 18:59:35 GMT
Hi,

A UnicodeStringRef is automatically created from a UnicodeString. So
one way to do this is:

  setStringValue( someFeature, UnicodeString(aString.data(),
aString.length(), US_INV) );

Regards,
Eddie


On Thu, Sep 2, 2010 at 11:28 AM, David García
<david.garcian@barcelonamedia.org> wrote:
>  Hi,
>
> I don't manage to convert std::string to UnicodeStringRef to set:
>
> setStringValue (Feature const &crFeature, UnicodeStringRef cuStr);
>
> in an annotation. I've been having a look at icu
> <http://userguide.icu-project.org/strings> library, as well as
> UnicodeStringRef uima class, but I don't find the way to do it.
>
>
> Regards,
> David
>
> El 13/08/2010 14:58, Eddie Epstein escribió:

Mime
View raw message