Information extraction is an important means of natural language processing. Based on the natural language processing ability of ChatGPT,this paper extracted the symptom information from traditional Chinese medicine electronic medical records in rheumatism department through ChatGPT.
Through the small sample learning based on ChatGPT large model,the information extraction and standardization of chief complaint and present medical history,specialist examination and tongue and pulse data in rheumatic electronic medical records were realized. At the same time,a large model ChatGLM was selected for the same small sample learning as ChatGPT,the same information extraction task was completed and the accuracy of the extraction results of the two large models was compared.
Aiming at the problem of medical named entity recognition,the accuracy of ChatGPT after small sample learning reached 98.7% in chief complaint symptom extraction task,92% in specialist examination and extraction task,and 98% in tongue and pulse image extraction and standardization task. The correct rates of ChatGLM on the same three tasks were 85.7%,91% and 98% respectively. From the extraction results,the two large models had different defects in the extraction task,but on the whole,ChatGPT performed better.
This paper realized the TCM symptom information preprocessing based on ChatGPT small sample learning,which was more convenient and efficient than the traditional model,and performed better than ChatGLM as a whole,which provided a new idea for TCM clinical text information extraction research.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |