有没有人听说过概念扩展服务的替代品?

时间:2016-04-09 23:17:53

标签: ibm-cloud ibm-watson

过去几个月我一直在学习IBM Watson服务和Bluemix。我之前看过Concept Expansion服务,但是当我回到描述此服务的page时,我发现IBM发出的消息是该服务被撤销: Announcement that the Concept Expansion Service is being withdrawn 有没有人看到或听说过IBM建议或提供的替代或替代?

1 个答案:

答案 0 :(得分:0)

最接近的等价物是Concept Insights。它的工作原理是在语料库中制作概念图,每个概念在该图中都有一条路径。许多Concept Insights API用于搜索文本文档,但您可以使用related_concepts endpoint扩展概念。例如,以下与IBM Watson和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"

返回:

{
  "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"
      }
    }
  ]
}

将其提炼为“商业智能”和“数据模型”。