Giter Club home page Giter Club logo

abstractsextractor's Introduction

Abstracts Extractor

Extract and process abstracts from emails labeled as "Papers" in your Gmail account, and get them cleaned up using the power of gpt-3.5-turbo.

Table of Contents

  1. Features
  2. Setup and Installation
  3. Usage
  4. Contribution
  5. License

Features

  • Automated Email Fetching: Fetches emails from Gmail labeled as "Papers".
  • Abstract Extraction: Extracts abstracts from these emails for consolidated reading.
  • Natural Language Processing: Uses gpt-3.5-turbo to process and clean up the abstracts.
  • Consolidated Output: Saves cleaned abstracts to a file.

Setup and Installation

Requirements Installation

To set up and run the project locally:

  1. Clone this repository:
git clone https://github.com/AlefAlfa/AbstractsExtractor.git
cd AbstractsExtractor
  1. Install the required packages:
pip install -r requirements.txt

GCP Project & Authentication

Before you can fetch emails, you need to authenticate with your Gmail using OAuth2. Follow these steps:

  1. Go to the Google Cloud Platform Console.
  2. Create a new project.
  3. Enable the Gmail API for your project.
  4. Setup OAuth2 credentials.
  5. Download the credentials.json and place it in the root directory of this project.
  6. For a detailed step-by-step tutorial on these, you can refer to this guide.

Usage

Once set up, you can run the main script to fetch, extract, and process abstracts:

python main.py

The cleaned abstracts will be saved in an output file in the project directory.

Contribution

Feel free to fork this project and make any contributions you think will benefit the project. Pull requests are warmly welcome.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Thank you for using or contributing to this project!

abstractsextractor's People

Contributors

alefalfa avatar

Watchers

 avatar

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.