Medical diagnosis text analysis and annotation method based on natural language processing

Through natural language processing technology and regular expression pattern recognition, combined with medical corpus and part thesaurus, accurate and automated annotation of medical diagnosis texts is achieved, which solves the problems of low recognition accuracy and efficiency in the existing technology and achieves high accuracy. rate and high recall rate.

CN113705228BActive Publication Date: 2024-10-22ZHONGJIN CIYUN HEALTH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010446982.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-22
Publication Date
2024-10-22
Estimated Expiration
2040-05-22

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve accurate automated identification and annotation in medical diagnostic texts, resulting in large manual processing, poor real-time performance, and error-prone, making it difficult to perform low-cost crowdsourcing.

Method used

The medical diagnostic text analysis and annotation method based on natural language processing is adopted, through Chinese word segmentation, special part-of-speech tagging and medical semantic recognition, combined with regular expression pattern recognition, to achieve accurate understanding and annotation of medical diagnostic text.

Benefits of technology

It achieves a recognition accuracy of 100% and a recall rate of more than 80%, reducing human investment and improving the automatic understanding of medical diagnostic texts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113705228B_ABST
    Figure CN113705228B_ABST
Patent Text Reader

Abstract

The present invention provides a medical diagnosis text analysis and annotation method based on natural language processing, comprising the following steps: S1, performing Chinese word segmentation processing on the medical diagnosis text to obtain a medical word segmentation sequence; S2, performing special part-of-speech tagging and medical semantic recognition processing on the medical word segmentation sequence to obtain a standardized positive assertion union; S3, performing label conversion processing on the standardized positive assertion set to obtain a positive label set of the medical diagnosis text. The medical diagnosis text analysis and annotation method based on natural language processing of the present invention combines multi-part medical special word libraries through natural language processing technology, adopts corresponding part word libraries for different medical parts to perform separate processing, and analyzes and understands through a regular expression semantic recognition model, so that the recognition accuracy index of the medical diagnosis text reaches 100%, and the recall index reaches more than 80%.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text recognition, and in particular to a medical diagnosis text analysis and annotation method based on natural language processing. Background Art

[0002] Different from the reasoning and calculation mode of traditional artificial intelligence technology based on expert knowledge base, the basic principle of modern artificial intelligence technology is mathematical fitting. By designing a mathematical model (neural network model) and training the model with a large amount of historical data in the same field, the machine can autonomously find the best fitting parameters. The model generated in this way can give a better output prediction for the new input in the field in a probabilistic sense, that is, it reflects "intelligence". This idea is essentially a statistical mathematical method. In recent years, thanks to the improvement of computing power and the great enrichment of data resources, this artificial intelligence method that relies on computing power and data has achieved remarkable results; it has already produced mature applications in many industries and fields, such as: face recognition, intelligent customer service, medical image recognition, etc.

[0003] However, the models produced by this kind of artificial intelligence technology are not interpretable, and the methods based on probability statistics are also inherently uncertain in results. Therefore, modern artificial intelligence technology works very well in fields with rich data and relatively fixed patterns and rules, such as Go, chess, image recognition, and speech recognition. In fields with strong random characteristics such as natural language processing, current achievements tend to be more probabilistic, such as text sentiment analysis, machine translation, machine writing, and other applications; in fields that require accurate understanding of text content, artificial intelligence algorithms alone are difficult to handle.

[0004] However, in real business, especially in the field of medical and health information technology, there is a strong demand for software systems to accurately understand and automatically annotate the text content of medical diagnosis or medical examination results, and to uniformly label these "doctors' natural language expressions" and process them into structured data that can be "analyzed and calculated by machines". For example, when providing employee health management services to government and enterprise customers, the system needs to collect employees' physical examination data from various hospitals over the years and conduct automated horizontal comparative analysis. Before the comparative analysis, the system must first be able to identify, understand and uniformly standardize the various examination conclusions from various hospitals, such as B-ultrasound diagnosis conclusions, imaging diagnosis conclusions, and physical examination summaries of various departments. For another example, when local health and health commissions build a unified resident health information platform, they also need to collect health and medical data scattered in various hospitals with individuals as the center and automatically form personal health portraits. This also requires unified labeling based on understanding the diagnosis texts or examination conclusions of each hospital.

