Has anyone heard about a replacement for the Concept Expansion service? [closed]

谁说胖子不能爱 提交于 2019-12-14 00:58:05

问题


I have been learning about the IBM Watson services and Bluemix over the last few months. I had previously looked at the Concept Expansion service but when I returned to the page where this service is described, I found the message from IBM that this service was being withdrawn: Has anyone seen or heard of an alternative or replacement being suggested or offered by IBM?


回答1:


The closest equivalent is Concept Insights. It works by making graphs of concepts in a corpus, with each concept having a path within that graph. Many of the Concept Insights APIs are for searching text documents, but you can use the related_concepts endpoint to expand a concept. For example, the following queries concepts related to IBM Watson and Business:

curl -u "{username}":"{ci-password}" -G -d "concepts=[\"/graphs/wikipedia/en-latest/concepts/IBM_Watson\",\"/graphs/wikipedia/en-latest/concepts/Business\"]&level=1&limit=2" "https://gateway.watsonplatform.net/concept-insights/api/v2/graphs/wikipedia/en-latest/related_concepts"

returns this:

{
  "concepts": [
    {
      "score":0.7795701,
      "concept": {
        "id":"/graphs/wikipedia/en-20120601/concepts/Business_intelligence",
        "label":"Business intelligence"
      }
    },
    {
      "score":0.7564283,
      "concept": {
        "id":"/graphs/wikipedia/en-20120601/concepts/Data_model",
        "label":"Data model"
      }
    }
  ]
}

which distills down to "Business Intelligence" and "Data model".




回答2:


Concept Insights is retired. I am now using AlchemyLanguage and this is working adequately for my needs.



来源:https://stackoverflow.com/questions/36523864/has-anyone-heard-about-a-replacement-for-the-concept-expansion-service

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