Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.27.0
metadata
title: arabnamer demo
emoji: ๐
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.7.1
app_file: app.py
pinned: false
license: mit
tags:
- arabic
- transliteration
- name-matching
- arabic-nlp
- mena
- kyc
- entity-resolution
short_description: Offline Arabic name transliteration & fuzzy similarity.
arabnamer โ live demo
This Space runs the arabnamer Python library in an interactive UI.
Three tabs
- Transliterate โ English name โ Arabic name, with selectable engine (XGBoost model / rule-based / hybrid) and optional reference scoring.
- Similarity โ Arabic โ Arabic lenient fuzzy matching, insensitive to tashkeel, hamza variants, taa-marbuta, and alef-maksura.
- Batch โ paste a list of English names, get a table + CSV output.
Offline by design
No external API calls, no LLM, names never leave this Space container. The entire pipeline runs on the 38 MB bundled XGBoost model + deterministic rule-based engine.
Install locally
pip install arabnamer
Then:
from arabnamer import translit, similarity
print(translit("Mohammed Ali").arabic) # โ 'ู
ุญู
ุฏ ุนูู'
print(similarity("ุฃุญู
ุฏ ุญุณู", "ุงุญู
ุฏ ุญุณู")) # โ (True, 100)
Links
- ๐ GitHub repo
- ๐ PyPI package
- ๐ Model (this Space loads it transitively via the library)
- ๐ Training dataset
License
- Code (this app): MIT
- Bundled model weights + training dictionary: CC-BY-4.0