|
 |
|
|
While at first I thought this was due to a problem in the demo, it turns out the problem is with the SpellCheckEngine. Specifically, in the file FPSSpellCheckEngine.cpp line #177, change to: if (m_RecentFinds.Lookup(szUpper, strTemp))
The collection m_RecentFinds contains the Ignored Words forced to UpperCase - See ::IgnoreWord.
Thanks for the class!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Right now i'm doing my research about The Process Of Spelling Checker, can anybody help me to find more about it? It more about spelling checker pseudocode, spelling checker engine or whatever.. thank you!
Ain
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
Yes, you can use it. I am the copyright holder.
If you do use it, please give me credit where appropriate.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Speaking of dictionary word lists 
Would you mind if I used your dictionary file in a PHP project??? My host offers PSpell, but no dictionary files... 
So i'm stuck having to find a dictionary list...and yours is the only text version and thorough enough for my needs...
Matt Gullett wrote: few that I have to work with have been scavenged from various places.
Does this mean if you say no, I have to scour various dictionary sources? What confuses me is...how then is it decided one has breached copyright laws. So long as you don't copy a database verbatim and only one term here and another term there...it's ok???
Cheers
How do I print my voice mail?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
 | help |  | ofir | 22:35 6 Dec '01 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Treminate() causes a heap corruption problem. When the app exits you get a heap overrun message. Any idea or fix?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
...?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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?
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
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!
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |