问题
i'm trying to build a smart search engine application that gets synonyms of the words in the Question and Query my database with each of the generated synonyms
the problem is that i'm searching for a way to get all synonyms of the words in the Question using a dictionary or something. that could in the end offers 1- direct synonyms like : file > movie , football > soccer 2- could offer a matchstring like : population size > number of citizens (optional ) 3- something that is fast and reliable . prefered to be hosted offline not an API for a service
i explored :
- WordNet but the problem is that it takes a lot of time due to that it's used online
- Watson synonyms not very efficient , and it takes a lot of , (api to an online service )
i wonder if there are some other efficient alternatives
回答1:
You could use WordNet offline.
来源:https://stackoverflow.com/questions/9684877/synonyms-offline-dictionary-for-a-search-application