Risk factor detection for heart disease by applying text analytics in electronic medical records