Determination of the script and language content of document images | Synapse