V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
okface
V2EX  ›  Python

论文里面的 introduction 和 conclusion 抽取

  •  
  •   okface · 2019-12-20 16:43:20 +08:00 · 2569 次点击
    这是一个创建于 1602 天前的主题,其中的信息可能已经有所发展或是发生改变。
    pdf 转 txt 之后,需要抽取简介和结论两部分内容。
    除了正则,有什么好的办法吗?
    1 条回复    2019-12-20 17:32:07 +08:00
    xupefei
        1
    xupefei  
       2019-12-20 17:32:07 +08:00 via iPhone
    如果论文是双栏的,那准确度做不到 100%吧。
    有时候 pdf 看起来是双栏,其实文本区域是在一起的。

    如果有 latex 源码的话,可以用正则抽,准确度 100%。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3270 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:52 · PVG 21:52 · LAX 06:52 · JFK 09:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.