Skip to content

Commit

Permalink
Draft body extraction script.
Browse files Browse the repository at this point in the history
Maybe move to RepSeP. Some journals seem to require it.
  • Loading branch information
TheChymera committed Jan 24, 2024
1 parent 840e5a1 commit 41ae4a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions publishing/extract_text.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from pdfminer.high_level import extract_text

text = extract_text('article.pdf')
with open('article.pdf','rb') as f:
text = extract_text(f)
print(text)

0 comments on commit 41ae4a8

Please sign in to comment.