Base
PDFParserBase
Source code in Docs2KG/parser/pdf/base.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
__init__(pdf_file, output_dir=None)
Initialize the class with the pdf file
Parameters:
Name | Type | Description | Default |
---|---|---|---|
pdf_file |
Path
|
The path to the pdf file |
required |
output_dir |
Path
|
The path to the output directory, default is None, will be default to DATA_OUTPUT_DIR |
None
|
Source code in Docs2KG/parser/pdf/base.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|