Results 1 to 3 of 3
Thread: Text comparison script
Oct 8, 2002, 15:16 #1
Text comparison script
Not sure if this is the right forum or not but here goes anyway.
I have a few paragraphs of text as the "Initial Value" in a form text field. This is a test for new freelance editors. The user must correct mistakes and make changes to the text and submit it. At this point I want the submitted text to be compared to the "Answer Key" text and the results returned to the user in the form of a percentage mark.
Is there another way to achieve the end result of a score for the test being returned to the user?
Oct 10, 2002, 05:30 #2
- Join Date
- Jun 2000
- Sydney, Australia
- 0 Post(s)
- 0 Thread(s)
Re: Text comparison scriptOriginally posted by boballoo
according to parameters set by me?
It also depends on whether you want to learn how to do this for future maintenance and to broaden your skill-set.
In PHP you have two functions that might meet your straight from the API without too much mucking about.
which is based on Oliver  algorithm (whatever that is).
Oct 10, 2002, 07:00 #3
Thanks for your input.
After doing a little research into the problem I have come to the conclusion that it is much too complex for my tiny brain. The variables needed become infinite with just a short passage and I was looking at two pages worth. This becomes an artificial intelligence problem which cannot be solved yet, at least not perfectly. I am not into making my marking procedures so complex I can't understand them.
A better solution would be to use multiple choice questions - easier to create and easier to automatically ckeck and score. That's what I am doing now.