|
|
Comments and Discussions
|
|
 |
|

|
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
|
|
|
|

|
I have been working on this version and it is a little more involved than the CEdit implementation. Basically, you must disable updates, use SetSel to select each word, check it and when you are done reset the selection to the original position and enable updates. Where it gets complicated is calculating where to draw the squigly lines. You have to get the charformat, create a compatible DC, determine the text height and from that calculate the position of the line. This can be problematic when a single word uses different fonts for different characters.
I am glad to see that someone is using or at least looking at this project. Unfortunately, due to my workload I have not been able to invest much time in completing this spell checker. I am hopefull that an upcoming project will require a spell checker and I will be able to finish it then.
|
|
|
|

|
Ya I was kind of hoping I could use it in CRichEditView but I guess I will just have to do some work on it, my current project is kind of boring me.
-Matt Newman
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
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,307 |
| Bookmarked | 106 times |
|
|