Possible Duplicate:
LSA - Latent Semantic Analysis - How to code it in PHP?
I have an application that takes random inputs of attribute, type of object, and color of object (all in text written form) in no particular sequence.
The inputs must be validated and confirmed. Are there any algorithms or scripts for semantic matching available in PHP that can accomplish this task?