-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance
pdfminer
element cleanup (#3593)
This PR aims to expand removal of `pdfminer` elements to include those inside all `non-pdfminer` elements, not just `tables`. --------- Co-authored-by: ryannikolaidis <[email protected]> Co-authored-by: christinestraub <[email protected]>
- Loading branch information
1 parent
d51fb13
commit acd070c
Showing
5 changed files
with
9 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3595,133 +3595,9 @@ | |
} | ||
} | ||
}, | ||
{ | ||
"type": "Image", | ||
"element_id": "b0197950e1af5c2aac10f5b67d61524a", | ||
"text": "", | ||
"metadata": { | ||
"filetype": "application/pdf", | ||
"languages": [ | ||
"eng" | ||
], | ||
"page_number": 8, | ||
"data_source": { | ||
"url": "https://drive.google.com/uc?id=1m1TUgyLv0hHdlsuL7DOWBAKQtvrhWNiV&export=download", | ||
"record_locator": { | ||
"file_id": "1m1TUgyLv0hHdlsuL7DOWBAKQtvrhWNiV" | ||
}, | ||
"date_created": "1718723636.34", | ||
"date_modified": "1676196572.0", | ||
"permissions_data": [ | ||
{ | ||
"id": "18298851591250030956", | ||
"displayName": "[email protected]", | ||
"type": "user", | ||
"kind": "drive#permission", | ||
"photoLink": "https://lh3.googleusercontent.com/a/ACg8ocJok2KRwwYvrEDkeZVCYosHOMoa52GZa2qIIC1jScCRoFLHaQ=s64", | ||
"emailAddress": "[email protected]", | ||
"role": "writer", | ||
"deleted": false, | ||
"pendingOwner": false | ||
}, | ||
{ | ||
"id": "04774006893477068632", | ||
"displayName": "ryan", | ||
"type": "user", | ||
"kind": "drive#permission", | ||
"photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjXeWpu7QcZuYqIl3p1mwqzS8XGFJ4RqA3Xjljfkm1DcFZ9M7A=s64", | ||
"emailAddress": "[email protected]", | ||
"role": "writer", | ||
"deleted": false, | ||
"pendingOwner": false | ||
}, | ||
{ | ||
"id": "anyoneWithLink", | ||
"type": "anyone", | ||
"kind": "drive#permission", | ||
"role": "reader", | ||
"allowFileDiscovery": false | ||
}, | ||
{ | ||
"id": "09147371668407854156", | ||
"displayName": "roman", | ||
"type": "user", | ||
"kind": "drive#permission", | ||
"photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjWoGrFCgXcF6CtiBIBLnAfM68qUnQaJOcgvg3qzfQ3W8Ch6dA=s64", | ||
"emailAddress": "[email protected]", | ||
"role": "owner", | ||
"deleted": false, | ||
"pendingOwner": false | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "Image", | ||
"element_id": "34d2dd4af420ea3fdddc8fc5d581cac2", | ||
"text": "", | ||
"metadata": { | ||
"filetype": "application/pdf", | ||
"languages": [ | ||
"eng" | ||
], | ||
"page_number": 8, | ||
"data_source": { | ||
"url": "https://drive.google.com/uc?id=1m1TUgyLv0hHdlsuL7DOWBAKQtvrhWNiV&export=download", | ||
"record_locator": { | ||
"file_id": "1m1TUgyLv0hHdlsuL7DOWBAKQtvrhWNiV" | ||
}, | ||
"date_created": "1718723636.34", | ||
"date_modified": "1676196572.0", | ||
"permissions_data": [ | ||
{ | ||
"id": "18298851591250030956", | ||
"displayName": "[email protected]", | ||
"type": "user", | ||
"kind": "drive#permission", | ||
"photoLink": "https://lh3.googleusercontent.com/a/ACg8ocJok2KRwwYvrEDkeZVCYosHOMoa52GZa2qIIC1jScCRoFLHaQ=s64", | ||
"emailAddress": "[email protected]", | ||
"role": "writer", | ||
"deleted": false, | ||
"pendingOwner": false | ||
}, | ||
{ | ||
"id": "04774006893477068632", | ||
"displayName": "ryan", | ||
"type": "user", | ||
"kind": "drive#permission", | ||
"photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjXeWpu7QcZuYqIl3p1mwqzS8XGFJ4RqA3Xjljfkm1DcFZ9M7A=s64", | ||
"emailAddress": "[email protected]", | ||
"role": "writer", | ||
"deleted": false, | ||
"pendingOwner": false | ||
}, | ||
{ | ||
"id": "anyoneWithLink", | ||
"type": "anyone", | ||
"kind": "drive#permission", | ||
"role": "reader", | ||
"allowFileDiscovery": false | ||
}, | ||
{ | ||
"id": "09147371668407854156", | ||
"displayName": "roman", | ||
"type": "user", | ||
"kind": "drive#permission", | ||
"photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjWoGrFCgXcF6CtiBIBLnAfM68qUnQaJOcgvg3qzfQ3W8Ch6dA=s64", | ||
"emailAddress": "[email protected]", | ||
"role": "owner", | ||
"deleted": false, | ||
"pendingOwner": false | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "FigureCaption", | ||
"element_id": "a8ac039aa1d77ac96ecd4c8c14a556d5", | ||
"element_id": "7803862f2804d04dfe8c38c4a353001d", | ||
"text": "Equally, it is well established that living without access to electricity results in illness and death around the world, caused by everything from not having access to modern healthcare to household air pollution. As of today, 770 million people around the world do not have access to electricity, with over 75% of that population living in Sub-Saharan Africa. The world's poorest 4 billion people consume a mere 5% of the energy used in developed economies, and we need to find ways of delivering reliable electricity to the entire human population in a fashion that is sustainable. Household and ambient air pollution causes 8.7 million deaths each year, largely because of the continued use of fossil fuels. Widespread electrification is a key tool for delivering a just energy transition. Investment in nuclear, has become an urgent necessity. Discarding it, based on risk perceptions divorced from science, would be to abandon the moral obligation to ensure affordable, reliable, and sustainable energy for every community around the world.", | ||
"metadata": { | ||
"filetype": "application/pdf", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.15.10-dev2" # pragma: no cover | ||
__version__ = "0.15.10-dev3" # pragma: no cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters