AI-Generated Text Detection and Classification Based on BERT Deep Learning Algorithm