Neural Language model for persian language
the data-set using for this model is translation of Nahj al-Balagha(نهجالبلاغه) but it's a good idea to use your own data-set and somehow improve the the model.
the architecture of NN is also available to give you an intuitive view for this special case.
the model has the accuracy around 80%
note that the main file is a notebook()