View previous topic :: View next topic |
Author |
Message |
keithml
Joined: 25 Jul 2006 Posts: 12 Location: Florida
|
Posted: Tue Aug 21, 2007 3:28 pm Post subject: Spell Checking Word List |
|
|
Does econtrol have a word list for spelling or is there a place I can download open source or public domain word lists for common words?
Thanks,
Keith |
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Thu Aug 23, 2007 8:03 am Post subject: |
|
|
No we have not own word lists.
There are opened word lists.
I tested some of them, but the quality of word lists I tested is not good, so I recommend to use commertial 3d-party spell checking library.
To integrate it with syntax memo (for active highlighting) use TecSpellChecker.OnCheckWord event.
Michael. |
|
Back to top |
|
|
keithml
Joined: 25 Jul 2006 Posts: 12 Location: Florida
|
Posted: Fri Aug 24, 2007 7:09 pm Post subject: Addict support? |
|
|
Just curious, do you plan to or already have support for the Addict spell checker. I have this one and I know it is a popularly supported spell checker.
Thanks again,
Keith |
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Sun Sep 16, 2007 9:02 am Post subject: |
|
|
Hello,
It is easy to integrate with Addict spell checker.
Write TecSpellChecker.OnCheckWord event handler and use TAddictSpell3Base.WordExists method:
Code: | procedure TForm1.ecSpellChecker1CheckWord(Sender: TObject;
const AWord: String; APos: Integer; var Valid: Boolean);
begin
Valid := AddictSpell3Base1.WordExists(AWord);
end; |
In this case you will use dictionaries of Addict and implement live spell checking via TecSpellChecker.
Michael. |
|
Back to top |
|
|
|