mpcabd / python-arabic-reshaper

Reconstruct Arabic sentences to be used in applications that don't support Arabic
MIT License
395 stars 81 forks source link

auto reversing the reult #83

Closed Ziad-Ashraf-Mostafa closed 1 year ago

Ziad-Ashraf-Mostafa commented 1 year ago

In line 239, i suggest adding '[::-1]' to be "return ' '.join(result[::-1])" , to auto reverse the result to be from right to left, instead of reversing it in a separated line of code, or instead of using python-bid.