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

Highlighted text get appended with word SELECTED in ouput #167

Open
sawasume opened this issue Oct 31, 2023 · 1 comment
Open

Highlighted text get appended with word SELECTED in ouput #167

sawasume opened this issue Oct 31, 2023 · 1 comment
Labels
enhancement New feature or request python Relates to the Python version of TRP

Comments

@sawasume
Copy link

Textract response library appends the text SELECTED when something is highlighted in the text
shown below are the example
The original doc

doc_og

This is how the output looks like

selected_Capture

Code to generate the above output

code-print
@schadem
Copy link
Contributor

schadem commented Oct 31, 2023

Looks like checkbox/marked identification from checkbox model, which is part of TABLES and FORMS. Those are printed out as part of the rendering when available. No parameter right now to turn them off unfortunately. Workaround could be to filter the SELECTION_ELEMENTS out in the JSON before sending to trp, till we make a param available.

@schadem schadem added the enhancement New feature or request label Oct 31, 2023
@athewsey athewsey added the python Relates to the Python version of TRP label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Relates to the Python version of TRP
Projects
None yet
Development

No branches or pull requests

3 participants