PaperReview is a macOS app for teachers to review handwritten English essays. It transcribes handwriting, lets teachers check the transcript against the original, and performs basic language review. Suggestions are linked to their positions in the original text, teachers confirm how each one is handled, and assignments and review records are saved.
Recognition and review run entirely on the Mac, so student essays never leave the machine.
PaperReview focuses on basic English proofreading (spelling, grammar, punctuation, capitalization), not content-level scoring. Model output is a suggestion; teachers should confirm the final result.
Features
- Assignment recognition: import essay photos in JPEG, PNG, HEIC or TIFF, with support for single pages and left/right double pages in one photo. Original photos and transcripts are kept.
- Source checking: compare the photo with the recognized text, locate issues by their original position, and proofread or re-review manually.
- Language review: check spelling, grammar, punctuation and capitalization, producing suggestions with source quotes and positions.
- Review management: accept or dismiss suggestions one by one, with restore, undo and redo; teacher decisions and completion status are saved.
- Export: export recognized text as Markdown, or a document with annotations and their status.
How the Three Models Work Together
All models run locally via llama.cpp:
| Model | Format | Role |
|---|---|---|
| MiniCPM-OCR 1.0 | F16 | Full-page transcription and word-region recognition |
| MiniCPM-OCR Jev | Q4_K_M | Scores consistency between candidate text and the image to assist review |
| MiniCPM5-2B | Q4_K_M | Generates context-aware basic language review suggestions |
The pipeline runs image preprocessing → full-page transcription → per-word verification → image-text review → language review. The app picks recognition candidates based on verification results and retries automatically when results are unstable, up to three rounds.
For language review, MiniCPM5-2B first writes an internal correction draft, which is diffed against the original transcript so each suggestion maps to its text range. Recognized text, model suggestions and teacher decisions are recorded separately, and the original transcript is always preserved.
Implementation
The app is built with Swift 6.2, SwiftUI and AppKit, targets macOS 14+, and current releases are for Apple Silicon Macs.
| Module | Responsibility |
|---|---|
PaperReview | UI, image processing, assignment flow and storage |
PaperReviewCore | Text structure, source anchoring, annotation state, quality checks and model interfaces |
PaperReviewLocalModels | Local model configuration, download, service lifecycle and inference |
Image processing uses Apple Vision and Core Image for page detection, text-region location, perspective correction and scan enhancement. Recognized text is tied back to the image via line and word coordinates.
Model services listen only on the loopback address and are called over local HTTP; downloads support pause and resume. Assignment data is stored by default in ~/Library/Application Support/PaperReview/Assignments/, including original images, processed images and JSON records.
Links
- GitHub: Mnagalah/PaperReview
- Download: Latest release
