Recent

Author Topic: Another Hunspell pascal wraper  (Read 824 times)

zamtmn

  • Hero Member
  • *****
  • Posts: 677
Another Hunspell pascal wraper
« on: May 06, 2025, 10:05:20 am »
I want to present my own version Hunspell wrapper https://github.com/zamtmn/fphunspell, this is based on https://github.com/davidbannon/hunspell4pas with some of my changes for easy use in zcad

I found it interesting to be able to create documentation automatically https://deepwiki.com/zamtmn/fphunspell Got it pretty detailed, the only thing is that in the use cases  suggests working with the record as a class))


AlexTP

  • Hero Member
  • *****
  • Posts: 2665
    • UVviewsoft
Re: Another Hunspell pascal wraper
« Reply #1 on: May 06, 2025, 10:59:57 am »
Repo gives only one .dll file, while it must be two: 32/64 bit.

zamtmn

  • Hero Member
  • *****
  • Posts: 677
Re: Another Hunspell pascal wraper
« Reply #2 on: May 07, 2025, 06:56:06 am »
This is not binary files repo, it is source code))

Thaddy

  • Hero Member
  • *****
  • Posts: 18672
  • Jungle wars. And failing health it seems.
Re: Another Hunspell pascal wraper
« Reply #3 on: May 07, 2025, 10:17:25 am »
 :D usually Alex is much smarter then here.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

dbannon

  • Hero Member
  • *****
  • Posts: 3646
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Another Hunspell pascal wraper
« Reply #4 on: May 07, 2025, 11:43:28 am »
If its based on my code (great !) maybe I can clarify ?

The code in question is just a wrapper (so, 'used' in a project, no dll or .so) around the hunspell library. In Linux and Macos, that library is readily available. But not for Windows. I had trouble compiling it to a DLL but was helped by rvk but he did only the 64bit one.  I am most seriously NOT a windows user (despite the fact that Thaddy once called me one and has refused to apologize ;-) )

So, the missing 32 bit DLL Alex mentions is possibly a hunspell.dll and could, presumably, be built from hunspell source by a person with sufficient Windows skills. Is Windows 32bit still widely used ?

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018