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

Add x_tolerance_ratio param to extract_text and similar functions #1037

Closed
wants to merge 4 commits into from

Conversation

afriedman412
Copy link
Contributor

Fix #987 (partially)

Passing x_tolerance_ratio to extract_text() and any other function that relies on WordExtractor will use the ratio * text size to determine where words begin and end. Overrides the x_tolerance param.

There is room to build out y_tolerance_ratio too, if need be in the future!

@jsvine jsvine changed the base branch from stable to develop November 1, 2023 19:50
@afriedman412 afriedman412 deleted the stable2 branch November 4, 2023 20: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.

For text extraction, add fractional versions of x/y_tolerance arguments
1 participant