Proper noun detection in document images