How to compare a sentence from a file with links obtained from the internet
Hello,
I wanted to know how do we compare a sentence from a file with links obtained from the internet.
I have already done the following things:
1. Upload a file
2. File is stored on hard disk
3. Use the file
4. Read the file
5. Extract the sentences
6. Send them to google
7. Return the links (results)
Now , i want to compare the sentences with the links obtained so as to determine plagiarism.
i.e if the sentence matches the link exactly
then plagarism
store those links
else no plagiarism
discard the other links
Can anyone help plz? Provide some ideas of how to implement this part.
Best Regards,
Natasha