Image report label evaluation method, device, computer equipment and storage medium

By parsing the descriptive and conclusive text in the imaging report, the organ and attribute keywords are obtained to determine the label matching, which solves the problem of manual review dependence in the existing technology and improves the accuracy and efficiency of evaluating imaging report labels.

CN113297836BActive Publication Date: 2024-08-27SHANZHEN (SHANGHAI) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110588164.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-28
Publication Date
2024-08-27
Estimated Expiration
2041-05-28

AI Technical Summary

Technical Problem

In the existing technology, the accuracy assessment of image report labels relies on manual review, which is time-consuming and labor-intensive and difficult to obtain objective and unified results, affecting subsequent data applications.

Method used

By obtaining the descriptive text and concluding text in the imaging report, parsing the organ keywords and attribute keywords, obtaining the matching target text to determine the matching of the label and the imaging report, and automatically evaluating the accuracy of the label.

Benefits of technology

It improves the accuracy and efficiency of label evaluation, reduces reliance on manual review, and achieves a more objective and unified judgment of label accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113297836B
    Figure CN113297836B
Patent Text Reader

Abstract

This article provides an imaging report label evaluation method, device, computer equipment and storage medium, wherein the method includes: obtaining an imaging report to be evaluated and its label, wherein the label is extracted from the imaging report in advance; parsing the imaging report to obtain a descriptive text and a concluding text; parsing the label to obtain an organ keyword and an attribute keyword; obtaining a first target text from the descriptive text and a second target text from the concluding text according to the organ keyword and the attribute keyword; judging whether the label matches the imaging report according to the first target text and the second target text. This article can solve the problem that the prior art needs to rely on manual review to determine whether the label of the imaging report is accurate, and can improve the accuracy and efficiency of label evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data analysis, and in particular to an image report label evaluation method, device, computer equipment and storage medium. Background Art

[0002] Efficient use of big data technology and full exploration of the value of medical and health big data are of great significance for research on disease diagnosis, prognosis and basic science. However, most medical texts are stored in PDF (Portable Document Format), that is, the data information therein is in an unstructured state, which is difficult to extract and limits the analysis and application of the data. Among them, the amount of medical imaging report data is large and has a relatively regular structure, which is conducive to the attempt to structure the data. In the prior art, the information in the imaging report is often extracted and converted into structured and applicable labels through methods such as rule extraction, natural language semantic analysis and text annotation. However, the evaluation of the accuracy of the extracted labels in the prior art still mainly relies on manual review, which is time-consuming and labor-intensive, and it is difficult to obtain relatively objective and unified results. The accuracy of the label directly affects the subsequent data application. Therefore, there is an urgent need for a set of label accuracy evaluation methods to help evaluate the accuracy of the label. Summary of the invention

[0003] In view of the above-mentioned problems in the prior art, the purpose of this article is to provide an image report label evaluation method, device, computer equipment and storage medium to solve the time-consuming, labor-intensive and inaccurate problems caused by manual review of image report labels in the prior art.

[0004] In order to solve the above technical problems, the specific technical solutions of this article are as follows:

[0005] On the one hand, this article provides an image report label evaluation method, comprising:

[0006] Obtaining an imaging report to be evaluated and a label thereof, wherein the label is extracted in advance from the imaging report;

[0007] Parsing the imaging report to obtain descriptive text and concluding text;

[0008] Parsing the tag to obtain organ keywords and attribute keywords;

[0009] According to the organ keyword and the attribute keyword, a first target text is obtained from the descriptive text, and a second target text is obtained from the concluding text;

[0010] According to the first target text and the second target text, it is determined whether the label matches the image report.

[0011] Specifically, the acquiring of the first target text from the descriptive text and the acquiring of the second target text from the concluding text according to the organ keyword and the attribute keyword includes:

[0012] Respectively obtaining the first position coordinates and the second position coordinates of the organ keyword and the attribute keyword in the descriptive text;

[0013] Acquire the first target text according to the first position coordinates and the second position coordinates;

[0014] Respectively obtaining the third position coordinate and the fourth position coordinate of the organ keyword and the attribute keyword in the concluding text;

[0015] The second target text is acquired according to the third position coordinates and the fourth position coordinates.

[0016] Specifically, obtaining the first target text according to the first position coordinates and the second position information coordinates includes:

[0017] Determining whether the first position coordinates and the second position coordinates are unique;

[0018] If the first position coordinates and the second position coordinates are both unique, obtaining the first position coordinates, the second position coordinates and the text therebetween as the first target text;

[0019] If the number of the first position coordinates and / or the second position coordinates is greater than or equal to two, obtain the forward distance between each first position coordinate and each second position coordinate, and select a set of first position coordinates and second position coordinates with the smallest forward distance, and the text between the two as the first target text.

