Giter VIP home page Giter VIP logo

thunspell's Introduction

THunSpell

Delphi hunspell wrapper with a spell check dialog and a red-underline TMemo descendent, originally written by Stefan Ascher

Screenshot

Screenshot of the Demo

What I have done so far

  • Downloaded the original version of THunSpell by Stefan Ascher from (https://torry.net/authorsmore.php?id=7163), the original version is assumed to be developed for Delphi 6 (Non-unicode Delphi).
  • Upgraded to unicode Delphi (tested on XE4 only) and the demo is running correctly.
  • Re-orgnaized the repository directory (moved all demo-related files to the Demo subfolder).
  • Still uses Hunspell DLL version 1.3.2 from year 2011.

Other spell check libraries/components

My experiences only:

  • LS Speller (TSpellChecker): This is the one I used in pre-Unicode Delphi, but it doesn't support Delphi 2009+ and I failed to upgrade it to support Unicode Delphi.
  • TMS Spell Checker: I only have the 2017 version and didn't find its spell check dialog directly supporting TRichEdit, and man, it's not very fast...
  • NHunspell: Another Hunspell wrapper which uses much newer Hunspell DLL, but it doens't have built-in spell check dialog which can directly operate on a TCustomMemo descendent, and that's why I end up upgrading THunSpell.

Advantages of THunSpell over the above mentioned alternatives

  • It's fast!
  • Has a THunSpellDialog which can direclty check and correct words in a TMemo.
  • Has a TMemo-derived class which draws red lines under words that failed to be validated by Hunspell.

Possible future enhancements

  • Upgrade to the latest Hunspell (try refer to NHunspell mentioned above, I won't do this in the near future unless needed).
  • Ensure THunSpellDialog supports TRichEdit/TJvRichEdit (I'll be doing this soon, but will test against TJvRichEdit only).
  • If you make pull request, try your best not to break backward compatibilities (XE4, for example).

thunspell's People

Contributors

edwinyzh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.