[0005] In previous practices, the contradiction between the above practical needs and technical shortcomings often relies on manual processing by medical professionals. The text content of the diagnosis results is manually understood and uniformly labeled to shield the differences in the different expressions of different sources, and then the system develops further intelligent applications based on standardized labels. This processing method not only has a huge manual workload, poor real-time performance, and is prone to negligence and errors, but also requires professionalism and is difficult to crowdsource at low cost. There is an urgent need and a wide range of application scenarios to achieve intelligent understanding and annotation of medical diagnostic texts and reduce manpower investment.

[0006] In fact, although the medical diagnosis text is the natural language expression of the doctor, there are certain conventions and patterns in the content. Based on this feature, modern natural language processing (NLP) technology and other methods can be used to analyze and understand the diagnosis text. Since the Chinese word segmentation technology in the general NLP technology is relatively mature and there are corresponding Chinese analysis and understanding algorithms, it provides effective technical conditions for the word segmentation recognition of medical diagnosis text.

[0007] In addition, regular expression technology is an IT technology that has been mature and applied for many years, and it can provide basic technical support for semantic pattern recognition algorithms. By using regular expression pattern recognition methods to adjust the accuracy of text recognition and understanding, it ensures that the results are controllable and meet the requirements for accurate understanding of medical diagnosis texts.

[0008] Therefore, how to provide a medical diagnostic text recognition and analysis method that can automatically recognize medical diagnostic texts while meeting the high precision requirements in the medical field has become an urgent problem to be solved. Summary of the invention

[0009] The present invention provides a medical diagnosis text analysis and annotation method based on natural language processing, which has the advantages of reasonable design and accurate recognition and can achieve a recognition accuracy rate of 100%.

[0010] The medical diagnosis text analysis and annotation method based on natural language processing of the present invention comprises the following steps:

[0011] S1. Perform Chinese word segmentation processing on the medical diagnosis text to obtain a medical word segmentation sequence;

[0012] S2, performing special part-of-speech tagging and medical semantic recognition processing on the medical word segmentation sequence to obtain a standardized positive assertion union;

[0013] S3. Perform label conversion processing on the standardized positive assertion set to obtain a positive label set of the medical diagnosis text.

[0014] Preferably, the Chinese word segmentation processing and the special part-of-speech tagging processing are processed using natural language processing technology combined with a pre-set medical corpus vocabulary.

[0015] Preferably, the medical semantic recognition process is processed by matching part-of-speech sequence regular expressions.

[0016] Preferably, step S1 comprises the following steps:

[0017] S11, segmenting the medical diagnosis text to obtain preprocessed sentences;

[0018] S12, pre-cleaning the pre-processed sentences to obtain sentences to be processed;

[0019] S13. Perform word segmentation processing on the sentence to be processed to obtain a medical word segmentation sequence.

[0020] Preferably, step S2 comprises the following steps:

[0021] S21, performing word segmentation cleaning on the medical word segmentation sequence to obtain a standardized word segmentation sequence;

[0022] S22, performing medical part recognition on the standardized word segmentation sequence, and performing word segmentation part-of-speech tagging in combination with the word segmentation library corresponding to the medical part, to obtain a word segmentation part-of-speech tagging sequence corresponding to the medical part;

[0023] S23. Combine the positive diagnosis semantic model library to perform semantic recognition on the word segmentation part-of-speech tagging sequence, and output a standardized positive judgment set for the corresponding medical part.

[0024] S24, looping steps S22 and S23 until all medical parts are processed, merging the standardized positive statement sets of each medical part, and finally outputting the standardized positive statement union of all parts.

