10. A non-transitory computer-readable storage medium containing a computer-readable code that when read by a computer causes the computer to perform a method for text auto-correction, the method comprising: receiving an input text string on an electronic text input interface device, the input text string comprising N words and a categorical topic; generating a subsequent text string comprising a plurality of N−1 subsequent words forming a subsequent phrase within the categorical topic by determining probabilities that the N−1 subsequent words follow the N words in the input test string; generating a preceding text string comprising a plurality of N−1 preceding words forming a preceding phrase for the input text string within the categorical topic by determining probabilities that the N−1 preceding words following precede the N words in the input test string; creating a corrected text string by inserting the preceding phrase before the input text string and appending the subsequent phrase after the input text string; and displaying the corrected text string on the electronic text input interface device.
10. A non-transitory computer-readable storage medium containing a computer-readable code that when read by a computer causes the computer to perform a method for text auto-correction, the method comprising: receiving an input text string on an electronic text input interface device, the input text string comprising N words and a categorical topic; generating a subsequent text string comprising a plurality of N−1 subsequent words forming a subsequent phrase within the categorical topic by determining probabilities that the N−1 subsequent words follow the N words in the input test string; generating a preceding text string comprising a plurality of N−1 preceding words forming a preceding phrase for the input text string within the categorical topic by determining probabilities that the N−1 preceding words following precede the N words in the input test string; creating a corrected text string by inserting the preceding phrase before the input text string and appending the subsequent phrase after the input text string; and displaying the corrected text string on the electronic text input interface device. 14. The non-transitory computer-readable medium of claim 10 , wherein: the step of receiving the input text string comprises: receiving the N words comprising a first language; and translating the N words to a second language; and the steps of generating the subsequent text string and the preceding text string further comprise generating a subsequent text string comprising a plurality of N−1 subsequent words in the second language forming a subsequent phrase and generating a preceding text string comprising a plurality of N−1 preceding words in the second language forming a preceding phrase.