1. A method for establishing a HMM-based encoding network using connectivity rules of Arabic optical characters in a recognition process, the method comprising: providing three non-emitting states in the HMM-based encoding network: a beginning non-emitting state disposed at the beginning of said network, an end non-emitting state disposed at the end of said network, and a middle non-emitting state disposed at the middle of said network; connecting said beginning non-emitting state to an isolated position character hidden Markov model, and said isolated position character hidden Markov model to said end non-emitting state; connecting said beginning non-emitting state to a beginning position character hidden Markov model, and said beginning position character hidden Markov model to said middle non-emitting state; connecting said middle non-emitting state to an end position character hidden Markov model, and said end position character hidden Markov model to said end non-emitting state; connecting in parallel said middle non-emitting state to a middle position character hidden Markov model, and connecting said middle position character hidden Markov model back to said middle non-emitting state thereby forming a loop between said middle non-emitting state and said middle position character hidden Markov model; connecting in parallel said middle non-emitting state to an elongation hidden Markov model, and connecting said elongation hidden Markov model back to said middle non-emitting state thereby forming a loop between said middle non-emitting state and said elongation hidden Markov model; and connecting said end non-emitting state to said beginning non-emitting state.