Natural language processing of medical records: new understanding of suicide ideation by dementia subtypes