bayan-api / src /nlp

Commit History

  1. fix: wake sleeping HF Space before Gradio Client connection⁠

    c15c00a

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

    cfddf82
  2. feat: add HF_TOKEN auth to Gradio Client to fix rate limiting

    01f9c42

  1. Update extension UI, app pipeline, and Spelling Rules

    75e0099
  2. Update extension UI, app pipeline and model loaders

    9c49fff

  1. Update extension UI, spelling rules, and benchmark artifacts

    183ba6e
  2. Fix spacing corruption block to include emails and english words

    075fdd7
  3. Fix structured data regex bug in spelling rules

    1e65c93
  4. Fix grammar JSON spacing bug

    b4e2427
  5. Fix structural regressions

    e7b2a51
  6. Fix: 10 critical NLP logic bugs in grammar, spelling, and punctuation to prevent false positives

    41ea30b
  7. Fix plural adjective agreement regression for broken plurals

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

    be32617

  1. feat: enhance extension UI and improve Smart Colon Guard⁠

    42357d1

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

    ae88a6b

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

    youssefreda9 +1: Claude Opus 4.6
    7078e93
  2. update benchmark logs

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

    youssefreda9 +1: Claude Opus 4.6
    3ab74e1
  4. Fix collision benchmark failures: patch overlap mapping, tokenization guard, and rule hallucinations

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

    5ed1cab

  1. Fix punctuation alignment and hallucinations, add punctuation safety rules, add kana/inna grammar rules

    9786f39
  2. feat(nlp): implement case-checking rules for kana and inna sisters using camel_tools

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

    c29d4de
  4. fix: contextual logging, word merge overlap resolver, and responsive toolbar/footer UI

    2702d02
  5. Add debugging scripts and fix grammar/punctuation logic

    Bayan AI
    ce14862
  6. Fix collision resolution and punctuation patch application errors

    Bayan AI
    8f8ed51

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

    Bayan AI
    4ec5188
  2. refactor: simplify architecture and replace whitelists with CamelTools

    Bayan AI
    ebd15e7
  3. Fix: Enhance Jazm and Nasb logic with camel_tools for Af'al Khamsa and defective verbs

    Bayan AI
    b3209ae
  4. UI/UX: Add Quran standalone tab, summarize textarea, floating selection bar, fix clear editor, remove duplicate button

    1f8ed9d

  1. FIX-47: Expand hamza whitelist with verb+pronoun forms⁠

    eebdf74
  2. FIX-44: OOV cleanup pass between spelling and grammar stages⁠

    4655865
  3. FIX-38/39 + Layer 1/2/3: Benchmark normalization + spelling safety + grammar rules⁠

    79db738
  4. FIX-33b: Protect second+third preposition regexes with blocklist⁠

    c6dd3fa
  5. FIX-36: Merge punctuation into grammar when they overlap same span⁠

    f91a4d7
  6. FIX-33/34/35: Fix infinite loop — grammar corruption + spelling conflict⁠

    03cd504
  7. Fix grammar rules output log — remove hardcoded ... truncation marker

    09be182
  8. Phase 14c: Fix FIX-31 whitespace bug + fix misleading log truncation⁠

    80c9b7b
  9. Phase 14b: Fix spelling punct hallucination + cross-stage overlap⁠

    1e3f46f
  10. Phase 14: Fix StageLocker over-locking + PatchSet overlap resolution⁠

    8fe6a99
  11. Merge punctuation_rules V1+V2: V2 threshold+fallback, V1 softened exclamation guard for short texts

    e100026
  12. Fix: TerminalPunctuationGuard for short phrases and comprehensive Nasb/Jazm grammar rules fixes

    Bayan AI
    76b9ec3

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

    Bayan AI
    daf0945
  2. Fix: Prevent conditional sentences rule from overcorrecting 'إن' and 'من' by requiring the subsequent word to be a verb

    Bayan AI
    d7619b9
  3. Fix: Preserve input punctuation during grammar correction

    Bayan AI
    db7d7d8
  4. Phase 11.5: Adversarial diagnostic + 4 critical pipeline fixes⁠

    b33660c
  5. Phase 11: Hierarchical StageLocker — grammar overrides spelling locks⁠

    f8cef7c

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

    Mohamed Atef
    dda1c3d
  2. Phase 12: Spelling pipeline integration + Benchmark integrity fixes⁠

    31f02a4
  3. FIX-26: Reject punct substitution when original has punct⁠

    3f2c874