How to compare text in perl or php?

GregMason

New member
I have a master Text and several variations. How would I go about comparing the master to the variation and come up with a percentage to say variation A is 95% the same as the master text? Any ideas will help. Do I loop through sentences or words or what? The reason is that I have over 20 texts that need to go into a database. While the texts can have the same title, they should have different content. So how do I compare text? I plan on using either perl or php
 
Back
Top