Log in

View Full Version : Resolved not sure how to describe this



lanta99
01-20-2009, 01:33 AM
Hi,

I downloaded a public domain file with hundreds of words and definitions in the following format:

Word(part of speech) Definition

Word 2(part of speech) Definition

Word 3(part of speech) Definition

etc.. for about a few hundred words.

What I want to do is to organize this list so that each word gets its own html file so that I can make a search engine with it.

Is there an easy way to do this, or will I have to do it by hand?

Thanks in advance!

lanta99
01-20-2009, 01:36 AM
Oh right and one more thing, the file is in html if that helps at all...

djr33
01-20-2009, 04:43 AM
You could convert it to a database, or you could use some sort of text processing language (desktop programming, or perhaps server side, like PHP) to write an html file for each line.
But using a dynamic method, like a database, is really the best idea. You could even process the text document each time using PHP, etc.

Considering the goal, a dictionary, it seems, you would do best using a database anyway.

lanta99
01-27-2009, 04:09 PM
ok thanks