本文主要是介绍WordNet词网研究——文件结构,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Number of words, synsets, and senses——词、词集和词义对的数目POS Unique Synsets Total Strings Word-Sense Pairs Noun 117798 82115 146312 Verb 11529 13767 25047 Adjective 21479 18156 30002 Adverb 4481 3621 5580 Totals 155287 117659 206941Polysemy information——多解释词的数据
POS 单意词 多义词 多义词Words and Senses Words Senses Noun 101863 15935 44449 Verb 6277 5252 18770 Adjective 16503 4976 14399 Adverb 3748 733 1832 Totals 128391 26896 79450POS Average Polysemy Average Polysemy Including Monosemous Words Excluding Monosemous Words Noun 1.24 2.79 Verb 2.17 3.57 Adjective 1.40 2.71 Adverb 1.25 2.50
2.Windows版本安装后的结构
如图:
其中bin文件夹是存放WordNet运行系统程序,dict为存放电子词典数据库(这个目录很重要,以后使用WordNet资源基本上就这个),doc为WordNet的用户手册文件文件夹,lib为WordNet软件使用Windows资源的函数库,src为众所周知的源码文件夹。你也可以使用改源码修改编译你想要的功能。
上图为:dict文件夹的文件目录,从几个index文件里可以看出,WordNet确实是分了名词、动词、形容词和副词及其词义几个子网。
3.WordNet自带软件运行界面
如图:
显然,这样子来使用WordNet只是相当于一个电子词典的功能。不过可以通过软件界面上noun或者verb按钮来点击生成一个可选菜单,如下图:
如上图,通过选择选择“love”的父类,即love is a kind of ……
则,就会在每一种含义相中列出其love的所有的父类,如:
love -- (a strong positive emotion of regard and affection; "his love for his work"; "children need a lot of love")
=> emotion -- (any strong feeling)
=> feeling -- (the experiencing of affective and emotional states; "she had a feeling of euphoria"; "he had terrible feelings of guilt"; "I disliked him and the feeling was mutual")
=> state -- (the way something is with respect to its main attributes; "the current state of knowledge"; "his state of health"; "in a weak financial state")
=> attribute -- (an abstraction belonging to or characteristic of an entity)
=> abstraction -- (a general concept formed by extracting common features from specific examples)
=> abstract entity -- (an entity that exists only abstractly)
=> entity -- (that which is perceived or known or inferred to have its own distinct existence (living or nonliving))
即如果从树根向上时,应该是:
entity——>abstract entity——>abstraction——>attribute——>state——>feeling——> emotion——>love;
实体——>抽象实体——>抽象概念——>概念属性——>心情——>感受——>情绪——>爱;
可以看出名词的root节点为entity。
如何使用WordNet软件,将会在下一步研究中,进行详细探索、研究。
这篇关于WordNet词网研究——文件结构的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!