|All requests||>||hunspell synonym||>||Request new recommendation||>||Featured requests||>||No recommendations|
by soumendu - 4 years ago (2014-12-09)
How to get synonym using Hunspell in PHP?
1. by Manuel Lemos - 4 years ago (2014-12-14) Reply
It seems hunspell is a package available in some other site.
I don't know of any package that can obtain synonyms just by itself. It would probably require a database of synonyms in the language of the words you want to check.
Maybe it is easier to use an existing API that can provide you synonyms.
This class can give you synonyms and antonyms of words in any language depending on the dictionary file you supply it. It currently supports the English Language. You can also use it to determine if a word is a valid (correctly spelt) one, check if its a palindrome and also use it to parse sentences into an array of words that can be processed individually