{'fraction_non_alphanumeric': 0.023629489603024575, 'fraction_numerical': 0.002835538752362949, 'mean_word_length': 5.156976744186046, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Chinese Electronic Medical Record Named Entity Recognition based on BERT-WWM-IDCNN-CRF

Named entity recognition is a basic work of natural language processing. Aiming at the disadvantages of traditional BERT pre-training, such as random MASK of single word, the large number of unregistered words and the phenomenon of multiple meanings of one word in electronic medical record, the BERT model of Whole Word Masking and the network model of dilated convolutional network (IDCNN) were designed. In the word embedding layer, the BERT pre-training model of whole word covering is introduced to enhance the semantic representation of word vector. Then, IDCNN is used to extract sentence features to the maximum extent. Finally, conditional random field (CRF) is used to output tag sequences with the maximum probability. The experimental results show that this model is more suitable for Chinese electronic medical record entity recognition, and its recognition accuracy, recall rate and F1 value are all above 91%, which are better than the traditional method.