[0020] Furthermore, before determining whether the first position coordinates are unique, the method further includes:

[0021] Determine whether the first position coordinates are empty;

[0022] If the first position coordinate is empty, determining whether there are other organ keywords in the descriptive text;

[0023] If so, determining that the label does not match the image report;

[0024] If it does not exist, the organ keyword is added to the head of the descriptive text.

[0025] Furthermore, before determining whether the first position coordinates are empty, the method further includes:

[0026] Determine whether the second position coordinates are empty;

[0027] If the second position coordinates are empty, it is determined that the first target text is empty.

[0028] Furthermore, the first target text is obtained according to the first position coordinates and the second position information coordinates:

[0029] Determine whether there is a punctuation mark between the first position coordinates and the second position coordinates;

[0030] If it exists, the text between the punctuation mark and the second position coordinates is obtained as the first target text.

[0031] Specifically, the acquiring the second target text according to the third position coordinates and the fourth position coordinates includes:

[0032] Determine whether the fourth position coordinate is empty;

[0033] If the fourth position coordinate is empty, determining that the second target text is empty;

[0034] If the fourth position coordinates are not empty, determining whether the third position coordinates are empty;

[0035] If the third position coordinate is not empty, obtaining the third position coordinate, the fourth position coordinate and the text therebetween as the second target text;

[0036] If the third position coordinate is empty, the organ keyword is added to the head of the concluding text.

[0037] Specifically, judging whether the label matches the image report according to the first target text and the second target text includes:

[0038] If the second target text is empty, determining whether the first target text is empty;

[0039] If the first target text is empty, determining that the label does not match the image report;

[0040] If the first target text is not empty, determining whether other organ keywords and negative words exist in the first target text;

[0041] If there are no other organ keywords and no negative words, it is determined that the label matches the imaging report;

[0042] If other organ keywords and / or negative words exist, it is determined that the label does not match the imaging report.

[0043] Furthermore, the method further comprises:

[0044] If the second target text is not empty, determining whether other organ keywords exist in the second target text;

[0045] If no other organ keywords exist in the second target text, determining whether there are negative words in the second target text;

[0046] If there is a negative word in the second target text, determining that the label does not match the image report;

[0047] If there is no negative word in the second target text, it is determined that the label matches the image report.

[0048] Furthermore, the method further comprises:

[0049] If other organ keywords exist in the second target text, determining whether the first target text is empty;

[0050] If the first target text is empty, determining that the label does not match the image report;

[0051] If the first target text is not empty, determining whether other organ keywords and negative words exist in the first target text;

[0052] If there are no other organ keywords and no negative words in the first target text, it is determined that the label matches the imaging report;

[0053] If other organ keywords and / or negative words exist, it is determined that the label does not match the imaging report.

[0054] On the other hand, the present invention also provides an image report label evaluation device, comprising:

[0055] A first acquisition module is used to acquire an image report to be evaluated and a label thereof, wherein the label is extracted from the image report in advance;

[0056] A first parsing module, used to parse the imaging report to obtain a descriptive text and a concluding text;

[0057] A second parsing module is used to parse the tag to obtain organ keywords and attribute keywords;

[0058] A second acquisition module, used for acquiring a first target text from the descriptive text and a second target text from the concluding text according to the organ keyword and the attribute keyword;

[0059] A judgment module is used to judge whether the label matches the image report according to the first target text and the second target text.

[0060] On the other hand, this document also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided by the above technical solution when executing the computer program.

[0061] On the other hand, this document also provides a computer storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method provided by the above technical solution is implemented.

[0062] By adopting the above technical scheme, an imaging report label evaluation method, device, computer equipment and storage medium provided in this article parse the label into organ keywords and attribute keywords to obtain matching descriptive text and conclusive text respectively, thereby obtaining the first target text and the second target text for judging whether the label matches; it can not only overcome the problem of whether the imaging report label is accurate and dependent on manual review, but also improve the accuracy and efficiency of label evaluation.

[0063] In order to make the above and other purposes, features and advantages of this article more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0065] Figure 1 A schematic diagram of a flow chart of an image report label evaluation method provided in an embodiment of this invention is shown;

[0066] Figure 2 is a first schematic diagram for obtaining a first target text according to the first position coordinates and the second position coordinates;

[0067] Figure 3 is a second schematic diagram for obtaining the first target text according to the first position coordinates and the second position coordinates;

[0068] Figure 4 is a schematic diagram of the first process for determining whether the label matches the image report;

[0069] Figure 5 is a second flow diagram for determining whether the label matches the imaging report;

[0070] Figure 6A schematic diagram of the structure of an image report label evaluation device provided in an embodiment of this invention is shown;

[0071] Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of this invention is shown.

[0072] Description of the accompanying symbols:

[0073] 10. A first acquisition module;

