中医方剂与图集的转换方法

2012-04-29 08:45:24蓝昊慧
计算机时代 2012年11期
关键词:数据库

蓝昊慧

摘要: 中药复方数据挖掘研究是将我国丰富的中药信息资源和现代最新信息技术相结合的重要内容,它意味着基于中医理论,利用知识发现技术,对传统中药新药、中医组方理论及规律、中药作用机制、有效成分构效关系等多个方面进行全面、系统的研究。图作为一种经典的数据结构,被广泛用于复杂数据结构分析与建模。文章探讨了图建模技术并实现了中医方剂与图集的转换。

关键词: 中医方剂; 中医药方; 图集; 数据结构; 领域本体; 数据库

中图分类号:TP39文献标志码:A 文章编号:1006-8228(2012)11-26-02

Conversion method of traditional Chinese medicine prescriptions and atlas

Lan Haohui

(Zhejiang Songyang County financial local taxation Bureau, Lishui, Zhejiang 323400, China)

Abstract: Research on data mining of Chinese medicine is a vital combination of abundant Chinese medicine information resources and modern information technology. It is based on TCM theory, using knowledge discovery technology to make a comprehensive, systematic research on traditional Chinese medicine prescription, theory and rule of Chinese medicine effective component, mechanism, structure-activity relationships. Atlas, as a classic data structure, is used in analysis and modeling of complex data structure. The modeling technology of atlas is discussed and the conversion of traditional Chinese medicine and atlas is implemented.

Key words: the prescription of traditional Chinese medicine; traditional Chinese medicine prescription; atlas; data structure; domain ontology; database

0 引言

本文主要研究如何将中医的相关知识合理地转换为图结构,从而为进一步利用图结构对中医的潜在知识挖掘做好准备。本文内容涉及到对中医方剂的提取方法和提取后的数据在数据库中存储的方式,以及这些存储内容中的关系计算和图结构的建立。

1 中医数据

在取得中医医案后,先对文本进行初步的处理(主要是应用最大匹配算法(正向和反向)对中医医案进行初步的分词),然后对处理过的句子进行自底向上的句法分析,利用中医领域本体进行排歧处理、同义词识别和未登录词的识别,得到最优分词序列。分词框架如图1所示。

1.1 分词算法

最大匹配算法(正向和反向)从左到右,或从右到左,每次取最长词,得到切分结果。正向匹配算法可分成五个步骤。

⑴ 待切分的汉字符串s1,已切分的汉字符串s2(s2初始串为空)。

⑵ s1如果为空串,转⑹。

⑶ 从s1的左边复制一个子串w作为候选词,w尽可能长,但长度不超过最大词长(一般为7个字长)。……

登录APP查看全文

猜你喜欢
数据库
数据库
财经(2017年15期)2017-07-03 22:40:49
数据库
财经(2017年2期)2017-03-10 14:35:35
数据库
财经(2016年15期)2016-06-03 07:38:02
数据库
财经(2016年3期)2016-03-07 07:44:46
数据库
财经(2016年6期)2016-02-24 07:41:51
数据库
财经(2015年3期)2015-06-09 17:41:31
数据库
财经(2014年21期)2014-08-18 01:50:18
数据库
财经(2014年6期)2014-03-12 08:28:19
数据库
财经(2013年6期)2013-04-29 17:59:30
数据库
财经(2010年20期)2010-10-19 01:48:32