Py学习  »  Python

python-如何使scopes API只在摘要中搜索关键字

nbk • 2 年前 • 385 次点击  

我正在使用Python接口访问Scopus资源( link ),使用以下代码:

from elsapy.elsclient import ElsClient
from elsapy.elssearch import ElsSearch
import json

## Load configuration
con_file = open("config.json")
config = json.load(con_file)
con_file.close()

## Initialize client
client = ElsClient(api_key = config['apikey'], inst_token = config['Insttoken'])

## Initialize doc search object using Scopus and execute search, retrieving 
#   all results

doc_srch = ElsSearch("KEY(urban AND clustering) AND PUBYEAR > 2021",'scopus')
doc_srch.execute(client, get_all = True)

我理解 ElsSearch 搜索Scoups摘要中的关键字,而不是完整文档中的关键字。然而,我得到的结果不包含我的关键字摘要。

如何限制 ElsSearch 只在摘要中查找关键字?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/161229