|
|
Comments and Discussions
|
|
 |
|

|
In my opinion you might do following to improve the code:
- separarate language dependent parts from language independent
- break entire code into more than one class (CDictionary abstract class, CMainDictionary, CUserDictionary, CDictionaryIndex, ...)
- create some kind of standard dictionary format with header fields (language, creator, ...) , indexing, compression (finding common word suffixes, gzip)
- create application for conversion of worlists into dictionary format
I think your project have big potential and lots of us are willing to help you to create something really big from it.
Also I have lot of wordlists of different languages, so contact me if you are interested to publish them.
Regards,
Miroslav Rajcic
http://www.spacetide.com
|
|
|
|

|
OK, so the problem is not the Spell Checker, but the languages. As I'm coming from Holland, I know a saying in English: Double Dutch, so it is. Like the big brother of Dutch: German, Dutch has words which are male, female, multiple or no-gender. In German, you've got articles like:
Der, Des, Dem, Den, Die which all do mean: THE
and
Das, Der, Die which all do mean: IT
In Dutch it's more English-Like: "De" and "Het" for IT and "De" only for THE, but if you whant to use a prefix, to get a word have a more tiny sound, you must use "Het" in any case, even if it has a gender.
I think, if someone wants to create a new language, the english classes are obsolete. I think the solution is to create different classes with words in it like:
CGenderMale, CGenderFemale, CMultiple and CNoGender. Also CNoun, and CSuffix (Whick can be language specific, e.g.
Class CSuffix
{
if (Gender == "Male")
{
AddSuffix("er")
}
else if {Gender == "Female")
.
.
.
}
And so on. Also another class, for something specialy in english would be CWordPartCount. In this class You can set something as:
if (Count < 2)
{
DoSuffix();
}
else if (Count = 2)
{
DoSuffixAndMoreOrLess();
}
else
{
DoMoreOrLess();
}
Get the idea? Now, if a word has only one part, only Suffixes are displayed e.g. Cool (Cooler and Coolest). For a word with two parts the Suffixes and Prefixes are shown e.g. Crazy (Crazier but olso More Crazy) and the last, when a words has 3 parts or more, only Prefixes are shown e.g. Pathetic (More pathetic, Most pathetic)
Get the drill?
And there are numerous classes needed for feeding information about whether the word is Irregular or not, if it's a verb or not and so on. So I think a wide discussion is needed to get the "Perfect" Spell Checker.
CString Dutch = "Double Dutch";
|
|
|
|

|
Alright, this is great so far. I'd love to use this in our commercial project, I'd love to help develop the software at no cost providing we can us it in our commercial software. BUT, it's lacking language support, as mentioned. Now, previous writers wants some European languages, even eastern European, but we'd require world wide support including Thai, Chinese etc and preferrably also some functionality for translation dictionary (?). Meaning there is an english text and you want to get suggestions for translated words in a second language.
How does this sound? Currently I think we would not want to dig into this because it's too far off at the moment.
http://www.cavena.com
|
|
|
|

|
Any support on this project is appreciated. I have been working on it now for about two months in my spare time and there is still a great deal to do. I have been doing some research on non-english language support, and I have learned a great deal about it. I am comfortable stating that when finished it will support multiple european languages. I have not researched languages like chineese but I know that there would be signifigant requirements to make it work.
That said, I am a professional deverloper doing this on the side and I would not feel good recomending this project for a commercial product at this time. The amount of time required to complete it and the probably availibility of comparable existing products would probably lead me to look for an off-the-shelf solutions.
The concept of suggesting words in another language has come up before. From what I have learned, it is doable, but requires very good and exhaustive dictionaries with information on word usage, sentence patterning, etc.
|
|
|
|
 |
|
|
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,309 |
| Bookmarked | 106 times |
|
|