synonyms offline Dictionary for a search applicati

2019-07-28 22:23发布

问题:

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.