Results 1 to 4 of 4

Thread: not sure how to describe this

  1. #1
    Join Date
    Sep 2008
    Posts
    35
    Thanks
    3
    Thanked 1 Time in 1 Post

    Talking not sure how to describe this

    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!
    Last edited by lanta99; 01-27-2009 at 04:09 PM. Reason: resolved

  2. #2
    Join Date
    Sep 2008
    Posts
    35
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    Oh right and one more thing, the file is in html if that helps at all...

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. The Following User Says Thank You to djr33 For This Useful Post:

    lanta99 (01-27-2009)

  5. #4
    Join Date
    Sep 2008
    Posts
    35
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    ok thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •