我正在尝试使用Microsoft Academic Search API按标题查找文章。实际上,我有一系列测试标题,例如,I know appears precisely once文章“用于轮椅导航增强的情感检测”,它没有出现在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": []
}

最佳答案

使用Ti参数时,应将所有文本都小写并删除所有特殊字符。

您应使用E.DN参数(扩展的元数据属性)(即“纸张的显示名称”)来获得纸张的全名(带有大写和特殊字符)。

https://docs.microsoft.com/en-us/azure/cognitive-services/academic-knowledge/paperentityattributes#extended-metadata-attributes

07-24 20:56