[0074] 20. The first parsing module;

[0075] 30. The second parsing module;

[0076] 40. Second acquisition module;

[0077] 50. Judgment module;

[0078] 702. Computer equipment;

[0079] 704, processor;

[0080] 706. Memory;

[0081] 708, driving mechanism;

[0082] 710, input / output module;

[0083] 712. Input devices;

[0084] 714. Output devices;

[0085] 716. Presentation equipment;

[0086] 718. Graphical user interface;

[0087] 720, network interface;

[0088] 722. Communication link;

[0089] 724. Communication bus. DETAILED DESCRIPTION

[0090] The following will be combined with the drawings in the embodiments of this article to clearly and completely describe the technical solutions in the embodiments of this article. Obviously, the described embodiments are only part of the embodiments of this article, not all of the embodiments. Based on the embodiments of this article, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this article.

[0091] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0092] In the prior art, information in imaging reports is often extracted as labels through rule extraction, natural language semantic analysis, text annotation and other methods to classify and analyze imaging reports. However, the accuracy of the extracted labels in the prior art still mainly relies on manual review, which is time-consuming and labor-intensive, and it is difficult to obtain relatively objective and unified results. The accuracy of the labels directly affects subsequent data applications. Therefore, in order to solve the above problems, the embodiments of this article provide an imaging report label evaluation method that can automatically evaluate the accuracy of imaging report labels, greatly saving the time and cost required for manual review. Figure 1 This is a schematic diagram of the steps of an imaging report label evaluation method provided in the embodiments of this article. This specification provides the method operation steps described in the embodiments or flowcharts, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or device product is executed, it can be executed in the order of the methods shown in the embodiments or drawings or in parallel. Specifically, Figure 1 As shown, the method may include:

[0093] S110: Obtaining an imaging report to be evaluated and its label, wherein the label is extracted from the imaging report in advance;

[0094] In the embodiments of this specification, the image report to be evaluated is preferably a medical image report. Since the structure and layout of the medical image report are relatively regular, it is conducive to the attempt to evaluate the accuracy of the label. Of course, it can also be an image report in other fields. The image report can be directly retrieved from the existing medical image library, and the label is extracted from the image report in advance by rule extraction, natural language semantic analysis, text annotation and other methods. The label extraction method and extraction rules are not specifically limited in the embodiments of this specification.

[0095] S120: parsing the imaging report to obtain a descriptive text and a concluding text;

