Patent ID: 7979266

Claim:
A system for automatically determining a language of a document from a set of candidate languages, the system comprising: logic, stored on a non-transitory computer-readable medium, for setting an assumption value associated with each of the languages of the set of candidate languages where the assumption value indicates that the document is not in the language of the associated candidate language; an extractor, stored on a non-transitory computer-readable medium, for extracting multiple character strings from the document; and a language analyzer, stored on a non-transitory computer-readable medium, for adjusting the assumption value for each of the languages by multiplying the assumption value with a probability value that an extracted character string does not belong to the language and for each additional extracted character string, repeating the adjusting by multiplying the assumption value for each candidate language with the probability value that the additional extracted character string does not belong to the language for each candidate language until the assumption value for one language is disproved by meeting a threshold; and wherein the language analyzer is configured to generate an output that indicates that the document is one language of the candidate languages when the assumption value for the one language is disproved.