Weakly supervised learning of biomedical information extraction from curated data