[0025] Further preferably, word segmentation and part-of-speech tagging are performed according to the medical part, and the word segmentation libraries of each medical part are independent and do not affect each other, but share the same set of semantic recognition models; thereby, the recognition calculation process of each medical part can be executed in a highly parallel manner to improve performance.

[0026] Further preferably, in step S21, word segmentation cleaning includes word noise elimination.

[0027] Further preferably, in step S22, the method for part-of-speech tagging of different medical parts is: generating multiple part-of-speech tagging sequences for a standardized part-of-speech sequence, so that each medical part corresponds to a part-of-speech tagging sequence.

[0028] Further preferably, in step S23, the method of semantic recognition is: using regular expressions to define a semantic recognition model of a part-of-speech sequence, and storing it in a positive diagnosis semantic model library, and realizing semantic recognition of the part-of-speech sequence through a regular expression pattern matching method.

[0029] Preferably, step S3 includes the following steps:

[0030] S31, searching for a positive label corresponding to each positive assertion in the standardized positive assertion set to obtain a positive label sequence;

[0031] S32, grouping the positive label sequences to obtain a positive label set.

[0032] The medical diagnosis text analysis and annotation method based on natural language processing of the present invention combines natural language processing technology with multi-part medical vocabulary, adopts corresponding part vocabulary to process different medical parts separately, and analyzes and understands through regular expression semantic recognition model, so that the recognition accuracy index of medical diagnosis text reaches 100%, and the recall rate index reaches more than 80%. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 This is a flow chart of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention.

[0035] Figure 2 This is a flow chart of step S1 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention.

[0036] Figure 3 This is a flow chart of step S2 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention.

[0037] Figure 4 This is an example data flow chart of steps S22 and S23 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention.

[0038] Figure 5 This is a flow chart of step S3 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention.

[0039] Figure 6The present invention is a flowchart of an embodiment of a method for analyzing and annotating medical diagnosis text based on natural language processing. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Figure 1 FIG. 1 is a flow chart of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention. Figure 1 As shown, in this embodiment, the medical diagnosis text analysis and annotation method based on natural language processing specifically includes the following steps:

[0042] S1. Perform Chinese word segmentation processing on the medical diagnosis text to obtain a medical word segmentation sequence.

[0043] Specifically, since the medical diagnosis text contains a large amount of information, such as the medical part information, pathological diagnosis information, symptom information, etc., in order to more effectively analyze and recognize the medical diagnosis text, it is necessary to divide the information in the medical diagnosis text accordingly, so as to reduce the workload of subsequent recognition and finally obtain the medical segmentation sequence.

[0044] Furthermore, Figure 2 FIG. 1 is a flow chart of step S1 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention. Figure 2 As shown, step S1 may specifically include the following steps:

[0045] S11. Segment the medical diagnosis text to obtain preprocessed sentences.

[0046] Specifically, the Chinese word segmentation process includes the segmentation of medical diagnosis texts using natural language processing technology combined with a pre-set medical corpus word library. The corresponding Chinese words are identified by natural language processing technology and segmented. However, there are a large number of medical-specific words in the medical diagnosis text, and the corpus of ordinary natural language processing technology may not be able to accurately identify them. Therefore, by combining a specially set medical corpus for auxiliary segmentation, the accuracy of medical diagnosis text processing can be effectively improved.

[0047] S12. Pre-clean the pre-processed sentences to obtain sentences to be processed.

[0048] Specifically, since medical diagnosis texts may contain non-standard words such as aliases and abbreviations of medical terms, there is a certain probability of misrecognition when analyzing the medical diagnosis text. Therefore, these words need to be standardized to reduce the difficulty of subsequent processes and ensure more accurate recognition of subsequent segmented medical diagnosis texts.

[0049] Furthermore, pre-cleaning includes standardizing special terms in medical diagnosis texts. Specifically, the identification of non-standard terms can be standardized based on the aliases, abbreviations, abbreviations, etc. of professional terms in the medical corpus.

