bayan-api / src /nlp /__init__.py
youssefreda9's picture
feat: Add AraSpell spelling correction endpoint (POST /api/spelling) with lazy model loading - Extract AraSpell pipeline into src/nlp/spelling/ (araspell_rules.py + araspell_service.py) - Pre-download AraBERT encoder-decoder + checkpoint in Dockerfile - Lazy load on first request, contextual=False to save RAM - Update health check to report spelling status
8ba2b52
Raw
History Blame Contribute Delete
49 Bytes
# AraSpell — Arabic Spelling Correction Module