![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2006
Location: GREECE
Posts: 10
Rep Power: 0
![]() |
Dictionary in C++
Hi, i would like an advice here. I want to make a language dictionary application in Visual C++. It won't be online. It'll be something like oxford dictionary. So the entries will be a lot and i think that Access ain't what i need. Anybody has a suggestion on what kind of database should i use?
__________________
NO PAIN, NO GAIN |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
If you only use it for yourself, I would choose MySQL (since that's the only one I know
). I doubt that other users would take the time to install and set up MySQL, though. |
|
|
|
|
|
#3 | |
|
Newbie
Join Date: Feb 2006
Location: GREECE
Posts: 10
Rep Power: 0
![]() |
Quote:
![]()
__________________
NO PAIN, NO GAIN |
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
One can build a balsa "throw it across the yard" thangy, or a radio-controlled model airplane (up to 1/4 scale, even) or a Cessna 182 RG or a Boeing 747. It's just a matter of skill, pocket depth, and marketing/organizational expertise.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() ![]() |
I'd probably go with MySQL also... MS Access is fairly limited for numerous tuples.
If you don't want the end user having to install a MySQL database server, you could host a centralized database and have the clients connect over TCP/UDP or you can give SQLite a shot... a self containted database endgine. You can find SQLite here: http://www.sqlite.org/
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#6 | |
|
Newbie
Join Date: Feb 2006
Location: GREECE
Posts: 10
Rep Power: 0
![]() |
Quote:
You could be more accurate, i'm sure about that......The simple reason is that i asked something else....
__________________
NO PAIN, NO GAIN |
|
|
|
|
|
|
#7 | |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
|
#8 |
|
Hobbyist Programmer
Join Date: Oct 2005
Posts: 211
Rep Power: 4
![]() |
I've thought about doing something like this before most of my ideas relied on the same principle:
Each letter can be followed by 26 other letters, or can end. so each 'letter' structure would be arranged as the following letter
{
letter*[26] next letter; // pointers to the next letter
string* definition; // pointer to definition
}'c' -> 'a' -> 'n' -> 'd' -> 'y'
| |-> definition for candy
|-> definition for canobviously I didn't include all 'letter' links but each layer would have its own links on down the line, hope this helps. -MBirchmeier |
|
|
|
|
|
#9 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
There's an old article in DDJ regarding the use of a trinary tree for an approach similar to MBirchmeier's.
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#10 | |
|
Newbie
Join Date: Feb 2006
Location: GREECE
Posts: 10
Rep Power: 0
![]() |
Quote:
word-definition-phonological form--search by word, search by phoneme, search by morpheme. I took a look at "oxford dictionary of contemporary english" and i saw that it uses, apart from other stuff, some .dic files, if that helps. This very intriguing for me as i want to make a good project for my postgraduate essay in linguistics. I'm willing to do what it takes to accomplish
__________________
NO PAIN, NO GAIN |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|