Maha is a text processing library specially developed to deal with Arabic text.
TRoboto/Maha
(43afba6e6fdb3f856655e3a1462d75da3766cc95)