当使用超过 1 时,相关分数参数似乎不起作用。换句话说...我基本上希望获得概念和关键字都是相关分数=> 0.8的广告的广告文章。此外,使用相关性得分 =>0.8 的广告分类。这是查询,我将参数分开以便于阅读。
https://access.alchemyapi.com/calls/data/GetNews?apikey=APIKEY&start=now-7d&end=now&outputMode=json&return=enriched.url.url,enriched.url.title,enriched.url.taxonomy,enriched.url.keywords,enriched.url.concepts
&q.enriched.url.concepts.concept.text=advertising
&q.enriched.url.concepts.concept.relevance=>0.8
&q.enriched.url.taxonomy.taxonomy_.label=business and industrial/advertising and marketing/advertising
&q.enriched.url.taxonomy.taxonomy_.score=>0.8
&q.enriched.url.keywords.keyword.text=advertising
&q.enriched.url.keywords.keyword.relevance=>0.8
&q.enriched.url.title=O-[jobs^job]
&q.enriched.url.title=O-[careers^career]
&q.enriched.url.title=O-[cv^resume]
&dedup=1
&rank=high^medium
我收到“enriched.url.concepts.concept.text=advertising”的文章结果,相关性得分低于“0.8”和/或“enriched.url.taxonomy.taxonomy_.label=business and industrial/advertising and marketing” /advertising”,相关性得分低于“0.8”。例如,结果中的文章“最大化用户广告体验的 4 条提示”非常出色,因为它满足了需要相关性得分的所有 3 个参数(例如,相关性得分 >=0.8)。
"concepts": [
"relevance": 0.974825978,
"text": "Advertising"
},
"keywords": [
{
"knowledgeGraph": {
"typeHierarchy": "/services/mobile advertising"
},
"relevance": 0.910649002,
"sentiment": {
"mixed": 0,
"score": 0,
"type": "neutral"
},
"text": "mobile advertising"
}
"taxonomy": [
{
"confident": "",
"label": "/business and industrial/advertising and marketing/advertising",
"score": 0.991141975
}
但是,这是大多数结果的示例,它不符合相关分数或仅符合其中一个相关分数:
"concepts": [{
"relevance": 0.447964013,
"text": "Advertising"
}
"keywords": [{
"knowledgeGraph": {
"typeHierarchy": "/people/users/third parties/advertisers"
},
"relevance": 0.623048007,
"sentiment": {
"mixed": 1,
"score": -0.291121989,
"type": "negative"
},
"text": "advertisers"
}
"taxonomy": [
{
"confident": "no",
"label": "/business and industrial/advertising and marketing/advertising",
"score": 0.345863998
}
我最终希望查询只返回满足所有 3 个条件的第一个示例的结果(例如,相关性分数 > = 0.8)。有人可以调查一下吗?查询有问题吗?谢谢!