|
|
Comments and Discussions
|
|
 |

|
With help from Matt Gullett there is now a commercial version of this code available from www.spellican.com
The known bugs have been fixed, the code optimized and the interface extended.
It is now very easy to add spell checking to your application, typically all that is needed is one call in your application’s OnInitDialog.
The download also includes a dictionary editor, UK, Canadian and US dictionaries, documentation and samples.
Spellican is a commercial product based on the code in this article, and as such it isn’t free - but for a very low price you will get the benefit of the many man months’ debugging and extending this code.
|
|
|
|

|
is the code in this article still free?
i'm interested in possibly using it on a freeware product.
rgds
.dan.g.
AbstractSpoon
|
|
|
|
|

|
The website is offline. No commercial version any more?
Are the any other dictionaries available? German version perhaps? Because I'm still looking for a better one for my auto-correction software.
(Sure, Hunspell might be an alternative, but is quite difficult to handle with the different dictionary licenses...)
|
|
|
|

|
Is it copyrighted? Where can I get permission? Thanks
|
|
|
|

|
Yes, you can use it. I am the copyright holder.
If you do use it, please give me credit where appropriate.
|
|
|
|

|
Hai,
Got your code for Spell Checking Engine(FPS SpellCheck Engine) from Code Project.com It is working fine & perfect. Now that my need is to have the same code for UK Dictionary. Can you mail me the UK Dictionary similar to US Dictionary so that I can use it instead of US Dictionary? I tried different options but in vain. Expecting a positive mail from you soon.
Thanks.
LaksAmmu
|
|
|
|

|
Hi
I'm using the same spell checker. If the font size and the word is an incorrect one, the line, which comes under the incorrected word, is not drawing properly. If the font size is bigger than the default font, the line is drawing on the word only. SO pls help me how to solve the problem.
Thanks
Pushparaj
|
|
|
|

|
I want to understand these algos ? Are these available in the web with code examples Can I get latest version of the application ? I am interested only in Algo
|
|
|
|

|
Then I think you should have a look at aspell/pspell by Kevin Atkinson. I think it's hosted at SourceForge, but a Google search should tell you.
|
|
|
|

|
Thanks for the interest.
Sorry for the delay in my response, but I am not getting notification emails off this article for some reason.
If I'm not mistaken, Lawerence Phillips developed the original Metaphone and Double Metaphone algorithms. There is a good article on CUJ about it. Here is the link:
http://www.cuj.com/articles/2000/0006/0006d/0006d.htm?topic=articles
(One note about this article, the MString class provided does not perform well w/high volume systems.)
There are numerous implementations of the metaphone algorithm many have small variations on the original. Most are used for spell checkers or similar apps.
Suresh Limaye wrote:
Can I get latest version of the application ?
Sorry, I don't have an updated version of this available at the momeent. My current "work-in-progress" for this project is quite involved. I am converting the core system to COM, adding language support, improving performance and matching (modified double metahone, etc.). Also, I am implementing a web-interface for the checker. It will probably be at least a couple of months before I have a version of this ready to post to CodeProject.
|
|
|
|
|

|
Thanks for the interest.
Sorry for the delay in my response, but I am not getting notification emails off this article for some reason.
I am not sure where is the best place to find word lists for the various languages. The few that I have to work with have been scavenged from various places.
You probably know this already, but, this particular version of the spell checker will probably not work very well with non-english languages without at least some modifications. I am working on an update to this project (major update), but it will be a couple of months before it is ready.
|
|
|
|
|

|
I like the look of the spell checker you've made and would love to include it in my program, but I'm ... well kinda a moron sometimes. I'm currently having a little trouble adding it to my program, see my program is an SDI (CEdit derived), so I can't seem to add member variables to the document. Any help would be greatly appreciated. Thank you in advance.
|
|
|
|

|
In my main dialog where the CEdit control is, I have an OnChange() member function. I use it to tell me that the contents of the edit box have changed.
Now that FPSSpellingEditCtrl steals OnChange(), how do I get this notification?
Thanks,
Gary A. Lucero
glucero@swcp.com
http://freebask.homestead.com
|
|
|
|

|
Change the CEdit derived class's ON_CONTROL_REFLECT to ON_CONTROL_REFLECT_EX and return FALSE from the CEdit derived class's OnChange handler - see MSDN for information on ON_CONTROL_REFLECT_EX.
|
|
|
|

|
Hi everyone , I have two questions : 1. I downloaded this project yesterday and when I try to run it in debug mode (in order to examine the files) I get ASSERTs all the time . Does anybody have a clue way ? (I have VC6 and win98) 2. Does somebody know where can I find material about spell checksers and the way they work ? (any material would help) Thanks in advance ofir
|
|
|
|

|
Hi there,
I also had assert problems when running in debug. It appears that the file USUser.dic that is in the Release folder is not in the Debug folder. Copy the file USUser.dic from the Release folder to the Debug folder and it works. Thanks to the author for liberal use of the TRACE function!
--steve
|
|
|
|

|
Treminate() causes a heap corruption problem. When the app exits you get a heap overrun message. Any idea or fix?
|
|
|
|

|
I guess the problem only occurs if you don't provide an option file to InitSpellingEngine() i.e.
InitSpellingEngine(NULL) causes the problem but
InitSpellingEngine(szFileName) is OK.
...?
|
|
|
|

|
Just in case you weren't aware of this, when a vertical scroll edit box has misspelled text that is out of view, the squiggly lines are still drawn off the edit box.
Any idea how I can quickly fix that, if you haven't already?
thanks!
kp
what?
|
|
|
|

|
add these lines to drawsquigly
CRgn rgn;
rgn.CreateRectRgnIndirect(&ClientRect);
dc.SelectClipRgn(&rgn);
void CFPSSpellingEditCtrl::DrawSquigly(CDC &dc, int iLeftX, int iWidth, int iY)
{
int iCurrentY = iY;
int iCurrentX = iLeftX;
CRect ClientRect;
GetClientRect(ClientRect);
/////////////////////
CRgn rgn;
rgn.CreateRectRgnIndirect(&ClientRect);
dc.SelectClipRgn(&rgn);
//////////////////////
while (iCurrentX <= iLeftX + iWidth)
{
dc.MoveTo(iCurrentX, iY);
if (iCurrentX+2 <= iLeftX + iWidth && iY+2 < ClientRect.Width())
dc.LineTo(iCurrentX+2, iY+2);
if (iCurrentX+4 <= iLeftX + iWidth && iY+2 < ClientRect.Width())
dc.LineTo(iCurrentX+4, iY);
iCurrentX += 3;
}
}
what?
|
|
|
|

|
HI, how would I have the spell checker engine running for a non-dialog based app. i.e. One using full Doc/View.
Nice work on this demo app!
|
|
|
|

|
How would you use it in CRichEditView?
-Matt Newman
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
A free spell checking engine for use in your C++ applications. Includes the current US English dictionary
| Type | Article |
| Licence | |
| First Posted | 6 Jan 2001 |
| Views | 185,183 |
| Bookmarked | 106 times |
|
|