📅  最后修改于: 2022-03-11 14:45:06.836000             🧑  作者: Mango
import arabic_reshaper
from bidi.algorithm import get_display
def formatArabicSentences(sentences):
formatedSentences = arabic_reshaper.reshape(sentences)
return get_display(formatedSentences)