The text is difficult to read. Many parts repeated. I do not have information regarding the form of data from the database.
Whether the database is online? What is the difference between the Front / BackJavi / RumiUnicode? What is the difference between-ke, di-,di_Abd? (sufix,prefix,infix). What is the meaning of .,@!/% and others?
In this way writing program is very easy to make mistakes.
I have attached two files for analysis .