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

Lexically match reproschema protocol to RedCap pdfs #75

Open
ibevers opened this issue Jul 31, 2024 · 0 comments
Open

Lexically match reproschema protocol to RedCap pdfs #75

ibevers opened this issue Jul 31, 2024 · 0 comments

Comments

@ibevers
Copy link
Contributor

ibevers commented Jul 31, 2024

This script extracts text from all PDF files (e.g. Bridge2AI RedCap) in a directory and saves it to an output file. It then finds specified fields ('question', 'preamble', 'name') in JSON files within another directory (e.g. ReproSchema version of Bridge2AI protocol). The script checks these fields against the extracted PDF text, values that are present in the text, saves the filtered results to a new JSON file, and prints the filtered values.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant