Salam Alaykum Team,
First, thank you for the incredible Al Quran Cloud API.
I am developing an AR Smart Glasses App for Deaf Muslims (using Unity/C#). The app listens to the Imam and displays verses in real-time.
The Challenge: To ensure Zero Latency and reliability inside mosques (where internet is unstable), I need to migrate from using your live API to a Fully Offline Solution. I am looking for the best architectural approach to achieve this.
My Questions (covering both Data & Logic):
The Data (JSON Dump): Do you provide a comprehensive JSON dataset that includes BOTH the "Simple/Clean" script (for efficient search) and the "Uthmani" script (for display) mapped together? I need a single source of truth to store locally.
The Logic (Replicating the API): I want to replicate the behavior of your /search endpoint locally on the device.
Do you have any open-source logic or algorithms you recommend for matching input text to Ayahs efficiently offline?
Is there a "lightweight" version of the API (or a library) that can be embedded directly into a mobile/Unity app?
- Handling Input Errors: Since I am using Speech-to-Text, do you recommend a specific approach (e.g., Fuzzy Matching / Levenshtein Distance) to handle minor diacritic or character mismatching against your dataset?
Any guidance, links to repos, or advice on how to architect this "Offline Search Engine" would be deeply appreciated.
Jazakum Allah Khair.