Automated Labeling Algorithms for Biomedical Document Images