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

GPT OCR followup #148

Merged
merged 16 commits into from
Oct 27, 2024
Merged

GPT OCR followup #148

merged 16 commits into from
Oct 27, 2024

Conversation

danvk
Copy link
Owner

@danvk danvk commented Oct 27, 2024

Addresses most of #147; follow-up to #146

  • Moves OCR cleaning into ingest.py
  • More aggressive removal of "Negative No. ..." lines
  • Strip/break interior whitespace
  • Break up numbered lists on a single line
  • Strip various low-information stamps:
    • F. S. LINCOLN
    • NEW YORK PUBLIC LIBRARY
    • President Borough of Manhatta/en
  • Run OCR cleaner on old site OCR, too. (Strips negative numbers, credit line imperative, etc.)

These affected the OCR shootout results, so I went ahead and updated those, too.

@danvk danvk marked this pull request as ready for review October 27, 2024 19:21
@danvk danvk merged commit 5159091 into master Oct 27, 2024
4 checks passed
@danvk danvk deleted the gpt-ocr-followup branch October 27, 2024 19:27
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.

1 participant