Posted by NC on 09/28/67 11:42
kasper48 wrote:
>
> I'm trying to write some code that will scan a text document and
> appropriately link words that match names of wikipedia articles
> with a hyper link to the corresponding article.
>
> The wikipedia SQL database is available for download here:
> http://download.wikimedia.org/enwiki/20060208/
>
> This is my first venture into serious PHP / Database programming
> and I am just looking for a push in the right direction. There is a
> lot of information to work with and I know that efficiency is going
> to be key.
>
> No idea how or where to start but I'm determined!
Creating the actual database is a good starting point. Once you have
it, start writing the search script... Basically, what you want your
script to to is to break the text file into words and find articles
whose titles match those words.
Cheers,
NC
[Back to original message]
|