Patent Document ID: 8423352
Application ID: 12754759

Base Claim:
1. A computer implemented method for enhancing language detection in short communications, comprising: 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; assembling a compound text from contents of a subset of the elements of the line cache; receiving a language identifier (language ID) for the compound text from a language detection algorithm; 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 determining, using contents of a subset of language cache elements, a language of the short communication.

---

Claim 3:
3. The computer implemented method of claim 1 , wherein the short communication is a set of short communications, further comprising: receiving the set of short communications at the application; storing the set of short communications using a subset of elements of the line cache; determining whether the compound text can be assembled from contents of a second subset of the elements of the line cache; assembling, responsive to the determining whether the compound text can be assembled being affirmative, the compound text using a subset of the short communications, the compound text being of a length at least equal to a threshold length of text required by the language detection algorithm for language detection; and sending the compound text to the language detection algorithm.