我正在尝试使用Microsoft Academic Search API按标题查找文章。事实上,我有一系列测试标题,例如“轮椅导航增强的情绪检测”,我知道一篇文章恰好出现过一次,它没有出现在 API 结果中。
这是 URL 调用:
https://api.projectoxford.ai/academic/v1.0/evaluate?expr=Ti='Emotion detection for wheelchair navigation enhancement'&model=latest&count=1&offset=0&attributes=Ti,Y,AA.AfN,C.CN,J.JN,E
这是相关的 HTTP 请求:
GET https://api.projectoxford.ai/academic/v1.0/evaluate?expr=Ti='Emotion detection for wheelchair navigation enhancement'&model=latest&count=1&offset=0&attributes=Ti,Y,AA.AfN,C.CN,J.JN,E HTTP/1.1
Host: api.projectoxford.ai
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
这些是我得到的结果:
apim-request-id: 1e0501f9-6398-4bd1-8a3d-36bff155bdd2
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Date: Fri, 18 Nov 2016 16:58:15 GMT
X-Powered-By: ASP.NET
Content-Length: 90
Content-Type: application/json
{
"expr": "Ti='Emotion detection for wheelchair navigation enhancement'",
"entities": []
}