📜  textclip python 阿拉伯语 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:06.836000             🧑  作者: Mango

代码示例1
import arabic_reshaper
from bidi.algorithm import get_display

def formatArabicSentences(sentences):
   formatedSentences = arabic_reshaper.reshape(sentences)
   return get_display(formatedSentences)