Predict-Word predict word using trigram but you should download any arabic corpus The Link of the photo that shows (Word Auto Fill) https://drive.google.com/file/d/1tVGcUnWLvyNIwgzBwpZJTmprvutWs7OZ/view?usp=sharing