Page 1 of 1

dictionary

Posted: Tue Jul 06, 2004 12:28 pm
by ddragas
I've look at viewtopic.php?t=2248 threat and I'm interested in translation, and in book I've bougt I've found script for translating, but without "dictionary.txt" file. Now I've got file in access mdb file whole dictionary (English - Croatian).

What I want to know is how should "dictionary.txt" file be written?

English word, Croatian word

or

English word Croatian word

or

English word = Croatian word

or how?

please help me

Posted: Wed Jul 07, 2004 3:25 am
by ddragas
any suggestions?

Posted: Wed Jul 07, 2004 3:30 am
by JayBird
i would sat

Code: Select all

english,croatian
english,crottian
Do you have to use a text file, a MySQL DB would be far better

Mark

Posted: Wed Jul 07, 2004 3:36 am
by ddragas
I know it would, but I have dthat dictionary in access file. It's much easier to transform it in txt file. Is it posible to put it from access to mysql db? Have some script that will do this?

Posted: Wed Jul 07, 2004 3:46 am
by JayBird
yeah, its easy.

You really should install something like SQLyog. This is a MySQL GUI that is great for managing your DB's. You can import to MySQL directly from the access database, but this takes a little bit getting used to.

An easier way is to export the data a a CSV file from Access, then use MySQLyog to import the CSV into the MySQL DB.

Give it a try, if you get stuck, gimme a shout.

Mark

Posted: Wed Jul 07, 2004 5:54 am
by ddragas
I will.
Thank you

Posted: Wed Jul 07, 2004 6:19 am
by Grim...
Turn it into a text file, then use PHP to put it into a MySQL database :)

Posted: Wed Jul 07, 2004 6:44 am
by patrikG
Also, you can browse http://wiktionary.org/ and see how they do it.