feat: Scanned Islamic book page analysis module - #277
Conversation
Corrected phrasing in the contributing section regarding participation in the Stellar Drips Wave bounty program.
…idge#271) * Add two-tier cache with scope isolation and token quota tracker * Integrate two-tier cache and rate limiting into chat endpoints * Add default gemini_api_key for test compatibility * Fix datetime UTC import for Python 3.10 compatibility * Add unit tests for scope isolation, exact cache, and token quota tracker * Add integration tests for quota enforcement and oversize rejection * Fix ruff linting errors * Fix Optional type annotation for Python 3.10 compatibility * Fix formatting issues with ruff format * Fix remaining ruff linting errors * Ignore UP042 and UP017 for Python 3.10 compatibility * Fix mypy type annotations and ignore store.py errors
- Implement OCR-based text extraction for Arabic Islamic texts - Add layout detection (headers, body, footnotes, margins) - Extract Quranic references with surah/ayah identification - Recognize Hadith chains (Isnad) and scholarly citations - FastAPI router at /page-analysis/analyze Closes Deen-Bridge#235 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Strict review blocker: this branch conflicts with the base branch. Please rebase and resolve conflicts before requesting merge. |
1 similar comment
|
Strict review blocker: this branch conflicts with the base branch. Please rebase and resolve conflicts before requesting merge. |
|
Strict review blocker: this branch conflicts with the base branch and/or changes have been requested. Please rebase, resolve conflicts, and address requested changes before requesting merge. |
|
@Mukhtar003 this PR has merge conflicts with the |
Summary
/page-analysis/analyzeFeatures
PageRegiondataclass with coordinates, text, and region typeQuranicReferenceextraction with surah, ayah, and Arabic/transliteration textHadithReferencewith Isnad chain detectionPageAnalysisResultwith layout info, extracted references, and confidence scoresTest Plan
Closes #235
🤖 Generated with Claude Code