Git Product home page Git Product logo

pdfs-textextract's Introduction

PDFs-TextExtract

Python Multiple and Large PDF Documents Text Extraction - Python 3.7 Logo

Introduction

As a Data Scientist , You may not stick to data format.

PDFs is good source of data, most of the organization release their data in PDFs only. As AI is growing, we need more data for prediction and classification; hence, ignoring PDFs as data source for you could be a blunder.

As you know PDF Processing comes under text analytics.

Most of the Text Analytics Library or frameworks are designed in Python only, this gives a leverage on text analytics. You can never process a pdf directly in exising frameworks of Machine Learning or Natural Language Processing. Unless they are proving explicit interface for this, we have to convert pdf to text first.

Problematic

Most Python Liabiries for Pdf Processing such as PyPDF2 and Pdfminer.six perform in text extraction task, but this performance is limited to a small and simple PDF document.

That's why, PDFs-TextExtract project developed to extract text from multiple and large pdf documents.

Setup Environment

For use with MacOS X, the scripts will need to be modified to remove "/PDFs-TextExtract" from the path.

  • Step 1: Select Version of Python (Python 3.7) to Install from Python.org website.
  • Step 2: Download Python Executable Installer.
  • Step 3: Run Executable Installer.
  • Step 4: Verify Python Was Installed On Windows.
  • Step 5: Verify Pip Was Installed.
  • Step 6: Add Python Path to Environment Variables (Optional).
  • Step 7: Install Python extension for your IDE (Visual Studio Code).
  • Step 8: Now you’ll be able to execute python scripts with your IDE (Visual Studio Code).
  • Step 9: Execute Terminal command inside Python IDE : pip install pdfminer.six
  • Step 10: Execute Terminal command inside Python IDE : pip install PyPDF2

Usage

  • Step 1: Open ..\PDFs-TextExtract-master\samples folder and put your PDF Documents inside.
  • Step 2: Execute ..\PDFs-TextExtract-master\Scripts\merged.py script.
  • Step 3: Execute ..\PDFs-TextExtract-master\Scripts\spliter.py script.
  • Step 4: Execute ..\PDFs-TextExtract-master\Scripts\extract_text.py script.
  • Step 5: Open ..\PDFs-TextExtract-master\output and you will find the result there.

Resources

pdfs-textextract's People

Contributors

ahmedkhemiri95 avatar jainal09 avatar dependabot[bot] avatar

Watchers

James Cloos 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.