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.