[0096] It should be noted that medical imaging reports (text part) generally include three parts: the first part is the detailed information of the imaging examination, such as: the examination site (such as chest, lungs, liver, etc.) and the examination method (such as ultrasound, CT, etc.), patient information (such as the patient's name, gender, age, etc.), examination time, report number (each imaging report has a unique number), etc.; the second part is the descriptive text, that is, the information seen in the image, which is a detailed text report recorded by the radiologist based on the information observed from the image; the third part is the conclusive text, which is the diagnosis result given to the patient by the attending physician based on the descriptive text. In addition to the text part, medical imaging reports can sometimes include pictures, that is, ultrasound, CT and other imaging images.

[0097] S130: parsing the tag to obtain organ keywords and attribute keywords;

[0098] It should be noted that the organ keywords described in the embodiments of this specification may be organ names such as thyroid, kidney, liver, lung, etc.; the attribute keywords are words with diagnostic conclusions, such as nodules, cysts, etc.; that is, the labels may be "thyroid nodules", "kidney cysts", etc., which may be considered as the diagnosis results of the organ problems involved. Those skilled in the art may classify imaging reports according to the labels, and may also use the classified imaging reports for machine learning, etc. In addition, in the embodiments of the specification, different parts or different organs may have the same attribute keywords, such as breast nodules, lung nodules, thyroid nodules, etc. When extracting labels from image images, a unified set of medical attribute labels may be used for annotation.

[0099] S140: acquiring a first target text from the descriptive text and a second target text from the concluding text according to the organ keyword and the attribute keyword;

[0100] S150: judging whether the label matches the image report according to the first target text and the second target text, that is, judging whether the label is inaccurate relative to the image report according to the first target text and the second target text.

[0101] An imaging report label evaluation method provided in an embodiment of the present specification innovatively proposes a method for judging and evaluating the accuracy of extracted labels: the labels are parsed into organ keywords and attribute keywords to obtain a first target text and a second target text respectively, and then the accuracy of the labels is judged based on the first target text and the second target text; this makes up for the lack of label accuracy judgment and evaluation in the prior art, and overcomes the problems of low efficiency and reliability caused by relying on manual review of label accuracy.

[0102] Specifically, in the embodiment of this specification, step S140: obtaining a first target text from the descriptive text and obtaining a second target text from the concluding text according to the organ keyword and the attribute keyword further includes:

[0103] S210: respectively obtaining the first position coordinate and the second position coordinate of the organ keyword and the attribute keyword in the descriptive text;

[0104] In the embodiment of this specification, the first position coordinate refers to the arrangement order of the organ keyword among all the characters in the descriptive text (i.e., according to reading habits, the organ keyword is arranged from top to bottom and from left to right in the entire descriptive text). Of course, the first position coordinate can also be the row and column of the organ keyword in the descriptive text, that is, it can also be expressed in the form of abscissa and ordinate. The meaning of the second position coordinate can be referred to the first position coordinate.

[0105] S220: Acquire the first target text according to the first position coordinates and the second position coordinates;

[0106] S230: respectively obtaining the third position coordinates and the fourth position coordinates of the organ keyword and the attribute keyword in the conclusive text; the meanings of the third position coordinates and the fourth position coordinates refer to the first position coordinates, which will not be repeated here.

[0107] S240: Acquire the second target text according to the third position coordinates and the fourth position coordinates.

[0108] In the embodiment of this specification, step S220: obtaining the first target text according to the first position coordinates and the second position information coordinates specifically includes:

[0109] S310: Determine whether the first position coordinates and the second position coordinates are unique;

[0110] S320: If the first position coordinates and the second position coordinates are both unique, obtaining the first position coordinates, the second position coordinates and the text therebetween as the first target text.

[0111] For example, Figure 2 As shown, the descriptive text in the imaging report is: the thyroid gland is normal in size and shape, with a smooth surface, an intact capsule, a moderate internal echo, and the light spots are fine, dense, and evenly distributed, with no obvious nodules.

[0112] The organ keyword is: thyroid gland; the attribute keyword is: nodule.

[0113] Then the first position coordinate is [0] (assuming the position of the first character in the descriptive text is 0), and the second position coordinate is

[44] ; and it can be determined that both the first position coordinate and the second position coordinate are unique. Then, obtain the first position coordinate, the second position coordinate, and the text between them as the first target text. That is, the first target text is: The size and shape of the thyroid gland are normal, the surface is smooth, the capsule is intact, the internal part shows medium echo, the light spots are fine, weak, and dense, and the distribution is uniform. No obvious nodules are seen. It should be noted that the second position coordinate

[44] is actually the coordinate of the character 'knot' in the attribute keyword, but the entire attribute keyword will be obtained when getting the first target text.

[0114] S330: If the number of the first position coordinates and / or the second position coordinates is greater than or equal to two, then obtain the positive distances between each first position coordinate and each second position coordinate, and select a set of the first position coordinate and the second position coordinate with the smallest positive distance, and the text between them as the first target text. The positive distance means that for a set of organ keyword and attribute keyword, the relative position relationship is that the first position coordinate (i.e., the organ keyword) is in front, and the second position coordinate (the attribute keyword) is behind.

[0115] As Figure 3 shown, exemplarily, if the descriptive text in the imaging report is: The size and shape of the thyroid gland are normal, the surface is smooth, the capsule is intact, the internal part shows medium echo, the light spots are fine, weak, and dense, and the distribution is uniform. No obvious nodules are seen in the thyroid gland.

[0116] Then the second position coordinate is

[47] ; the first position coordinates are [0, 40], that is, the number of the first position coordinates is not unique. Then, obtain the positive distances between each first position coordinate and the second position coordinate. It can be known that the positive distance between the organ keyword with the first position coordinate

[40] and the attribute keyword is the smallest. Therefore, select the organ keyword with the position coordinate

[40] to obtain the first target text. Finally, the first target text is: No obvious nodules are seen in the thyroid gland. This can avoid the situation of obtaining multiple first target texts. Since the descriptive text is a detailed record made by the radiologist of all the information observed from the imaging image, sometimes the content of the descriptive text will be very long. Therefore, in the embodiments of this specification, determining the first target text according to the relative position relationship between the first position coordinate and the second position coordinate can make the first target text more concise and facilitate the subsequent judgment of whether the label is accurate.

[0117] In the embodiments of this specification, the relative position relationship between each first position coordinate and the second position coordinate can also be expressed by the difference between each first position coordinate and the second position coordinate, and the absolute value of the difference can be used to represent the size of the relative distance. Since the descriptive text of the medical imaging report has certain language expression specifications, in some feasible embodiments, the positive distance between each organ keyword and the data keyword can be calculated: as shown in the above descriptive text, the positive distance between the first position coordinate of each organ keyword and the second position coordinate of the attribute keyword is [0-47=-47,41-47=-6], and the minimum positive distance, that is, the largest negative number -6, is taken to obtain the first target text. It should be noted that there may be more than one second position coordinate corresponding to the attribute keyword, so the relative distance between each first position coordinate and each second position coordinate is obtained, and then the first target text is obtained.

[0118] The image report label evaluation method provided in the embodiment of this specification can meet the needs of obtaining the first target text in the image report in various situations. It not only avoids the confusion in obtaining the first target text when there are multiple first position coordinates, but also can simplify the first target text to facilitate subsequent label evaluation operations.

[0119] In some preferred embodiments, before step S310: determining whether the first position coordinates are unique, the method further includes:

[0120] S410: Determine whether the first position coordinates are empty; that is, determine whether the organ keyword exists in the descriptive text.

[0121] S420: If the first position coordinate is empty, determine whether there are other organ keywords in the descriptive text; that is, when the label is "thyroid nodule", determine whether there are other organ keywords except "thyroid" in the descriptive text.

[0122] S430: If yes, determining that the label does not match the image report;

[0123] For example, if the descriptive text of the chest CT image report is: a nodule can be seen in the mediastinum, the label is lung nodule, that is, the organ keyword is: lung; the attribute keyword is: nodule.

[0124] If there is no organ keyword named lung in the descriptive text, but there is another organ keyword named mediastinum, then the label "lung nodule" is judged to be mismatched with the chest CT image report. That is, the description in the image report is actually a reflection of the organ mediastinum; under this premise, it can be directly judged that the label is wrong without the need to obtain the second target text and the subsequent judgment and analysis steps, which can improve the judgment efficiency.

[0125] S440: If it does not exist, then add the organ keyword into the head of the descriptive text.

[0126] For example, if the descriptive text of the renal ultrasound image report is: A cyst is visible on the left side. The label is renal cyst. There is no organ keyword in the descriptive text. At this time, since there is no organ keyword "kidney", the first position coordinate and the first target text cannot be obtained. Therefore, the organ keyword is added to the head of the descriptive text, so that the descriptive text is updated to: A cyst is visible on the left side of the kidney.

[0127] In some preferred embodiments, before step S410: determining whether the first position coordinates are empty, the method further includes:

[0128] S510: Determine whether the second position coordinates are empty;

[0129] S520: If the second position coordinate is empty, the first target text is determined to be empty. That is, when the attribute keyword does not exist in the descriptive text, it is determined that the first target text has not been acquired. In the embodiment of this specification, it can be determined whether the descriptive text includes the attribute keyword to determine whether the first target text is empty, and then determine whether the descriptive text includes the organ keyword, which can improve the acquisition efficiency of the first target text.

[0130] In some preferred embodiments, obtaining the first target text according to the first position coordinates and the second position information coordinates may further include:

[0131] Determine whether there is a punctuation mark between the first position coordinates and the second position coordinates;

[0132] If it exists, the text between the punctuation mark and the second position coordinates is obtained as the first target text.

[0133] It should be noted that, when there is more than one punctuation mark between the first position coordinate and the second position coordinate, the second position coordinate, a punctuation mark closest to the second position coordinate, and the text between the two are selected as the first target text.

[0134] For example, if the descriptive text of an imaging report is: bilateral thyroid glands are full in shape, enlarged in volume, the isthmus is about 5 mm thick, the capsule is intact, the parenchyma echo is thickened, unevenly distributed, and multiple small nodules are visible, the label of the imaging report is: thyroid nodules.

[0135] It can be seen that the first position coordinate is [2], the second position coordinate is

[44] , and there are multiple punctuation marks between the first position coordinate and the second position coordinate. The text between the comma at position coordinate

[38] and the second position coordinate is selected as the first target text, that is, the first target text is changed from the original "thyroid morphology is full, volume is enlarged, isthmus is about 5mm thick, capsule is intact, parenchyma echo is thickened, unevenly distributed, and multiple small nodules are visible" to "multiple small nodules are visible". On the premise that the organ keyword has been obtained, it can be considered that the text connected to the attribute keyword in the descriptive text is a diagnostic description of the organ keyword, so that the paragraph of the first target text becomes shorter, which is conducive to the subsequent evaluation and analysis of the accuracy of the label based on the first target text.

[0136] In the embodiment of the present specification, step S240: acquiring the second target text according to the third position coordinates and the fourth position coordinates may further include:

[0137] S610: Determine whether the fourth position coordinate is empty;

[0138] S620: If the fourth position coordinate is empty, determine that the second target text is empty;

[0139] That is, if the attribute keyword is not found in the concluding text, it is determined that the second target text is empty.

[0140] S630: If the fourth position coordinate is not empty, determine whether the third position coordinate is empty;

[0141] S640: If the third position coordinate is not empty, the third position coordinate, the fourth position coordinate and the text therebetween are obtained as the second target text; specifically, the third position coordinate is not empty, and also includes two cases: the third position coordinate is unique and the third position coordinate is not unique. The acquisition of the second target text in these two cases is similar to the acquisition of the first target text when the first position coordinates have different numbers, and will not be repeated here.

[0142] S650: If the third position coordinate is empty, then the organ keyword is added to the head of the concluding text. After the organ keyword is added, the third position coordinate of the organ keyword in the concluding text is [0], and the second target text is obtained by the third position coordinate and the fourth position coordinate. When the attribute keyword exists in the concluding text but the organ keyword does not exist, it can be considered that the content in the concluding text is the crux conclusion corresponding to the organ keyword, and the addition of the organ keyword can facilitate the extraction of the second target text.

[0143] For example, if the conclusive text of the imaging report is: Diffuse abnormal echo of thyroid gland, the label is: Thyroid nodule, that is, the organ keyword is: thyroid gland; the attribute keyword is: nodule.

[0144] The third position coordinate is [0]; the fourth position coordinate is That is, if there is no attribute keyword in the above concluding text, the second target text is

[0145] Furthermore, if Figure 4 As shown, step S150: judging whether the label matches the image report according to the first target text and the second target text, further includes:

[0146] S710: If the second target text is empty, determine whether the first target text is empty;

[0147] S720: If the first target text is empty, determining that the label does not match the image report;

[0148] That is, if the first target text and the second target text of an image report are both empty, it can be determined that the pre-extracted label does not match the image report (ie, the label is inaccurate).

[0149] S730: If the first target text is not empty, further determining whether other organ keywords and negative words exist in the first target text;

[0150] S740: If there are no other organ keywords and no negative words, determining that the label matches the imaging report;

[0151] It should be noted that, in the embodiments of this specification, the negative words refer to characters or words such as "not", "not yet", "not seen", "not explored", "none" and the like that express negation.

[0152] For example, there is an imaging report with the following descriptive text: The bilateral thyroid glands are full in shape, enlarged in size, with a thickness of about 5 mm at the isthmus, intact capsule, thickened echo of the substance, uneven distribution, and multiple small nodules. Its conclusive text is: No obvious abnormalities were found. Its label is: thyroid nodules.

[0153] It can be seen that the first target text is preferably: multiple small nodules are visible, while the second target text is empty.

[0154] There are neither other organ keywords nor negative words in the first target text; the label "thyroid nodule" corresponding to the imaging report is the correct label.

[0155] S750: If there are other organ keywords and / or negative words, it is determined that the label does not match the imaging report.

[0156] For example, if the descriptive text of the imaging report is: the thyroid gland is normal in size and shape, with a smooth surface, intact capsule, medium echo inside, thin and dense light spots, evenly distributed, and no obvious nodules in the thyroid gland. The conclusive text is: the thyroid gland has diffuse echo abnormalities. The label is: thyroid nodules.

[0157] According to the previous discussion, the first target text is: no obvious nodules are found in the thyroid gland; the second target text is empty.

[0158] Although there are no other organ keywords in the first target text, there is a negative word "not seen" which indicates a negative meaning. Therefore, for this imaging report, the label "thyroid nodule" is not correct.

[0159] The above steps are only for determining the accuracy of labels in several cases where the second target text is empty. The image report label evaluation method provided in the embodiment of this specification also includes:

[0160] S810: If the second target text is not empty, determine whether there are other organ keywords in the second target text;

[0161] S820: If there are no other organ keywords in the second target text, determine whether there are negative words in the second target text;

[0162] S821: If there is a negative word in the second target text, determining that the label does not match the image report;

[0163] S822: If there is no negative word in the second target text, determine that the label matches the image report.

[0164] Furthermore, if Figure 5 As shown, the method also includes:

[0165] S830: If there are other organ keywords in the second target text, preferably, it is determined whether there are affirmative words such as "all visible", "all", "visible" and the like expressing affirmative meanings in the second target text;

[0166] S831: If the above affirmative word exists, determine that the label matches the image report.

[0167] For example, if the label of the imaging report is: lung nodules, and the second target text is: nodules can be seen in both lungs and mediastinum, then although the second target text contains the organ keyword of lung and the other organ keyword of mediastinum, the second target text also contains the word "can be seen" which indicates affirmation, so it is determined that the label matches the imaging report.

[0168] S840: Otherwise, determine whether the first target text is empty;

[0169] S841: If the first target text is empty, determining that the label does not match the image report;

[0170] S850: If the first target text is not empty, determine whether other organ keywords and negative words exist in the first target text;

[0171] S851: If there are no other organ keywords and no negative words in the first target text, determining that the label matches the imaging report;

[0172] S852: If there are other organ keywords and / or negative words, it is determined that the label does not match the imaging report.

[0173] Preferably, after step S150: judging whether the label matches the image report according to the first target text and the second target text, the method further comprises:

[0174] Labels that are determined not to match the image report are removed, and correct labels can be generated according to the first target text and the second target text to replace the wrong labels.

[0175] In addition, the recall and precision of the labels can also be evaluated: a certain number of imaging reports and their labels (multiple categories of labels can be extracted) are extracted, and the label accuracy is verified by combining rule verification and machine learning algorithms, and the precision and recall are used for evaluation. The following table shows the results of two batches of extraction and evaluation.

[0176]

[0177] Among them, column A is: the number of wrong labels using existing manual review;

[0178] Column B: the number of erroneous labels determined by the image report label evaluation method provided in the embodiment of this specification;

[0179] Column C: the number of correct errors among the error labels determined by the image report label evaluation method provided in the embodiments of this specification (i.e., the error labels in column A are indeed errors);

[0180] Accuracy: C column value of each batch / B column value of each row*100%;

[0181] Recall rate: column C value of each batch / column A value of each row*100%;

[0182] The accuracy of the original labels is: 1-A column / number of items*100%, that is, the ratio of the number of correct labels obtained by manual review to the total number of labels in each batch of samples;

[0183] New label accuracy: 1-(column A value-column C value) / (number of entries-column B value)*100%, that is, using the evaluation method provided in this article, after removing the labels that are judged to be wrong (including actual errors and actual accurate labels), the proportion of the number of labels that are actually judged to be accurate to the total number of labels remaining in each batch of samples after removing the labels;

[0184] According to the data in the above table, it can be seen that the image report label evaluation method provided in the embodiments of this specification can significantly improve the accuracy of label evaluation.

[0185] It should be noted that in the imaging report label evaluation method provided in the embodiment of this specification, when parsing to obtain the descriptive text and the conclusive text, it also includes preprocessing the imaging report text. The preprocessing includes converting the non-formatted elements in the imaging report into formatted elements, removing duplicate content in the text, removing spaces and line breaks in the text, etc. It also includes generating a synonym table for organ keywords and a synonym table for attribute keywords. The descriptive text, conclusive text, organ keywords and attribute keyword synonym table can also be generated into a table for recording and statistical analysis.

[0186] In summary, the image report label evaluation provided in the embodiments of this specification can solve the problem that the prior art still needs to rely on manual review to determine whether the labels in the image report are accurate, and can improve the reliability and efficiency of the evaluation of whether the labels are accurate.

[0187] like Figure 6 As shown, the embodiment of this specification also provides an image report label evaluation device, including:

[0188] A first acquisition module 10 is used to acquire an image report to be evaluated and a label thereof, wherein the label is extracted from the image report in advance;

[0189] A first parsing module 20 is used to parse the imaging report to obtain a descriptive text and a concluding text;

[0190] A second parsing module 30 is used to parse the tag to obtain organ keywords and attribute keywords;

[0191] A second acquisition module 40 is used to acquire a first target text from the descriptive text and a second target text from the concluding text according to the organ keyword and the attribute keyword;

[0192] The judgment module 50 is used to judge whether the label matches the image report according to the first target text and the second target text.

[0193] The beneficial effects obtained by the device provided in the embodiments of this specification are consistent with the beneficial effects obtained by the above method and will not be repeated here.

[0194] like Figure 7 As shown, a computer device provided in an embodiment of the present invention, the computer device 702 may include one or more processors 704, such as one or more central processing units (CPUs), and each processing unit may implement one or more hardware threads. The computer device 702 may also include any memory 706, which is used to store any kind of information such as code, settings, data, etc. Non-restrictive, for example, the memory 706 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 702. In one case, when the processor 704 executes an associated instruction stored in any memory or a combination of memories, the computer device 702 may perform any operation of the associated instruction. The computer device 702 also includes one or more drive mechanisms 708 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.

[0195] The computer device 702 may also include an input / output module 710 (I / O) for receiving various inputs (via input device 712) and for providing various outputs (via output device 714). A specific output mechanism may include a presentation device 716 and an associated graphical user interface 718 (GUI). In other embodiments, the input / output module 710 (I / O), input device 712, and output device 714 may not be included, and the computer device 702 may be used as a computer device in a network. The computer device 702 may also include one or more network interfaces 720 for exchanging data with other devices via one or more communication links 722. One or more communication buses 724 couple the components described above together.

[0196] The communication link 722 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 722 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.

[0197] Corresponds to Figure 1 The method in this article also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are executed.

[0198] The embodiment of the present invention also provides a computer readable instruction, wherein when the processor executes the instruction, the program therein causes the processor to execute the following Figure 1 The method shown.

[0199] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0200] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0201] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this article.

