bayan-api / src /nlp /spelling

Commit History

Update extension UI, app pipeline, and Spelling Rules
75e0099

youssefreda9 commited on

Update extension UI, app pipeline and model loaders
9c49fff

youssefreda9 commited on

Update extension UI, spelling rules, and benchmark artifacts
183ba6e

youssefreda9 commited on

Fix structured data regex bug in spelling rules
1e65c93

youssefreda9 commited on

Fix structural regressions
e7b2a51

youssefreda9 commited on

Fix: 10 critical NLP logic bugs in grammar, spelling, and punctuation to prevent false positives
41ea30b

youssefreda9 commited on

Fix 30 NLP edge cases in Grammar, Spelling, and Punctuation (Phase 10 results and Extension UI improvements)
be32617

youssefreda9 commited on

update benchmark logs
a84aad9

youssefreda9 commited on

Fix collision benchmark failures: patch overlap mapping, tokenization guard, and rule hallucinations
df5e501

youssefreda9 commited on

Fix collision benchmark: non-overlap, destructive tokenization, colon guard, hamza punctuation
5ed1cab

youssefreda9 commited on

fix: contextual logging, word merge overlap resolver, and responsive toolbar/footer UI
2702d02

youssefreda9 commited on

refactor: simplify architecture and replace whitelists with CamelTools
ebd15e7

Bayan AI commited on

FIX-47: Expand hamza whitelist with verb+pronoun forms
eebdf74

youssefreda9 commited on

FIX-44: OOV cleanup pass between spelling and grammar stages
4655865

youssefreda9 commited on

Fix: TerminalPunctuationGuard for short phrases and comprehensive Nasb/Jazm grammar rules fixes
76b9ec3

Bayan AI commited on

Phase 12: Spelling pipeline integration + Benchmark integrity fixes
31f02a4

youssefreda9 commited on

Phase 12: Fix 6 batches — grammar pipeline bypass, religious/structured protection, punct rearrangement, SV/gender agreement
81c58cc

youssefreda9 commited on

fix: Apply hamza+ta-marbuta corrections AFTER validation steps to prevent reversion
b7e415b

youssefreda9 commited on

Phase 11: Master Bug Fix — 23 fixes across 8 files
bfc07c3

youssefreda9 commited on

Phase 8: Fix all critical bugs from adversarial validation
76ea593

youssefreda9 commited on

revert: restore backend/model files to cf07939 state, keep UI/UX changes only
143c028

youssefreda9 commited on

UI: nav logo, bayyinah hover, quran icon, hero autocomplete shadow, clean tooltip, fix punctuation dup + hamza كان
20a34f1

youssefreda9 commited on

fix: re-label grammar spelling fixes + handle prefix in hamza whitelist
8f13258

youssefreda9 commited on

fix: all model bugs — S1 S2 S3 G1 P1 (6 fixes across 4 files)
bc71395

youssefreda9 commited on

fix: PDF dropdown visible + verify spelling context + araspell audit - Fix summary export dropdown clipping (overflow: visible + opens upward) - Verify: use_contextual=True in araspell_service.py (line 83) ✓ - Verify: ContextualCorrector fully initialized and used in pipeline ✓ - Verify: All araspell_rules.py classes used: AraSpellPostProcessor, ErrorClassifier, RulesBasedCorrector, OutputValidator, VocabularyManager, WordAligner, SplitMergeSpecialist, EditDistanceCorrector, ContextualCorrector, ArabicSpellChecker ✓ - Fix misleading comment about contextual=False
d4b662b

youssefreda9 commited on

feat: Enable ContextualCorrector (BERT MLM) for spelling - Pre-download AutoModelForMaskedLM in Dockerfile
bcf3607

youssefreda9 commited on

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
53f433b

youssefreda9 commited on