pyarabic icon indicating copy to clipboard operation
pyarabic copied to clipboard

function araby.is_arabicword somwtimes return true for a sentence without spaces

Open esluvleil10 opened this issue 1 year ago • 1 comments

When spaces are deliberately removed from a sentence like "'حطتخطاياهولوكانتمثلزبدالبحر" which is originally "'حطت خطاياه ولوكانت مثل زبد البحر", the function will return True

esluvleil10 avatar Jul 08 '24 09:07 esluvleil10

Thank you for your remark, there is a problem to fix the max length of an arabic valid word, because we can have long words with only letters, and the length will be doubled if diacritics are added.

linuxscout avatar Jul 08 '24 10:07 linuxscout