[0202] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0203] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.

[0204] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.

[0205] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.

[0206] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0207] Specific embodiments are used in this article to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for general technicians in this field, according to the ideas of this article, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on this article.

Claims

1. A method for evaluating an image report label, characterized in that: include: Obtaining an imaging report to be evaluated and a label thereof, wherein the label is extracted in advance from the imaging report; Parsing the imaging report to obtain descriptive text and concluding text; Parsing the tag to obtain organ keywords and attribute keywords; According to the organ keyword and the attribute keyword, a first target text is obtained from the descriptive text, and a second target text is obtained from the concluding text; Judging whether the label matches the image report according to the first target text and the second target text includes: If the second target text is empty, determining whether the first target text is empty; If the first target text is empty, determining that the label does not match the image report; If the first target text is not empty, determining whether other organ keywords and negative words exist in the first target text; If there are no other organ keywords and no negative words, it is determined that the label matches the imaging report; If other organ keywords and / or negative words exist, it is determined that the label does not match the imaging report.

2. The method according to claim 1, characterized in that: The step of obtaining a first target text from the descriptive text and a second target text from the concluding text according to the organ keyword and the attribute keyword includes: Respectively obtaining the first position coordinates and the second position coordinates of the organ keyword and the attribute keyword in the descriptive text; Acquire the first target text according to the first position coordinates and the second position coordinates; Respectively obtaining the third position coordinate and the fourth position coordinate of the organ keyword and the attribute keyword in the concluding text; The second target text is acquired according to the third position coordinates and the fourth position coordinates.

