11. The non-transitory machine-readable storage medium of claim 7 , including instructions, which when executed by the or more processors of the electronic device, cause the device to: provide the second language identification of the document to an automatic language identifier service for use by a plurality of user applications.
7. A non-transitory machine-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the device to: obtain a document including text; receive, from an automatic language identifier service, a first language identification for the document; in response to receiving the first language identification, automatically invoking a modifying operation; perform the modifying operation on the document in accordance with the first language identification; determine based at least in part on results from the modifying operation, whether the first language identification for the document is correct, wherein the results from the modifying operation include at least one of the amount of errors or the nature of the errors associated with the modifying operation; in accordance with a determination that the first language identification is correct, provide the first language identification to a user application; in accordance with a determination that the first language identification is incorrect, determine a second language identification of the document, and perform a modifying function on the document in accordance with one or more alternate languages different from the first language, wherein the second language identification of the document is determined based at least in part on the results from performing the modifying function on the document in accordance with the one or more alternate languages.