After doing some debugging I found out that the failure is with iswspace()
in libc. tracking it back to freeling, I figured out that I need to set
the locale prior to instantiating the tokenizer class otherwise the
string/wstring conversations get screwed up and the subsequent operations
fail.
I forgot to add, in the gist, I tried to store the Freeling object in a
vector that is a class member of my module but that still didn't work.
Roy
On Saturday, April 7, 2012 2:30:16 PM UTC-4, rhasson wrote:
>
> I'm creating a binding to a C++ library for NLP. You can see the basic of
> it here