Project Description:
We are lookin to create a database of linked sentence structures that have the same meaning.
For example,
"All Hourly projects now have the option to use the Freelancer TimeTracker application."
"You have the option to use Freelancer TimeTrack application for all your hourly projects."
"You have the option for all your hourly projects to use Freelancer TimeTrack application ."
The above three sentences have the same meaning.
Given that the above sentences is entered into the database(of course in a special format), I want a PHP function that recognizes "All iPhone 6 now have the option to use the newly implemented 4G Connection." and returns the other two linked setences: "You have the option to use the newly implemented 4G Connection for for your iPhone 6" and "You have the option for your iPhone 6 to use the newly implented 4G Connection"
The solution should be robust and efficient, meaning that it can have 100k sets of sentences and be able to go through a block of text efficiently.
We also have a dictionary database containing general information of english word which might by handy for some sort of language operation.
Your job is to tell me exactly how I should build this database to achieve the functions above. There is no need for implementation for now.