Document Understanding for a Broad Class of Documents