Unfolding the Structure of a Document using Deep Learning