Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bhatiaa1 opened this issue Aug 5, 2021 · 0 comments

Comments

@bhatiaa1
Copy link

bhatiaa1 commented Aug 5, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant