Learning Effective Representations from Clinical Notes