mocherson / AKI_bert

4 stars 1 forks source link

Issue with formatted_notes #1

Open fengx13 opened 1 year ago

fengx13 commented 1 year ago

Hi, I am trying to reproduce the result, but the format of formatted_notes is not consistent throughout the scripts. While the output is formatted_notes.txt from format_for_bert.py, the input for aki_bert.py is formatted_notes.csv. I was wondering if you have any efficient solution for it. Thanks very much.

mocherson commented 1 year ago

I added the following line to the file format_for_bert.py, this saves the formatted_notes to a csv file. formatted_notes.to_csv(OUTPUT_DIR+ '.csv')