3. The method according to claim 2, characterized in that The obtaining the first target text according to the first position coordinates and the second position coordinates includes: Determining whether the first position coordinates and the second position coordinates are unique; If the first position coordinates and the second position coordinates are both unique, obtaining the first position coordinates, the second position coordinates and the text therebetween as the first target text; If the number of the first position coordinates and / or the second position coordinates is greater than or equal to two, obtain the forward distance between each first position coordinate and each second position coordinate, select a set of first position coordinates and second position coordinates with the smallest forward distance, and the text between the two is the first target text.

4. The method according to claim 3, characterized in that Before determining whether the first position coordinates are unique, the method further includes: Determine whether the first position coordinates are empty; If the first position coordinate is empty, determining whether there are other organ keywords in the descriptive text; If so, determining that the label does not match the image report; If it does not exist, the organ keyword is added to the head of the descriptive text.

5. The method according to claim 4, characterized in that Before determining whether the first position coordinates are empty, the method further includes: Determine whether the second position coordinates are empty; If the second position coordinates are empty, it is determined that the first target text is empty.

6. The method according to claim 3, characterized in that The obtaining of the first target text according to the first position coordinates and the second position coordinates is further: Determine whether there is a punctuation mark between the first position coordinates and the second position coordinates; If it exists, the text between the punctuation mark and the second position coordinates is obtained as the first target text.

