Text this: Profiling of myocardial infarction history from electrocardiogram using artificial neural network