Automatically detects and corrects misspelled or transliterated movie/TV show titles (especially common in Arabic chat/forum slang) and finds the correct media with available subtitles/dubbing in a chosen language.
# Step 1: Normalize transliterated Arabic-English
def normalize_query(q):
replacements =
"fylm": "film",
"mtrjm": "مترجم (translated)",
"awn layn": "online",
"fasl": "season",
"alany": "current",
"hot": "popular"
for key, val in replacements.items():
q = q.replace(key, val)
return q
Here are the legitimate platforms where you can find the 2008 Knight Rider movie and/or series with Arabic subtitles or dubbing: fylm knight rider 2008 mtrjm awn layn fasl alany hot
Back to Top