Skip to content

TypeError in Parser configuration in hardware/max_storage_temp_tutorial.ipynb #84

@bhatiaa1

Description

@bhatiaa1

Describe the bug
Running the hardware/max_storage_temp_tutorial.ipynb results in an error during parser configuration step on line
corpus_parser = Parser(session, structural=True, lingual=True, visual=True, pdf_path=pdf_path) %time corpus_parser.apply(doc_preprocessor, parallelism=PARALLEL)

Tried to resolve the error by changing visual=True to visual_parser=True, but then a new Type Error pops up on pdf_path.

Error Logs/Screenshots

TypeError Traceback (most recent call last)
/tmp/ipykernel_120432/1896064779.py in
----> 1 corpus_parser = Parser(session, structural=True, lingual=True, visual=True, pdf_path=pdf_path)
2 get_ipython().run_line_magic('time', 'corpus_parser.apply(doc_preprocessor, parallelism=PARALLEL)')

TypeError: init() got an unexpected keyword argument 'visual'

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • PostgreSQL Version: 13.3
  • Poppler Utils Version: 0.86.1
  • Fonduer Version: 0.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions