Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superstar54/pyliterature
A Pythonic wrapper for the scientific journal, including Nature, Science, ScienceDirect, Wiley, ACS publication, RSC publication and so on.
https://github.com/superstar54/pyliterature
Last synced: about 2 months ago
JSON representation
A Pythonic wrapper for the scientific journal, including Nature, Science, ScienceDirect, Wiley, ACS publication, RSC publication and so on.
- Host: GitHub
- URL: https://github.com/superstar54/pyliterature
- Owner: superstar54
- License: mit
- Created: 2017-01-12T20:33:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T19:07:59.000Z (almost 5 years ago)
- Last Synced: 2024-10-04T13:31:22.148Z (3 months ago)
- Language: Python
- Size: 81.1 KB
- Stars: 19
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### pyliterature
A Python web wrapper and text mining package for the scientific journal, including Nature, Science, ScienceDirect, Wiley, ACS publication, RSC publication and so on.### Author
* Xing Wang### Dependencies
* Python3
* selenium
* beautifulsoup4
* nltk#### Examples
```python
from pyliterature import Pyliterature
url = 'http://www.nature.com/nature/journal/v541/n7635/full/nature20782.html'
keyword = 'DFT'
liter = Pyliterature(url, keyword)
liter.parser()
for keysent in liter.keysents:
print(keysent)
print('\n')
```If you want to add features/improvement or report issues, feel free to send a pull request!
### TODO
* read bib list
* determine sentence from which article