[0050] S13. Perform word segmentation processing on the sentence to be processed to obtain a medical word segmentation sequence.

[0051] Specifically, the sentences to be processed after cleaning have standardized medical terms. Based on the combination of natural language processing technology and medical corpus, they can better identify medical diagnosis texts and obtain medical word segmentation sequences, which contain both words that have been segmented and information about the sequence in which the word segments are located, thereby preventing the occurrence of word segmentation position confusion and affecting the accuracy of the final medical diagnosis text recognition and analysis results.

[0052] S2. Perform special part-of-speech tagging and medical semantic recognition processing on the medical word segmentation sequence to obtain a standardized positive assertion union.

[0053] Specifically, the medical word segmentation sequence is tagged according to the part of speech of the medical part. Each medical part defines its own medical part segmentation library. The computing engine references the corresponding medical part segmentation library to complete the part of speech tagging of the input word sequence, that is, to obtain the part of speech sequence; using the part of speech sequence as an input parameter, a unified positive diagnosis semantic model library is called to match the part of speech sequence regular expression, and for the successfully matched expression, the original expression is mapped into a unified standardized positive assertion expression within the system in combination with the segmentation library. In this process, some medical parts have special recognition modes and processing requirements, and callback processing is implemented by registering a personalized callback to the computing engine; by looping the above process for each medical part, the standardized positive assertion union can be obtained.

[0054] Furthermore, Figure 3 FIG. 4 is a flow chart of step S2 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention. Figure 3 As shown, step S2 may specifically include the following steps:

[0055] S21. Perform word segmentation cleaning on the medical word segmentation sequence to obtain standardized word segmentation.

[0056] Specifically, since medical diagnosis texts are usually complete texts, they must contain information such as word segmentation that is not necessary for medical analysis annotation, so it is necessary to perform word segmentation cleaning on the medical word segmentation sequence.

[0057] Furthermore, word segmentation cleaning includes word noise elimination. Specifically, noise words, meaningless words, interference words, etc. in the medical word segmentation sequence are identified and removed to obtain clean standardized word segmentations.

[0058] S22. Perform medical part identification on the standardized word segmentation, and perform part-of-speech tagging in combination with the word segmentation library corresponding to the medical part, to obtain a word segmentation part-of-speech tagging sequence for a specific medical part.

[0059] Specifically, the same participle may have different parts of speech in different medical parts or under different circumstances. For example, the same participle: premature beats; in the heart part, it is a positive identification word; but in the liver and gallbladder part, it is a noise word. Therefore, when performing part-of-speech tagging on standardized participles, it is necessary to distinguish different medical parts independently. At the same time, an independent medical part segmentation database is established for each medical department to ensure more accurate part-of-speech tagging.

[0060] The standardized word segmentation is divided into modules according to the medical part and each module is processed separately. The medical part modules are independent of each other, and the entire part-of-speech tagging process is chained by the medical part modules. The medical part modules share the same set of semantic recognition models described later, but the part-of-speech data of each medical part, that is, the word segmentation library corresponding to each medical part, are independent of each other and do not affect each other. Therefore, the medical part modules can be executed in a highly parallel manner, and without changing the framework, on the one hand, the processing performance can be improved, and on the other hand, new medical part modules can be added quickly and easily to improve scalability.

[0061] Furthermore, the method of word segmentation and part-of-speech tagging for different medical parts is as follows: since a standardized word segmentation sequence includes information on all medical parts in a medical diagnosis text, it is necessary to generate multiple word segmentation and part-of-speech tagging sequences according to different medical parts, that is, a word segmentation and part-of-speech tagging sequence is generated for each medical part.

[0062] S23. Perform semantic recognition on the word segmentation and part-of-speech tagging sequence in combination with the positive diagnosis semantic model corpus, and output the corresponding standardized positive statement set.

