6. A system for diacritizing a text, the system comprising: a memory for storing a Hidden Makov Model, a text, and at least one diacritical mark of a set of diacritical marks, the text comprising a plurality of characters associated with an Arabic language; a processor coupled to the memory, wherein the processor is configured to: analyze the text to determine whether the text requires at least one diacritical mark of the set of diacritical marks; convert each character to an ASCII code; feed each ASCII code in sequence to the Hidden Markov Model; apply an expectation-maximization process to each ASCII code starting at one end of the sequence; transition from one diacritical mark to another diacritical mark from the set of diacritical marks for each ASCII code; record a probability for each diacritical mark when associated with each current ASCII code; change a state of the Hidden Markov Model based on each probability over regularly spaced periods of time; wherein the Hidden Markov Model transitions from state q i at time t to a state q i at time t+1, where t=1, 2, 3, . . . M; and i, j=1, 2, . . . , N, and where M represents a number of the transitions and N represents a number of the states; wherein a transition probability a ij , representing a probability that diacritical mark q j appears directly after diacritical mark q i , equals an expected number of transitions from state q i to state q j divided by an expected number of transitions from state q i , finalize a diacritical mark having the highest probability for the current ASCII code; process each character in the sequence of the text, wherein the Hidden Markov Model bases the probability at least in part on the probability of a diacritical mark applied on one or more preceding characters of the sequence and on a context of the text for determining the probability of a diacritical mark on a given character; generate a sequence of the diacritical marks corresponding to the sequence of characters; match the sequence of diacritical marks with the text to obtain the diacritized text; and a display to present the diacritized text.
6. A system for diacritizing a text, the system comprising: a memory for storing a Hidden Makov Model, a text, and at least one diacritical mark of a set of diacritical marks, the text comprising a plurality of characters associated with an Arabic language; a processor coupled to the memory, wherein the processor is configured to: analyze the text to determine whether the text requires at least one diacritical mark of the set of diacritical marks; convert each character to an ASCII code; feed each ASCII code in sequence to the Hidden Markov Model; apply an expectation-maximization process to each ASCII code starting at one end of the sequence; transition from one diacritical mark to another diacritical mark from the set of diacritical marks for each ASCII code; record a probability for each diacritical mark when associated with each current ASCII code; change a state of the Hidden Markov Model based on each probability over regularly spaced periods of time; wherein the Hidden Markov Model transitions from state q i at time t to a state q i at time t+1, where t=1, 2, 3, . . . M; and i, j=1, 2, . . . , N, and where M represents a number of the transitions and N represents a number of the states; wherein a transition probability a ij , representing a probability that diacritical mark q j appears directly after diacritical mark q i , equals an expected number of transitions from state q i to state q j divided by an expected number of transitions from state q i , finalize a diacritical mark having the highest probability for the current ASCII code; process each character in the sequence of the text, wherein the Hidden Markov Model bases the probability at least in part on the probability of a diacritical mark applied on one or more preceding characters of the sequence and on a context of the text for determining the probability of a diacritical mark on a given character; generate a sequence of the diacritical marks corresponding to the sequence of characters; match the sequence of diacritical marks with the text to obtain the diacritized text; and a display to present the diacritized text. 8. The system of claim 6 , wherein the context associated with the text is determined based on at least one diacritical mark applied on a portion of the text.