Yousef1313/fusha
0
فصحى · Fusha
حوّل النص باللهجة المصرية أو السورية إلى الفصحى مع شرح كل كلمة غُيّرت. اكتشاف اللهجة تلقائي، والكل يعمل داخل متصفحك — لا خادم، لا تثبيت.
Explainable Arabic dialect → MSA converter. Paste Egyptian or Levantine text, get clean Modern Standard Arabic with a per-word explanation. Dialect is detected automatically; everything runs in your browser.
Source code: github.com/Yousef13133/fusha Built on sae-arabic.
Web demo internals
fusha.js— port of the Python core (normalize, rules, lexicon, subject conjugation)data/fusha-lex.js— auto-generated lexicon bundle (fromsrc/fusha/lexicons/*.json)app.js,index.html,styles.css— the UItest.js— parity tests vs the Python outputs (node test.js)
Regenerate the lexicon bundle after editing a lexicon:
python scripts/gen_lex_js.py