Skip to content

Commit

Permalink
fix typo and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathgs committed Jul 21, 2022
1 parent 9282df6 commit 4562cf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ Now let's look at how to extract tables from a document using the ``ocrpy.parser
DOC_PATH = '../documents/example_document_with_table.pdf' # path to an image or pdf file on s3 bucket, gcs bucket or local directory.
AWS_CREDENTIALS = ".credentials/aws-credentials.env" # path to the aws credentials file.
reader = DocumentReader(file=DOC_PATH)
table_parser = TableParser(credentials=AWS_CREDENTIALS)
parsed_table = table_parser.parse(DOC_PATH, attempt_csv_conversion=False)
parsed_table = table_parser.parse(reader, attempt_csv_conversion=False)
.. note:: ``ocrpy`` currently supports table extraction only with the ``aws-textract`` parser backend.
Support for other parser backends will be added soon.
Expand Down
2 changes: 1 addition & 1 deletion ocrpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.7"
__version__ = "0.3.8"

import warnings

Expand Down

0 comments on commit 4562cf8

Please sign in to comment.