Hi,

 

I am developing a C# .NET port for the hunspell library.  I used SWIG to 
generate wrappers for the unmanaged C++ code.

This all seemed to work. My unit tests for Dutch gave the expected results.

 

When I tried out Russian however, I found that my tests were breaking. First I 
thought that it had something to do with the KOI8-R encoding,

so I transcoded the .aff and .dic files to UTF-8 (I also changed the header in 
the .aff file). But still, the .NET version does not recognize the word  "язык".

 

I also made the C# library compatible with 64bit systems. I thought this could 
also be a cause for the code not to work properly,

but my tests behave exactly the same way on x86 and x64. So I still suspect 
that the files have something to do with it.

Does anyone have a clue what the problem could be?

 

Currently, these are my C# interfaces. Am I missing something?

 

        public NetHunSpell(string affixPath, string dictionaryPath)

 

        public bool Spell(string word)

 

        public string GetDictionaryEncoding()

 

Regards,

Joachim

 

____________________________________
YAMAGATA EUROPE

Maaltecenter Blok G, Derbystraat 365
9051 Gent (SDW) BELGIUM
T: 32.9.245.48.31 / Mobile: 32.476.65.65.97
E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

W: www.yamagata-europe.com <http://www.yamagata-europe.com> 

W: www.qa-distiller.com <http://www.qa-distiller.com> 

____________________________________

Disclaimer:
This e-mail is intended for the exclusive use by the person(s) mentioned as 
recipient(s). This e-mail and its attachments, if any, may contain confidential 
information and/or information protected by intellectual property rights. You 
may not, directly or indirectly, use, disclose, distribute, print or copy this 
e-mail (or any part of this email) unless with approval of Yamagata Europe. If 
you receive this message by mistake, please notify the sender with the "reply" 
option and delete immediately all copies from your system.

 

Reply via email to