Giter VIP home page Giter VIP logo

leyiwang / nlp_research Goto Github PK

View Code? Open in Web Editor NEW
48.0 5.0 21.0 25 KB

The Research Spider for Anthology. This toolkit can automatically grab the papers information by given keywords in title. You can set the search params: the conference, publication date and the keywords in title . Then it will automatically save these papers' title, authors, download link, Google Scholar cited number and abstracts information in a Excel file.

Python 100.00%

nlp_research's Introduction

Spider

A toolkit for NLP researchers, which used to automatically grab papers' info.

Research Spider for Anthology v0.5

Introduction

This toolkit can automatically grab the papers information by given keywords in title.

You can set the search params: the conference, publication date and the keywords in title . Then it will automatically save these papers' title, authors, download link, Google Scholar cited number and abstracts information in a 'Excel' format file.

Usage

  • Parameters and Setting:

    Config parameters in the script research_spider.py

    Parameters Setting Description
    published year years = (2013, 2016) years from 2013 to 2016
    keywords keywords = ['lexicon', 'dictionary', 'lexical'] keywords
    conferences events = ['ACL', 'CL', 'COLING', 'EACL', 'EMNLP', 'LREC', 'NAACL'] conferences
  • configure file You can config the spider mode and google scholar website url in the configure file conf/conf.ini.

    • This toolkit support two mode, selenium and requests, and default mode is selenium.
    • We can not access Google Scholar website in China, so i use a mirror website.

The selenium mode is recommended for use. Please download chromedriver and install the chrome browser to use the selenium mode. You can download the chromedriver from mirror website. Make sure your chromedriver version is consistent with your chrome browser.

ChromeDriver 76.0.3809.12 (2019-06-07)---------Supports Chrome version 76
ChromeDriver 75.0.3770.8 (2019-04-29)---------Supports Chrome version 75
  • Usage

    python3 research_spider.py

Contibutor

Author: wang leyi

Email: [email protected]

Blog:https://leyiwang.github.io/

Change History

Date: Last update 2019-08-22 Description:

  1. Refactor code to adapt changes of Anthology
  2. Add the selenium mode to accelerate the efficiency and improving the stability of spider

Date: Update 2019-04-16 Description: Refactor code to adapt to Anthology site style changes

Date: Update 2017-05-02 Description: Fix the invalid bug for the second bit of 0 for the year.

Data: Update 2016-12-22

Date: Update 2016-11-5

nlp_research's People

Contributors

dependabot[bot] avatar leyiwang avatar taoztw avatar wangleyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nlp_research's Issues

关于 links 的报错问题

我运行时碰到了 links = map(lambda x: x.xpath(self.anthology_xpath_dict["links_node"])[0],
IndexError: list index out of range 的问题,可能因为有些paper没有link,所以我在lambda里加了个判断(links = map(lambda x: x.xpath(self.anthology_xpath_dict["links_node"])[0] if x.xpath(self.anthology_xpath_dict["links_node"]) else None,papers_nodes)
,希望及时更新下代码

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.