Dear inyobus,
I am very glad to provide you an innovative solution for file spinner script, and will use PHP technology as you have mentioned it as one of the required skills, and prefer to work with CSV, and you will get with the project a large list of synonyms compiled from Wikimedia.
Best Regards,
Rose Office