Deep Learning for Medical Text Processing: BERT Model Fine-Tuning and Comparative Study