[0063] Specifically, according to the word segmentation part-of-speech tagging sequence, regular expression matching of the part-of-speech sequence is performed in the positive diagnosis semantic model corpus. A successful match indicates that the semantics corresponding to the expression is recognized, and then a standardized positive assertion set is generated and output according to the predefined rules of the expression.

[0064] Furthermore, the positive diagnosis semantic model lexicon stores semantic recognition models defined by regular expressions. According to actual situations, the recognition models in the positive diagnosis semantic model lexicon can be increased or decreased so that the positive diagnosis semantic model lexicon can meet the usage requirements.

[0065] S24, looping steps S22 and S23 until all medical parts are processed, merging the standardized positive assertion sets of each medical part, and outputting the union of standardized positive assertions of all parts.

[0066] Specifically, steps S22 and S23 are repeated to perform corresponding part-of-speech tagging and semantic recognition for each different medical part. After obtaining the standardized positive assertion set for each medical part, all the standardized positive assertion sets are merged to finally obtain the standardized positive assertion union.

[0067] Furthermore, in this embodiment, 19 medical parts are defined according to needs, including: thyroid, heart, lungs, liver and gallbladder, spleen and pancreas, kidneys, anorectal, stomach, ear, nose and throat, gums, pelvis, prostate, vertebrae, arteries, etc.; the above S22 and S23 processes are implemented for each medical part respectively, and finally the output includes the standardized positive assertion union of all medical parts.

[0068] Furthermore, each medical part module only focuses on and identifies the positive semantics related to the medical part, and outputs the positive judgment results related to the medical part. Therefore, the processing process can be highly parallelized. The recognition logic of each medical part can be executed independently and in parallel first, and then the results can be merged and output in a unified manner, thereby improving the algorithm processing performance. On the other hand, it is also easy to add recognition modules for new medical parts and continuously improve the recognition recall rate.

[0069] Furthermore, in this embodiment, a special part-of-speech model is provided for word segmentation and part-of-speech tagging, and specific definitions include: sn - feminine part-of-speech tagging, nc - examination noun, ny - masculine attributive noun, fm - family history marker, dl - merger word, nz - negative judgment, az - probability expression, nb - part name, nn - anti-part name, ss - masculine sentence segmentation, sy - masculine noun, dz - professional adjective, etc.

[0070] Further, the part-of-speech model for thyroid part segmentation part-of-speech tagging in one embodiment can be referred to in the following Table 1:

[0071]

[0072] Table 1

[0073] Furthermore, the recognition model stored in the positive diagnosis semantic model corpus can be specifically set as a set of part-of-speech sequence regular expressions. Figure 41 is an example data flow chart of steps S22 and S23 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention. Figure 4 As shown, the part-of-speech sequence in the word segmentation part-of-speech tagging sequence is matched with the positive diagnosis semantic model lexicon by regular expression, for example: the part-of-speech sequence (nb)(dz)(sy)(dl)(sy) in thyroid (nb) / multiple (dz) / nodule (sy) / and (dl) / cyst (sy) is compared with the positive diagnosis semantic model lexicon, matched to the A1 model, and (nb)(sy) is extracted according to the A1 model rules to construct a standardized positive statement for output, namely: thyroid nodule, thyroid cyst. And, the positive diagnosis semantic model in the positive diagnosis semantic model lexicon can be expanded according to actual conditions, so as to ensure the accuracy of this embodiment while having a wider range of applications.

[0074] Furthermore, due to the continuous development of medicine, new viruses, drugs, treatment methods, diseases, etc. continue to appear. Therefore, all medical vocabulary libraries in this embodiment are updateable. By adding an input interface to the vocabulary library, the input of artificial new words and new corpus can be realized, ensuring that each medical vocabulary library has better real-time performance, thereby effectively improving the recall rate of medical diagnostic text recognition.

[0075] S3. Perform label conversion processing on the standardized positive assertion set to obtain a positive label set of the medical diagnosis text.

