Repository navigation
Conversation
…Explorer Addresses programminghistorian#3860 with targeted guidance updates that keep the lesson's approach: - Add an update notice that lists the changes and the tool versions used to check the commands. - Replace the Windows 10 / Ubuntu 18.04 WSL steps with `wsl --install`, the obsolete Homebrew installer with the current one, and the Ubuntu 18.04 instructions with current Ubuntu LTS. Install only the English Tesseract data and explain how to add other languages. - Never overwrite source PDFs: OCRmyPDF, pdftotext and pdfimages now write to separate `ocr/`, `text/` and `images/` folders with predictable file names. - Use `--skip-text` for batch OCR, since OCRmyPDF aborts on pages that already contain text by default. Drop `--clean` from the default commands, explain that it needs unpaper, and mention `--redo-ocr` and `--force-ocr` for bad text layers. - Restrict the grep examples to the `text/` folder. - Use ImageMagick 7's `magick` command and explain the `convert` fallback and the img2pdf workaround for the PDF security policy. - Replace the ILO download one-liner with a readable loop that reports the file count, fails loudly, can resume, and points to Zenodo. - Replace DARIAH Topics Explorer with Simple Topic Modeling (https://maehr.github.io/simple-topic-modeling/): NMF with TF-IDF as the default, LDA as an option, stop words, random seed, diagnostics, and repeatable runs through config.json. Remove the DARIAH screenshot. - Update the WSL, grep and topic-model references. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018k44PqSnqQ4gfSwQHwq2E9
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Author
|
@anisa-hawes, thanks for reviewing this PR. As you can see, I used Claude (Opus 5.5/High) for assistance. I hope this is okay with you and with the Programming Historian's AI rules. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #3860.
The lesson still contains outdated installation instructions, batch commands that reuse source filenames, and a DARIAH Topics Explorer walkthrough. This draft updates those instructions while preserving the PDF → OCR → text extraction → corpus analysis workflow.
Changes
--skip-text,--redo-ocrand--force-ocr, including the incompatibility between redoing OCR and deskewing, and make--cleanoptional.magickcommand, the ImageMagick 6 fallback and theimg2pdfworkaround.config.jsonso readers can repeat the example.Validation
git diff --check.Before this draft is ready
2.0.0a0.