bayan-api / src /nlp

Commit History

fix: wake sleeping HF Space before Gradio Client connection
c15c00a
Running

youssefreda9 commited on

fix: use env var HF_TOKEN instead of hf_token kwarg for gradio_client compatibility
cfddf82

youssefreda9 commited on

feat: add HF_TOKEN auth to Gradio Client to fix rate limiting
01f9c42

youssefreda9 commited on

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 spacing corruption block to include emails and english words
075fdd7

youssefreda9 commited on

Fix structured data regex bug in spelling rules
1e65c93

youssefreda9 commited on

Fix grammar JSON spacing bug
b4e2427

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 plural adjective agreement regression for broken plurals
e7c1175

youssefreda9 commited on

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

youssefreda9 commited on

feat: enhance extension UI and improve Smart Colon Guard
42357d1

youssefreda9 commited on

fix: swap punctuation rules for colons to prevent strict guard conflicts
ae88a6b

youssefreda9 commited on

fix(grammar): add hamza fixes for ايضا, اول, and position-aware إنّ/أنّ rules
7078e93

youssefreda9 Claude Opus 4.6 commited on

update benchmark logs
a84aad9

youssefreda9 commited on

fix(punctuation): extend colon guard to preposition+definite-article prefixes
3ab74e1

youssefreda9 Claude Opus 4.6 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 punctuation alignment and hallucinations, add punctuation safety rules, add kana/inna grammar rules
9786f39

youssefreda9 commited on

feat(nlp): implement case-checking rules for kana and inna sisters using camel_tools
1519f71

youssefreda9 commited on

fix(nlp): remove overly restrictive rules 0b and 0c from punctuation safety guards that blocked valid commas and colons
c29d4de

youssefreda9 commited on

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

youssefreda9 commited on

Add debugging scripts and fix grammar/punctuation logic
ce14862

Bayan AI commited on

Fix collision resolution and punctuation patch application errors
8f8ed51

Bayan AI commited on

fix: verb suffix stripping, regex unnormalized hamzas, and POS-independent triggers to reach 70%
4ec5188

Bayan AI commited on

refactor: simplify architecture and replace whitelists with CamelTools
ebd15e7

Bayan AI commited on

Fix: Enhance Jazm and Nasb logic with camel_tools for Af'al Khamsa and defective verbs
b3209ae

Bayan AI commited on

UI/UX: Add Quran standalone tab, summarize textarea, floating selection bar, fix clear editor, remove duplicate button
1f8ed9d

youssefreda9 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-38/39 + Layer 1/2/3: Benchmark normalization + spelling safety + grammar rules
79db738

youssefreda9 commited on

FIX-33b: Protect second+third preposition regexes with blocklist
c6dd3fa

youssefreda9 commited on

FIX-36: Merge punctuation into grammar when they overlap same span
f91a4d7

youssefreda9 commited on

FIX-33/34/35: Fix infinite loop — grammar corruption + spelling conflict
03cd504

youssefreda9 commited on

Fix grammar rules output log — remove hardcoded ... truncation marker
09be182

youssefreda9 commited on

Phase 14c: Fix FIX-31 whitespace bug + fix misleading log truncation
80c9b7b

youssefreda9 commited on

Phase 14b: Fix spelling punct hallucination + cross-stage overlap
1e3f46f

youssefreda9 commited on

Phase 14: Fix StageLocker over-locking + PatchSet overlap resolution
8fe6a99

youssefreda9 commited on

Merge punctuation_rules V1+V2: V2 threshold+fallback, V1 softened exclamation guard for short texts
e100026

youssefreda9 commited on

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

Bayan AI commited on

Feat: Add demonstrative and noun-adjective dual/plural agreement rules
daf0945

Bayan AI commited on

Fix: Prevent conditional sentences rule from overcorrecting 'إن' and 'من' by requiring the subsequent word to be a verb
d7619b9

Bayan AI commited on

Fix: Preserve input punctuation during grammar correction
db7d7d8

Bayan AI commited on

Phase 11.5: Adversarial diagnostic + 4 critical pipeline fixes
b33660c

youssefreda9 commited on

Phase 11: Hierarchical StageLocker — grammar overrides spelling locks
f8cef7c

youssefreda9 commited on

Phase 13: Fix punctuation terminal injection filter (context-aware Rule 0)
dda1c3d

Mohamed Atef commited on

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

youssefreda9 commited on

FIX-26: Reject punct substitution when original has punct
3f2c874

youssefreda9 commited on