1. A machine implemented method comprising: determining by a machine, within a document, a language of a first portion of the document; determining by the machine within the document, a language of the second portion of the document; using the determination of the language of each of the first and the second portions to perform automatic or user invoked modifying functions on at least one of the first and the second portions.