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

[loaders] Include text from figures when all_texts=True #99

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

jstockwin
Copy link
Owner

@jstockwin jstockwin commented Jun 23, 2020

Description

When all_texts=True, PDFMiner.six extracts the text from figures, however these were not being included in our elements. This fixes that.

Linked issues

Closes #98

Testing

Tests have been added. Also documentation has been updated which includes a test to check the docs are correct.

Checklist

  • I have provided a good description of the change above
  • I have added any necessary tests
  • I have added all necessary type hints
  • I have checked my linting (docker-compose run --rm lint)
  • I have added/updated all necessary documentation
  • I have updated CHANGELOG.md, following the format from
    Keep a Changelog.

CHANGELOG.md Outdated Show resolved Hide resolved
@jstockwin
Copy link
Owner Author

@kawa-marcin PR updated

@jstockwin jstockwin requested a review from kawa-marcin June 23, 2020 13:36
Copy link
Collaborator

@kawa-marcin kawa-marcin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jstockwin jstockwin merged commit ab1d205 into master Jun 24, 2020
@jstockwin jstockwin deleted the all-texts branch June 24, 2020 14:33
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

Successfully merging this pull request may close these issues.

Include text which is within figures
2 participants