synonyms offline Dictionary for a search application

主宰稳场 提交于 2019-12-11 10:26:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!