-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Add feature: support modify language.
2. Add python package pdfminer.six 3. Decouple API and plugins.
- Loading branch information
Showing
8 changed files
with
112 additions
and
156 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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from pdfminer.high_level import extract_text | ||
text = extract_text('/Users/yanyuming/Library/Mobile Documents/iCloud~QReader~MarginStudy/Documents/论文/VersatileGait- A Large-Scale Synthetic Gait Dataset with Fine-Grained Attributes and Complicated Scenarios.pdf') | ||
# print(repr(text)) | ||
print(text) | ||
|
||
# from io import StringIO | ||
# from pdfminer.high_level import extract_text_to_fp | ||
# from pdfminer.layout import LAParams | ||
# output_string = StringIO() | ||
# with open('/Users/yanyuming/Desktop/Gait review.pdf', 'rb') as fin: | ||
# extract_text_to_fp(fin, output_string, laparams=LAParams(), | ||
# output_type='html', codec=None) | ||
# print(output_string.getvalue().strip()) | ||
|
||
# from io import StringIO | ||
# from pdfminer.high_level import extract_text_to_fp | ||
# output_string = StringIO() | ||
# with open('/Users/yanyuming/Library/Mobile Documents/iCloud~QReader~MarginStudy/Documents/论文/VersatileGait- A Large-Scale Synthetic Gait Dataset with Fine-Grained Attributes and Complicated Scenarios.pdf', 'rb') as fin: | ||
# extract_text_to_fp(fin, output_string) | ||
# print(output_string.getvalue().strip()) |
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
Oops, something went wrong.