7. The method according to claim 2, characterized in that The acquiring the second target text according to the third position coordinates and the fourth position coordinates includes: Determine whether the fourth position coordinate is empty; If the fourth position coordinate is empty, determining that the second target text is empty; If the fourth position coordinates are not empty, determining whether the third position coordinates are empty; If the third position coordinate is not empty, obtaining the third position coordinate, the fourth position coordinate and the text therebetween as the second target text; If the third position coordinate is empty, the organ keyword is added to the head of the concluding text.

8. The method according to claim 1, characterized in that The method further comprises: If the second target text is not empty, determining whether other organ keywords exist in the second target text; If no other organ keywords exist in the second target text, determining whether there are negative words in the second target text; If there is a negative word in the second target text, determining that the label does not match the image report; If there is no negative word in the second target text, it is determined that the label matches the image report.

9. The method according to claim 8, characterized in that The method further comprises: If other organ keywords exist in the second target text, determining whether the first target text is empty; If the first target text is empty, determining that the label does not match the image report; If the first target text is not empty, determining whether other organ keywords and negative words exist in the first target text; If there are no other organ keywords and no negative words in the first target text, it is determined that the label matches the imaging report; If other organ keywords and / or negative words exist, it is determined that the label does not match the imaging report.

10. An image report label evaluation device, characterized in that: include: A first acquisition module is used to acquire an image report to be evaluated and a label thereof, wherein the label is extracted from the image report in advance; A first parsing module, used for parsing the imaging report to obtain a descriptive text and a concluding text; A second parsing module is used to parse the tag to obtain organ keywords and attribute keywords; A second acquisition module, used for acquiring a first target text from the descriptive text and a second target text from the concluding text according to the organ keyword and the attribute keyword; A judgment module, used to judge whether the label matches the image report according to the first target text and the second target text, including: if the second target text is empty, judging whether the first target text is empty; If the first target text is empty, it is determined that the label does not match the imaging report; if the first target text is not empty, it is determined whether there are other organ keywords and negative words in the first target text; if there are no other organ keywords and no negative words, it is determined that the label matches the imaging report; if there are other organ keywords and / or negative words, it is determined that the label does not match the imaging report.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.