GithubHelp home page GithubHelp logo

pdf2table's Introduction

PDF解析基础学习

内容:

  1. extraction_tools_summary.ipynb
  • 简单列举一些从PDF中提取/读取文档的方法以及他们的试用情况:pdfplumber,pdfminer,PyPDF2最后选取了PyPDF2来继续试验,中间也有尝试用pattern match tool re 表格的正则来提取,但效果不佳
  • 从PDF中提取所有图片,并保存为image{index}.jpeg
  1. extract_chapter_content.ipynb
  • 从PDF中使用pdf2c提取所有的章节(包含子章节)名和他们的所在页码(table of content)
  • 利用某一个想要查询的章节名,函数可以返回当前选中章节的所在页内容,包含前章节和后章节的部分内容
  1. extract_chapter_content.py

type: sreach() 复制粘贴任意章节名,回车确认

pdf2table's People

Contributors

ml5376 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.