[0076] Specifically, due to different usage scenarios, the final positive labels required may have different application scenarios. Therefore, when the standardized positive assertion union is applied to various businesses, it needs to be converted into labels in the business system to be truly integrated into the business system. Therefore, it is necessary to perform corresponding label conversion on the obtained standardized positive assertion union. For this conversion process, a corresponding mapping relationship is required, which can be pre-set in the mapping vocabulary, so as to finally obtain the positive label set of the medical diagnosis text.

[0077] Furthermore, Figure 5 FIG. 4 is a flow chart of step S3 of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention. Figure 5 As shown, step S3 may specifically include the following steps:

[0078] S31, searching for the positive label corresponding to each positive assertion in the standardized positive assertion set to obtain a positive label sequence.

[0079] Specifically, the mapping relationship of each positive assertion in the standardized positive assertion set is searched in a preset mapping vocabulary, and then replaced to obtain the positive label sequence of each positive assertion.

[0080] S32, grouping the positive label sequences to obtain a positive label set.

[0081] Specifically, by statistically aggregating the obtained positive label sequences according to requirements, a positive label set that meets the requirements is finally obtained, thereby completing the final annotation of the medical diagnosis text.

[0082] Further, some mapping relationships in the mapping vocabulary of an embodiment can be referred to in the following Table 2:

[0083]

[0084]

[0085] Table 2

[0086] The following is a specific implementation case:

[0087] In this embodiment, the python3 programming language is used to implement it, and the open source python Chinese word segmentation component jieba is referenced.

[0088] Figure 6 FIG. 1 is a flow chart of an embodiment of a method for analyzing and annotating medical diagnosis text based on natural language processing according to the present invention. Figure 6 As shown, the specific implementation process of this embodiment is as follows:

[0089] 1. Input the entire original diagnosis text, i.e. the medical diagnosis text, into the system. The word segmentation processing module is responsible for segmenting the text according to the sentence identification of the sentence rule library in the natural language processing technology, and outputs the sentence list S1, S2, ...

[0090] 2. The sentence lists S1, S2, ... are sent to the sentence pre-cleaning module for pre-cleaning. The pre-cleaning actions include synonym replacement, special character processing, and normalization of common non-standard terms or abbreviations used by doctors. The pre-set specific rules are maintained in the cleaning rule library. After cleaning, the sentence lists Y1, Y2, ... are output. The subsequent processing steps will be executed cyclically for each sentence.

[0091] 3. Perform Chinese word segmentation on the input sentence Yi. By introducing the open source Chinese NLP word segmentation component jieba and superimposing a custom medical corpus vocabulary for the medical diagnosis field, an ordered Chinese medical word segmentation sequence is output. The medical word segmentation sequence is then cleaned to screen out noise words that are irrelevant to the semantics in the medical word segmentation sequence, and a clean medical word segmentation sequence Wi1, Wi2,... is output.

[0092] 4. The medical word segmentation sequence is input into the semantic recognition computing engine for pattern matching. The computing engine serially calls each medical part component to identify positive statements for each medical part. Each medical part component has its own part-of-speech dictionary, namely the medical part-of-speech library. After the computing engine references the part-of-speech dictionary to complete the input word sequence annotation, it calls the unified diagnostic model regular expression library to match the part-of-speech regular expression. For the successfully matched expression, it combines the part-of-speech dictionary to convert the original expression into a unified positive statement expression SSi within the system. In this process, some parts have special recognition modes and processing requirements, and callback processing is implemented by registering a personalized callback to the computing engine.

[0093] 5. The recognition results of all medical parts are fed into the positive judgment collection processing module for deduplication and merging, and the recognition results are output, namely the standardized positive judgment set SS1, SS2, ...

[0094] 6. The standardized positive assertion set is the internal specification of the system. To convert it into a positive label set that can be combined with the external business system, it is completed through the mapping engine. The mapping engine relies on the pre-set "positive assertion-standard positive label" mapping vocabulary and is managed by the mapping maintenance management module. The final output is the positive label set STag1, STag2, ...

