18. The data processing system of claim 17 , further comprising: computer usable code for receiving a confidence level from the language detection algorithm; computer usable code for storing the confidence level relative to the short communication; computer usable code for determining whether the confidence level is at least equal to a threshold confidence level; and computer usable code for setting a current language indicator of the short communication to be the language ID responsive to confidence level being at least equal to the threshold confidence level.
17. A data processing system for enhancing language detection in short communications, the data processing system comprising: a storage device including a storage medium, wherein the storage device stores computer usable program code; and a processor, wherein the processor executes the computer usable program code, and wherein the computer usable program code comprises: computer usable code for storing a short communication in an element of a line cache accessible to an application executing in a data processing system, the element being an element in a set of elements in the line cache; computer usable code for assembling a compound text from contents of a subset of the elements of the line cache; computer usable code for receiving a language identifier (language ID) for the compound text from a language detection algorithm; computer usable code for storing the language ID in a language cache element of a language ID cache accessible to the application, the language ID cache including a set of language cache elements; and computer usable code for determining, using contents of a subset of language cache elements, a language of the short communication.