Hunspell

Everything else that doesn't fall into one of the other PB categories.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Hunspell

Post by Rook Zimbabwe »

yep... you use the "new" version with the *
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: Hunspell

Post by rsts »

Perkin wrote:Rook, the hunspelldll.dll I'm using is from v -1.2.12
located here, http://sourceforge.net/projects/hunspell/files/
view all files, hunspell 1.2.12 (rather than hyphen)
Since you're using 1.2.12, I assume you've successfully built the dll?

I've tried using both Visual Studio and cygwin but have gotten errors both (rather multiple) times.

How did you create the dll and would you have a copy to share?

cheers
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Hunspell

Post by Perkin »

:oops: I think I might not be using 1.2.12, I think I'm using 1.1.4 as the dll was from inside the delphi package here

http://sourceforge.net/projects/hunspel ... p/download

I assumed it was the 1.2.12, as it was on sourceforge, and i thought it was updated to latest version.

Sorry :oops:

In my defence I downloaded the 1.2.12 source at the same time, and must have assumed the dll I was using was the updated one.
%101010 = $2A = 42
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: Hunspell

Post by rsts »

Perkin wrote::oops: I think I might not be using 1.2.12, I think I'm using 1.1.4 as the dll was from inside the delphi package here
Yes, the win32 dll's I've found to be readily available are from the 1.1 series.

I have been successfull(? - still needs additional testing) at building a dll for 1.2.12.

As of the 1.2 series "hunspell_put_word" becomes "Hunspell_add"

There were other changes http://sourceforge.net/project/shownote ... _id=551113 as well, but they had to do with stemming and morphological analysis and generation which I'm not using.

If I run into additional problems testing 1.2.12, I'll post.

cheers
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Hunspell

Post by Perkin »

If your successful, could you create a lib/include to use it and upload here.

What's the benefits of the newer dll version?

I've got no idea of where to begin to build it myself.
messing about with includes after somebody else has done them is a lot easier :mrgreen:
%101010 = $2A = 42
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: Hunspell

Post by PrincieD »

Hey guys,

I've compiled version 1.3.2 (latest version) of the hunspell DLL (both x86 and x64 versions) as I know first hand what an absolute bastard it was to get to build lol
Here they are:

Hunspellx86.dll

http://www.progui.co.uk/downloads/Hunspellx86.dll

Hunspellx64.dll

http://www.progui.co.uk/downloads/Hunspellx64.dll

Hope that helps if anyone is struggling! :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: Hunspell

Post by rsts »

Thanks.

I'll see if it's an improvement over the existing.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: Hunspell

Post by PrincieD »

No worries rsts :) my test code with the 64bit version seems to be working fine so far, parameters for "Hunspell_suggest" have been swapped around though.

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Hunspell

Post by Perkin »

Nice, thanks PrincieD
%101010 = $2A = 42
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: Hunspell

Post by PrincieD »

Perkin wrote:Nice, thanks PrincieD
You're welcome Perkin, I've made a nice easy-to-use UserLib too: http://www.purebasic.fr/english/viewtop ... 12&t=49236

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Post Reply