[0095] Furthermore, this embodiment has been actually applied to provide a customer with intelligent analysis services for physical examination report data. In this embodiment, the results of training, testing, and verification on a dataset of tens of millions of manually correctly annotated data show that the precision index of the medical diagnosis text analysis and annotation method based on natural language processing of the present invention reaches 100%, and the recall index reaches 80%.

[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A medical diagnosis text analysis and annotation method based on natural language processing, characterized in that: The following steps are involved: S1. Perform Chinese word segmentation processing on the medical diagnosis text to obtain a medical word segmentation sequence; S2, performing special part-of-speech tagging and medical semantic recognition processing on the medical word segmentation sequence to obtain a standardized positive assertion union; S3, performing label conversion processing on the standardized positive assertion set to obtain a positive label set of the medical diagnosis text; The S2 step includes the following steps: S21, performing word segmentation cleaning on the medical word segmentation sequence to obtain a standardized word segmentation sequence; S22, performing medical part recognition on the standardized word segmentation sequence, and performing word segmentation part-of-speech tagging in combination with the word segmentation library corresponding to the medical part, to obtain a word segmentation part-of-speech tagging sequence corresponding to the medical part; S23, performing semantic recognition on the word segmentation part-of-speech tag sequence in combination with the positive diagnosis semantic model library, and outputting a standardized positive statement set of the corresponding medical part; S24, looping the steps S22 and S23 until all medical parts are processed, merging the standardized positive assertion sets of each medical part, and outputting the standardized positive assertion union of all parts.

2. The medical diagnosis text analysis and annotation method based on natural language processing according to claim 1 is characterized in that: The Chinese word segmentation processing and special part-of-speech tagging processing are processed by using natural language processing technology combined with a pre-set medical corpus vocabulary.

3. The medical diagnosis text analysis and annotation method based on natural language processing according to claim 1 is characterized in that: The medical semantic recognition process is processed by matching part-of-speech sequence regular expressions.

4. The medical diagnosis text analysis and annotation method based on natural language processing according to claim 1 is characterized in that: The S1 step includes the following steps: S11, performing sentence segmentation processing on the medical diagnosis text to obtain preprocessed sentences; S12, pre-cleaning the pre-processed sentences to obtain sentences to be processed; S13, performing word segmentation processing on the sentence to be processed to obtain the medical word segmentation sequence.

5. The medical diagnosis text analysis and annotation method based on natural language processing according to claim 1 is characterized in that: The word segmentation and part-of-speech tagging are performed according to the medical part. The word segmentation libraries of each medical part are independent and do not affect each other, but share the same set of semantic recognition models; thereby, the recognition calculation process of each medical part can be highly parallelized to improve performance.

6. The medical diagnosis text analysis and annotation method based on natural language processing according to claim 1 is characterized in that: In step S21, the word segmentation cleaning includes word noise elimination.

7. The method for analyzing and annotating medical diagnosis text based on natural language processing according to claim 1, characterized in that: In step S22, the method for word segmentation and part-of-speech tagging for different medical parts is: a plurality of word segmentation and part-of-speech tagging sequences are generated for one standardized word segmentation sequence, so that each medical part corresponds to one word segmentation and part-of-speech tagging sequence.

8. The method for analyzing and annotating medical diagnosis text based on natural language processing according to claim 1, characterized in that: In step S23, the method of semantic recognition is: using regular expressions to define the semantic recognition model of the part-of-speech sequence, and storing it in the positive diagnosis semantic model library, and realizing the semantic recognition of the part-of-speech sequence through the pattern matching method of regular expressions.

9. The method for analyzing and annotating medical diagnosis text based on natural language processing according to claim 1, characterized in that: The S3 step includes the following steps: S31, searching for a positive label corresponding to each positive assertion in the standardized positive assertion set to obtain a positive label sequence; S32: Collect the positive label sequences to obtain the positive label set.