13. A machine-readable storage medium having executable instructions stored thereon, which when executed, causes a machine to perform operations comprising: receiving input data, the input data being data for conversion from a phonetic representation or speech; to written text characters of one or more words of a language, the input data having a plurality of data pieces; calculating by a processor of the machine, via an iterative process, an input vector for the input data in a textual format of the language, the iterative process including starting with a first data piece of the input data converted to a selected textual format to form a current vector of the input data and iteratively updating the current vector with a next data piece of the input data using elements of the current vector until all the data pieces are converted into the textual format; finding a subset of a plurality of documents based on the input vector, the plurality of documents having text being written in the language; determining a frequency of the text in the subset; and converting the input data to a representation of one or more written text characters of the language based on the frequency.
13. A machine-readable storage medium having executable instructions stored thereon, which when executed, causes a machine to perform operations comprising: receiving input data, the input data being data for conversion from a phonetic representation or speech; to written text characters of one or more words of a language, the input data having a plurality of data pieces; calculating by a processor of the machine, via an iterative process, an input vector for the input data in a textual format of the language, the iterative process including starting with a first data piece of the input data converted to a selected textual format to form a current vector of the input data and iteratively updating the current vector with a next data piece of the input data using elements of the current vector until all the data pieces are converted into the textual format; finding a subset of a plurality of documents based on the input vector, the plurality of documents having text being written in the language; determining a frequency of the text in the subset; and converting the input data to a representation of one or more written text characters of the language based on the frequency. 14. The machine-readable storage medium of claim 13 , wherein the operation of finding further comprises operations: calculating a plurality of vectors for each of the plurality of documents; and comparing the input vector to each of the plurality of vectors.