예제 #1
0
파일: engine.py 프로젝트: lxb1991/neukg
def get_topic(topic):
    """
    由 topic 获取论文信息
    :param topic: 论文关键词
    :return: 有数据就返回 paper 信息
    """
    return DBHandler.get_paper_data(SQL.PAPER.format(topic=topic))
예제 #2
0
파일: engine.py 프로젝트: lxb1991/neukg
def get_paper(topic):
    """
    获取 paper more信息
    :param topic:
    :return:
    """
    return DBHandler.get_paper_data(SQL.MORE_PAPER.format(topic=topic))
예제 #3
0
파일: engine.py 프로젝트: lxb1991/neukg
def get_researcher(name):
    """
    由 科研人员 获取论文信息
    :param name: 科研人员姓名
    :return: 有数据就返回 paper 信息
    """
    return DBHandler.get_paper_data(SQL.RESEARCHER.format(name=name))