My plagiarism detector program needs to convert a MSWord document into a text file and then read the texts in the text file. I've done the converting part already and now my problem is I wanna know how I can have my program pick up a text file from a folder and read it...and then after it has finished reading the text, it goes to the next text file in the folder and repeat the process of reading, and this goes on until it has finished reading all the text files from the folder.
Also, as my program reads the texts in the text files, it'll need to search for the phrases, for example a 2-word phrase, on google. I've decided to do this by searching using a google search URL like, http://www.google.com/search?q=Hello+world
, and then downloading the relevant Google search results with URLDownloadToFile (I also have written this part already), and parse the results as a string. My problem here is that I dont know how to write the google search URL part, like I have problems inserting the text read into the query part of the Google search URL.
So, that's my problem...and I hope someone would be able to help me out.
0 · ·