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 2:
2. The computer implemented method of claim 1 , further comprising: receiving a confidence level from the language detection algorithm; storing the confidence level relative to the short communication; determining whether the confidence level is at least equal to a threshold confidence level; and 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.