Lexical patterns, features and knowledge resources for coreference resolution in clinical notes