waleedkadous / ansari-backend

Ansari is a helper for you to become a better Muslim
65 stars 12 forks source link

Ansari is not handling text and numeric representations of numbers the same way, especially in Arabic #16

Open waleedkadous opened 4 months ago

waleedkadous commented 4 months ago

Originally reported by Osama in Sydney:

If you search for 8 hujaj, Ansari doesn't know what you're talking about. If you search for eight hujaj, it gets the correct answer.

Screenshot_20240304-043234_Chrome

Screenshot_20240304-043012_Chrome

waleedkadous commented 3 months ago

We should translate all queries in the Arabic and search in both Arabic and English?

umar-farooq-khan commented 1 month ago

Isnt it better to translate the user's query to English (sort of a default language) before doing any processing on it? Then process that query in English, makes results more reliable.