Method and system for determining target medical concept corresponding to medical text
Patent Information
- Application Number
- CN202211410416.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-11
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-11-11
AI Technical Summary
[0004]本申请提供医疗文本对应的目标医疗概念的确定方法及系统,以至少解决确定的医疗概念的精度较低的技术问题
Smart Images

Figure CN115714029B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical concept identification, and in particular to a method and system for identifying the target medical concept corresponding to a medical text. Background Technology
[0002] With the rapid development of medical technology, the mining and analysis of medical texts has become one of the core tasks of medical development. The diversity of vocabulary and grammatical variations in medical texts presents a key challenge to the development of natural language processing technology. For example, medical entities such as heart attack, myocardial infarction, myocardial infarction, and stroke all refer to the same concept. Eliminating ambiguity by mapping them to corresponding concepts in a knowledge base is crucial; this task is called concept normalization.
[0003] However, existing concept normalization methods are usually implemented through string matching and dictionary lookup. This approach results in low accuracy of the determined medical concepts for medical entities that have not appeared before. Summary of the Invention
[0004] This application provides a method and system for determining the target medical concept corresponding to a medical text, so as to at least solve the technical problem of low accuracy in determining the medical concept.
[0005] The first aspect of this application proposes a method for determining the target medical concept corresponding to medical text, the method comprising:
[0006] Obtain the medical text to be processed and the seed words corresponding to the medical text, and determine the initial set of medical terms corresponding to the medical text to be processed;
[0007] Based on the seed words, determine the context features corresponding to each medical term in the initial set of medical terms, and based on the context features corresponding to each medical term, determine the context feature set corresponding to each medical term;
[0008] The target medical concept corresponding to the medical text is determined based on the set of contextual features corresponding to each medical term.
[0009] Preferably, determining the initial set of medical terms corresponding to the medical text to be processed includes:
[0010] The medical text to be processed is input into a pre-trained first Bert model and a pre-trained second Bert model respectively to obtain the first attention matrix and the second attention matrix corresponding to the medical text to be processed.
[0011] In the second attention matrix, the smallest matrix that satisfies the word formation condition is determined, and the words corresponding to the smallest matrix are added to the term set;
[0012] In the first attention matrix, determine the relation matrix corresponding to each word in the term set, and form an initial set of medical terms from the words whose corresponding relation matrices do not meet the word formation conditions.
[0013] Furthermore, the step of determining the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and determining the context feature set corresponding to each medical term based on the context features corresponding to each medical term, includes:
[0014] The score of each context feature corresponding to each medical term in the initial set of medical terms is determined based on the seed word;
[0015] The scores of each context feature corresponding to each medical term are sorted in descending order to form a sequence of context feature scores for each medical term.
[0016] The first q context features in each of the scoring sequences are selected as the context feature set corresponding to each medical term.
[0017] Furthermore, determining the target medical concept corresponding to the medical text based on the context feature set corresponding to each medical term includes:
[0018] The medical concept set corresponding to the medical text is determined based on the context feature set corresponding to each medical term.
[0019] The candidate sorter of the BERT model is used to select the top N medical concepts from the medical concept set, and the selected N medical concepts are used as the target medical concepts corresponding to the medical text; wherein, N is a positive integer greater than or equal to 1, and the candidate sorter is used to sort all medical concepts in the medical concept set according to a preset sorting rule.
[0020] A second aspect of this application proposes a system for determining the target medical concept corresponding to medical text, comprising:
[0021] The first determining module is used to obtain the medical text to be processed and the seed words corresponding to the medical text, and to determine the initial set of medical terms corresponding to the medical text to be processed;
[0022] The second determining module is used to determine the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and to determine the context feature set corresponding to each medical term based on the context features corresponding to each medical term.
[0023] The third determining module is used to determine the target medical concept corresponding to the medical text based on the context feature set corresponding to each medical term.
[0024] Preferably, the first determining module includes:
[0025] The acquisition unit is used to acquire the medical text to be processed and the seed words corresponding to the medical text.
[0026] The first determining unit is used to input the medical text to be processed into a pre-trained first Bert model and a pre-trained second Bert model respectively, to obtain a first attention matrix and a second attention matrix corresponding to the medical text to be processed.
[0027] The second determining unit is used to determine the smallest matrix that satisfies the word formation condition in the second attention matrix, and add the words corresponding to the smallest matrix to the term set;
[0028] The third determining unit is used to determine the relation matrix corresponding to each word in the term set in the first attention matrix, and to form an initial set of medical terms from the words whose corresponding relation matrices do not meet the word formation conditions.
[0029] Furthermore, the second determining module includes:
[0030] The fourth determining unit is used to determine the score of each context feature corresponding to each medical term in the initial set of medical terms based on the seed word;
[0031] The scoring sequence unit is used to sort the scores of each context feature corresponding to each medical term in descending order to form a score sequence of context features corresponding to each medical term.
[0032] The selection unit is used to select the top q context features from each of the score sequences as the context feature set corresponding to each medical term.
[0033] Furthermore, the third determining module includes:
[0034] The fourth determining unit is used to determine the set of medical concepts corresponding to the medical text based on the set of context features corresponding to each medical term.
[0035] The filtering unit is used to filter out the top N medical concepts from the medical concept set using the candidate sorter of the BERT model, and to take the filtered N medical concepts as the target medical concepts corresponding to the medical text; wherein, N is a positive integer greater than or equal to 1, and the candidate sorter is used to sort all medical concepts in the medical concept set according to a preset sorting rule.
[0036] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the method described in the first aspect embodiment.
[0037] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method described in the first aspect.
[0038] The technical solutions provided by the embodiments of this application bring at least the following beneficial effects:
[0039] This application proposes a method and system for determining the target medical concept corresponding to medical text. The method includes: acquiring the medical text to be processed and the seed words corresponding to the medical text, and determining an initial set of medical terms corresponding to the medical text to be processed; determining the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and determining a set of context features corresponding to each medical term based on the context features corresponding to each medical term; and determining the target medical concept corresponding to the medical text based on the set of context features corresponding to each medical term. The technical solution proposed in this application can accurately determine the target medical concept corresponding to medical text.
[0040] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0041] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0042] Figure 1 This is a flowchart illustrating a method for determining a target medical concept corresponding to a medical text according to an embodiment of this application;
[0043] Figure 2 This is a structural diagram of a method for determining a target medical concept corresponding to medical text according to an embodiment of this application;
[0044] Figure 3This is a structural diagram of a first determining module provided according to an embodiment of this application;
[0045] Figure 4 This is a structural diagram of a second determining module provided according to an embodiment of this application;
[0046] Figure 5 This is a structural diagram of a third determining module provided according to an embodiment of this application. Detailed Implementation
[0047] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0048] This application proposes a method and system for determining the target medical concept corresponding to medical text. The method includes: acquiring the medical text to be processed and the seed words corresponding to the medical text, and determining an initial set of medical terms corresponding to the medical text to be processed; determining the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and determining a set of context features corresponding to each medical term based on the context features corresponding to each medical term; and determining the target medical concept corresponding to the medical text based on the set of context features corresponding to each medical term. The technical solution proposed in this application can accurately determine the target medical concept corresponding to medical text.
[0049] The method and system for determining the target medical concept corresponding to the medical text in this application are described below with reference to the accompanying drawings.
[0050] Example 1
[0051] Figure 1 This is a flowchart illustrating a method for determining a target medical concept corresponding to medical text according to an embodiment of this application, as shown below. Figure 1 As shown, the method includes:
[0052] Step 1: Obtain the medical text to be processed and the seed words corresponding to the medical text, and determine the initial set of medical terms corresponding to the medical text to be processed;
[0053] In this embodiment of the disclosure, step 1 specifically includes:
[0054] Step 1-1: Input the medical text to be processed into the pre-trained first BERT model and the pre-trained second BERT model respectively to obtain the first attention matrix and the second attention matrix corresponding to the medical text to be processed;
[0055] For example, after inputting the medical text to be processed into the second BERT model, the attention matrix of the topmost layer of the second BERT model is taken as the second attention matrix. Each element in the second attention matrix represents the professional semantic relevance strength between two words. For example, in the second attention of the sentence in the medical text to be processed, the element corresponding to the x-th row and y-th column represents the professional semantic relevance strength of the y-th word in the sentence to the x-th word. When x = y, the element corresponding to the x-th row and y-th column represents the autocorrelation strength of the x-th word in the sentence.
[0056] Step 1-2: Determine the smallest matrix that satisfies the word formation condition in the second attention matrix, and add the words corresponding to the smallest matrix to the term set;
[0057] It should be noted that the smallest matrix that meets the word formation criteria is cyclically selected from the second attention matrix. The selection and determination process is as follows:
[0058] S1. Obtain the initial values of i, k, and the number of rows N of the second attention matrix, where the initial value of i is 1 and the initial value of k is 1;
[0059] S2. Determine if i is greater than or equal to N. If i is neither greater than nor equal to N, proceed to S253; if i is greater than or equal to N, proceed to S7.
[0060] S3. In the second attention matrix, determine the pre-selected matrix with row number and column number from i to i+k, and determine whether the pre-selected matrix meets the word formation condition;
[0061] S4. If the pre-selected matrix meets the word formation condition, then the pre-selected matrix is determined as the minimum matrix, and the words corresponding to the minimum matrix are added to the term set, i = i + k + 1, k = 1, and proceed to execute S252; if the pre-selected matrix does not meet the word formation condition, then proceed to execute S5.
[0062] S5. Determine if k is equal to Ni. If k is not equal to Ni, then k = k + 1, and proceed to S253; if k is equal to Ni, then proceed to S6.
[0063] S6. Set i = i + 1 and k = 1, then proceed to execute S2;
[0064] S7. End the loop operation.
[0065] After determining the preselected matrix in the above steps, when judging whether the preselected matrix meets the word formation conditions, the word formation conditions may include a first condition and a second condition. The judgment can be made according to the following first condition and second condition. Specifically, when each row element in the preselected matrix meets the following first condition and second condition, the preselected matrix is determined to be the minimum matrix.
[0066] The first condition includes: calculating the sum of the elements in a row, where the sum is greater than or equal to a first threshold.
[0067] The second condition includes: calculating the sum of all elements in a row except for the element with column number h, where the sum is greater than or equal to the sum of all elements in the row.
[0068] It equals the second threshold, where h equals the current row number q.
[0069] Optionally, the words corresponding to the smallest matrix are added, including:
[0070] Store the words corresponding to the smallest matrix, as well as the row and column numbers of the smallest matrix, into a term set.
[0071] The medical text to be processed is input into the first BERT model, and the resulting first attention matrix includes:
[0072] After inputting the medical text to be processed into the first BERT model, the attention matrix of the topmost layer of the first BERT model is taken as the first attention matrix. Each element in the first attention matrix represents the general semantic correlation strength between two words. For example, in the first attention matrix of the medical text to be processed, the element corresponding to the x-th row and y-th column represents the general semantic correlation strength between the y-th word and the x-th word in the sentence. When x = y, the element corresponding to the x-th row and y-th column represents the autocorrelation strength of the x-th word in the sentence.
[0073] Steps 1-3: Determine the relation matrix corresponding to each word in the term set in the first attention matrix, and form an initial set of medical terms from the words whose corresponding relation matrices do not meet the word formation conditions.
[0074] It should be noted that the generality and specialization of a word are relative. When a word is highly general, it may indicate that it is not a specialized term. Therefore, words with high generality can be filtered out from the terminology collection. The specific process may include the following steps:
[0075] For each word in the terminology set, the relation matrix corresponding to the word is determined in the first attention matrix based on the corresponding row and column numbers. It is then determined whether the relation matrix meets the word formation condition. If the relation matrix does not meet the word formation condition, the word corresponding to the relation matrix is identified as a professional term. If the relation matrix meets the word formation condition, the relation matrix is deleted from the terminology set.
[0076] The first BERT model is based on a general corpus collected through internet crawling. The data in the general corpus can be multiple general articles. These general articles are segmented into sentences to create general training samples. The initial first BERT model is then trained using these general training samples to obtain a trained first BERT model. Specific training methods can refer to existing technologies, and will not be elaborated upon in this invention.
[0077] The second Bert model is based on the acquired professional corpus and professional training samples. The initial second Bert model is trained according to the professional training samples to obtain the trained second Bert model.
[0078] Step 2: Determine the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and determine the context feature set corresponding to each medical term based on the context features corresponding to each medical term;
[0079] In this embodiment of the disclosure, step 2 specifically includes:
[0080] Step 2-1: Determine the score of each context feature corresponding to each medical term in the initial set of medical terms based on the seed words;
[0081] Obtain various medical terms w i The medical text that appears has the following context information: {w i-n , ...w i , ...w i+n}, which is a word sequence of length 2n+1. This step generates w by setting different values for n in each text. i Given the context features c, generate a context feature set C;
[0082] At the same time, the medical terms with obvious errors are filtered out by comparing the type to which the term belongs with the type contained in the seed word.
[0083] Calculate the relevance score between the context features and the seed words in the context feature set corresponding to each medical term.
[0084] Step 2-2: Sort the scores of each context feature corresponding to each medical term in descending order to form a sequence of context feature scores for each medical term;
[0085] Steps 2-3: Select the top q context features from each of the score sequences as the context feature set corresponding to each medical term.
[0086] Step 3: Determine the target medical concept corresponding to the medical text based on the context feature set corresponding to each medical term.
[0087] In this embodiment of the disclosure, step 3 specifically includes:
[0088] Step 3-1: Determine the set of medical concepts corresponding to the medical text based on the set of context features corresponding to each medical term;
[0089] Step 3-2: Use the candidate sorter of the BERT model to select the top N medical concepts from the medical concept set, and use the selected N medical concepts as the target medical concepts corresponding to the medical text; wherein, N is a positive integer greater than or equal to 1, and the candidate sorter is used to sort all medical concepts in the medical concept set according to a preset sorting rule.
[0090] Furthermore, step 3-2 includes:
[0091] The candidate sorter of the BERT model is used to determine the second hidden vector and the preset second weight corresponding to each medical concept in the medical concept set;
[0092] Connect the second hidden vectors of all medical concepts in the medical concept set to form a matrix;
[0093] The second standard classification loss value of the medical concept is calculated using the matrix and the preset second weights;
[0094] Based on the ranking of the second standard classification loss values, the top N medical concepts are selected.
[0095] The matrix formed by concatenating the second hidden vectors of all medical concepts in the medical concept set includes:
[0096] Obtain synonyms for all medical concepts in the set of medical concepts;
[0097] Determine the hidden vector of the synonyms to obtain the second hidden vector, and connect the second hidden vectors of all medical concepts to form a matrix.
[0098] In summary, the method for determining the target medical concept corresponding to medical text proposed in this embodiment can accurately determine the target medical concept corresponding to medical text.
[0099] Example 2
[0100] Figure 2 This is a structural diagram of a system for determining the target medical concept corresponding to medical text according to an embodiment of this application, as shown below. Figure 2 As shown, the system includes:
[0101] The first determining module 100 is used to obtain the medical text to be processed and the seed words corresponding to the medical text, and to determine the initial set of medical terms corresponding to the medical text to be processed;
[0102] The second determining module 200 is used to determine the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and to determine the context feature set corresponding to each medical term based on the context features corresponding to each medical term.
[0103] The third determining module 300 is used to determine the target medical concept corresponding to the medical text based on the context feature set corresponding to each medical term.
[0104] The first determining module 100, such as Figure 3 As shown, it includes:
[0105] The acquisition unit 101 is used to acquire the medical text to be processed and the seed words corresponding to the medical text;
[0106] The first determining unit 102 is used to input the medical text to be processed into a pre-trained first Bert model and a pre-trained second Bert model respectively, to obtain a first attention matrix and a second attention matrix corresponding to the medical text to be processed.
[0107] The second determining unit 103 is used to determine the smallest matrix that satisfies the word formation condition in the second attention matrix, and add the words corresponding to the smallest matrix to the term set;
[0108] The third determining unit 104 is used to determine the relation matrix corresponding to each word in the term set in the first attention matrix, and to form an initial set of medical terms by constructing words whose corresponding relation matrices do not meet the word formation conditions.
[0109] In this embodiment of the disclosure, the second determining module 200, as follows: Figure 4 As shown, it includes:
[0110] The fourth determining unit 201 is used to determine the score of each context feature corresponding to each medical term in the initial set of medical terms based on the seed word;
[0111] The scoring sequence unit 202 is used to sort the scores of each context feature corresponding to each medical term in descending order to form a context feature score sequence corresponding to each medical term.
[0112] The selection unit 203 is used to select the first q context features from each of the score sequences as the context feature set corresponding to each medical term.
[0113] In this embodiment of the disclosure, the third determining module 300, as follows: Figure 5 As shown, it includes:
[0114] The fourth determining unit 301 is used to determine the set of medical concepts corresponding to the medical text based on the set of context features corresponding to each medical term.
[0115] The filtering unit 302 is used to filter out the top N medical concepts from the medical concept set using the candidate sorter of the BERT model, and to take the filtered N medical concepts as the target medical concepts corresponding to the medical text; wherein, N is a positive integer greater than or equal to 1, and the candidate sorter is used to sort all medical concepts in the medical concept set according to a preset sorting rule.
[0116] In summary, the target medical concept determination system corresponding to medical text proposed in this embodiment can accurately determine the target medical concept corresponding to medical text.
[0117] Example 3
[0118] To implement the above embodiments, this disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the method described in Embodiment 1.
[0119] Example 4
[0120] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in Embodiment 1.
[0121] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0122] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0123] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for determining the target medical concept corresponding to a medical text, characterized in that, The method includes: The process involves obtaining the medical text to be processed and its corresponding seed words, and determining an initial set of medical terms corresponding to the medical text. This includes: inputting the medical text to be processed into a pre-trained first BERT model and a pre-trained second BERT model to obtain a first attention matrix and a second attention matrix corresponding to the medical text; inputting the medical text to be processed into the second BERT model, taking the attention matrix of the topmost layer of the second BERT model as the second attention matrix, where each element represents the semantic relevance strength between two characters; determining the smallest matrix that satisfies the word formation condition in the second attention matrix, and adding the words corresponding to the smallest matrix to the terminology set; determining the relation matrix corresponding to each word in the terminology set in the first attention matrix, and constructing an initial set of medical terms from words whose corresponding relation matrices do not satisfy the word formation condition. Based on the seed words, determine the context features corresponding to each medical term in the initial set of medical terms, and determine the context feature set corresponding to each medical term based on the context features corresponding to each medical term, including: determining the score of each context feature corresponding to each medical term in the initial set of medical terms based on the seed words, wherein, obtaining the score of each medical term w i The medical text that appears has the following context information: {w i-n , ...w i , ...w i+n Given a sequence of words of length 2n+1, we generate w by setting different values for n in each text. i The context features c are used to generate a context feature set C; at the same time, the medical terms with obvious errors are filtered out by comparing the type of the term with the type of the seed word; the relevance score between the context features and the seed word in the context feature set corresponding to each medical term is calculated; the scores of each context feature corresponding to each medical term are sorted in descending order to form a context feature score sequence corresponding to each medical term; the first q context features in each score sequence are selected as the context feature set corresponding to each medical term. The target medical concept corresponding to the medical text is determined based on the set of contextual features corresponding to each medical term.
2. The method as described in claim 1, characterized in that, The step of determining the target medical concept corresponding to the medical text based on the context feature set corresponding to each medical term includes: The medical concept set corresponding to the medical text is determined based on the context feature set corresponding to each medical term. The candidate sorter of the BERT model is used to select the top N medical concepts from the medical concept set, and the selected N medical concepts are used as the target medical concepts corresponding to the medical text; wherein, N is a positive integer greater than or equal to 1, and the candidate sorter is used to sort all medical concepts in the medical concept set according to a preset sorting rule.
3. A system for determining the target medical concept corresponding to a medical text, characterized in that, include: The first determining module is used to obtain the medical text to be processed and the seed words corresponding to the medical text, and to determine the initial set of medical terms corresponding to the medical text to be processed; The first determining module includes: The acquisition unit is used to acquire the medical text to be processed and the seed words corresponding to the medical text; The first determining unit is used to input the medical text to be processed into a pre-trained first BERT model and a pre-trained second BERT model respectively, to obtain the first attention matrix and the second attention matrix corresponding to the medical text to be processed. After inputting the medical text to be processed into the second BERT model, the attention matrix of the uppermost layer of the second BERT model is taken as the second attention matrix. Each element in the second attention matrix represents the professional semantic correlation strength between two characters. The second determining unit is used to determine the smallest matrix that satisfies the word formation condition in the second attention matrix, and add the words corresponding to the smallest matrix to the term set; The third determining unit is used to determine the relation matrix corresponding to each word in the term set in the first attention matrix, and to form an initial set of medical terms by words whose corresponding relation matrices do not meet the word formation conditions. The second determining module is used to determine the context features corresponding to each medical term in the initial set of medical terms based on the seed words, and to determine the context feature set corresponding to each medical term based on the context features corresponding to each medical term. The third determining module is used to determine the target medical concept corresponding to the medical text based on the context feature set corresponding to each medical term. The second determining module includes: The fourth determining unit is used to determine the score of each context feature corresponding to each medical term in the initial set of medical terms based on the seed words, wherein the score of each medical term w is obtained. i The medical text that appears has the following context information: {w i-n , ...w i , ...w i+n Given a sequence of words of length 2n+1, we generate w by setting different values for n in each text. i The context features c are used to generate a context feature set C; at the same time, the medical terms with obvious term errors are filtered out by comparing the type of the term with the type of the seed word; the relevance score between the context features and the seed word in the context feature set corresponding to each medical term is calculated. The scoring sequence unit is used to sort the scores of each context feature corresponding to each medical term in descending order to form a score sequence of context features corresponding to each medical term. The selection unit is used to select the top q context features from each of the score sequences as the context feature set corresponding to each medical term.
4. The determining system as described in claim 3, characterized in that, The third determining module includes: The fourth determining unit is used to determine the set of medical concepts corresponding to the medical text based on the set of context features corresponding to each medical term. The filtering unit is used to filter out the top N medical concepts from the medical concept set using the candidate sorter of the BERT model, and to take the filtered N medical concepts as the target medical concepts corresponding to the medical text; wherein, N is a positive integer greater than or equal to 1, and the candidate sorter is used to sort all medical concepts in the medical concept set according to a preset sorting rule.
5. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1-2.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-2.
Citation Information
Patent Citations
Concept recognition method and device of medical entity, equipment and storage medium
CN113204968A
Text classification method and device based on target semantics, equipment and storage medium
CN113486670A
Professional term extraction method and device based on Bert model
CN113569016A
