Email Record: A sequence labeling approach to link medications and their attributes in clinical notes and clinical trial announcements for information extraction