| 1 |
.. raw:: html |
| 2 |
|
| 3 |
<style>.center {margin-left:20%}</style> |
| 4 |
|
| 5 |
|
| 6 |
The Structure of a Wordnet |
| 7 |
========================== |
| 8 |
A **wordnet** is an online lexicon which is organized by concepts. |
| 9 |
|
| 10 |
The basic unit of a wordnet is the synonym set (**synset**), a group of words that all refer to the |
| 11 |
same concept. Words and synsets are linked by means of conceptual-semantic relations to form the |
| 12 |
structure of wordnet. |
| 13 |
|
| 14 |
Words, Senses, and Synsets |
| 15 |
-------------------------- |
| 16 |
We all know that **words** are the basic building blocks of languages, a word is built up with two parts, |
| 17 |
its form and its meaning, but in natural languages, the word form and word meaning are not in an elegant |
| 18 |
one-to-one match, one word form may connect to many different meanings, so hereforth, we need **senses**, |
| 19 |
to work as the unit of word meanings, for example, the word *bank* has at least two senses: |
| 20 |
|
| 21 |
1. bank\ :sup:`1`\: financial institution, like *City Bank*; |
| 22 |
2. bank\ :sup:`2`\: sloping land, like *river bank*; |
| 23 |
|
| 24 |
Since **synsets** are group of words sharing the same concept, bank\ :sup:`1`\ and bank\ :sup:`2`\ are members of |
| 25 |
two different synsets, although they have the same word form. |
| 26 |
|
| 27 |
On the other hand, different word forms may also convey the same concept, such as *cab* and *taxi*, |
| 28 |
these word forms with the same concept are grouped together into one synset. |
| 29 |
|
| 30 |
.. raw:: html |
| 31 |
:file: images/word-sense-synset.svg |
| 32 |
|
| 33 |
|
| 34 |
.. role:: center |
| 35 |
:class: center |
| 36 |
|
| 37 |
:center:`Figure: relations between words, senses and synsets` |
| 38 |
|
| 39 |
|
| 40 |
Synset Relations |
| 41 |
---------------- |
| 42 |
In wordnet, synsets are linked with each other to form various kinds of relations. For example, if |
| 43 |
the concept expressed by a synset is more general than a given synset, then it is in a |
| 44 |
*hypernym* relation with the given synset. As shown in the figure below, the synset with *car*, *auto* and *automobile* as its |
| 45 |
member is the *hypernym* of the other synset with *cab*, *taxi* and *hack*. Such relation which is built on |
| 46 |
the synset level is categorized as synset relations. |
| 47 |
|
| 48 |
.. raw:: html |
| 49 |
:file: images/synset-synset.svg |
| 50 |
|
| 51 |
:center:`Figure: example of synset relations` |
| 52 |
|
| 53 |
Sense Relations |
| 54 |
--------------- |
| 55 |
|
| 56 |
Some relations in wordnet are also built on sense level, which can be further divided into two types, |
| 57 |
relations that link sense with another sense, and relations that link sense with another synset. |
| 58 |
|
| 59 |
.. note:: In wordnet, synset relation and sense relation can both employ a particular |
| 60 |
relation type, such as `domain topic <https://globalwordnet.github.io/gwadoc/#domain_topic>`_. |
| 61 |
|
| 62 |
**Sense-Sense** |
| 63 |
|
| 64 |
Sense to sense relations emphasize the connections between different senses, especially when dealing |
| 65 |
with morphologically related words. For example, *behavioral* is the adjective to the noun *behavior*, |
| 66 |
which is known as in the *pertainym* relation with *behavior*, however, such relation doesn't exist between |
| 67 |
*behavioral* and *conduct*, which is a synonym of *behavior* and is in the same synset. Here *pertainym* |
| 68 |
is a sense-sense relation. |
| 69 |
|
| 70 |
.. raw:: html |
| 71 |
:file: images/sense-sense.svg |
| 72 |
|
| 73 |
:center:`Figure: example of sense-sense relations` |
| 74 |
|
| 75 |
**Sense-Synset** |
| 76 |
|
| 77 |
Sense-synset relations connect a particular sense with a synset. For example, *cursor* is a term in the |
| 78 |
*computer science* discipline, in wordnet, it is in the *has domain topic* relation with the |
| 79 |
*computer science* synset, but *pointer*, which is in the same synset with *cursor*, is not a term, thus |
| 80 |
has no such relation with *computer science* synset. |
| 81 |
|
| 82 |
.. raw:: html |
| 83 |
:file: images/sense-synset.svg |
| 84 |
|
| 85 |
:center:`Figure: example of sense-synset relations` |
| 86 |
|
| 87 |
Other Information |
| 88 |
----------------- |
| 89 |
A wordnet should be built in an appropriate form, two schemas are accepted: |
| 90 |
|
| 91 |
* XML schema based on the Lexical Markup Framework (LMF) |
| 92 |
* JSON-LD using the Lexicon Model for Ontologies |
| 93 |
|
| 94 |
The structure of a wordnet should contain below info: |
| 95 |
|
| 96 |
**Definition** |
| 97 |
|
| 98 |
Definition is used to define senses and synsets in a wordnet, it is given in the language |
| 99 |
of the wordnet it came from. |
| 100 |
|
| 101 |
**Example** |
| 102 |
|
| 103 |
Example is used to clarify the senses and synsets in a wordnet, users can understand the definition |
| 104 |
more clearly with a given example. |
| 105 |
|
| 106 |
**Metadata** |
| 107 |
|
| 108 |
A wordnet has its own metadata, based on the `Dublin Core <https://dublincore.org/>`_, to state the |
| 109 |
basic info of it, below table lists all the items in the metadata of a wordnet: |
| 110 |
|
| 111 |
+------------------+-----------+-----------+ |
| 112 |
| contributor | Optional | str | |
| 113 |
+------------------+-----------+-----------+ |
| 114 |
| coverage | Optional | str | |
| 115 |
+------------------+-----------+-----------+ |
| 116 |
| creator | Optional | str | |
| 117 |
+------------------+-----------+-----------+ |
| 118 |
| date | Optional | str | |
| 119 |
+------------------+-----------+-----------+ |
| 120 |
| description | Optional | str | |
| 121 |
+------------------+-----------+-----------+ |
| 122 |
| format | Optional | str | |
| 123 |
+------------------+-----------+-----------+ |
| 124 |
| identifier | Optional | str | |
| 125 |
+------------------+-----------+-----------+ |
| 126 |
| publisher | Optional | str | |
| 127 |
+------------------+-----------+-----------+ |
| 128 |
| relation | Optional | str | |
| 129 |
+------------------+-----------+-----------+ |
| 130 |
| rights | Optional | str | |
| 131 |
+------------------+-----------+-----------+ |
| 132 |
| source | Optional | str | |
| 133 |
+------------------+-----------+-----------+ |
| 134 |
| subject | Optional | str | |
| 135 |
+------------------+-----------+-----------+ |
| 136 |
| title | Optional | str | |
| 137 |
+------------------+-----------+-----------+ |
| 138 |
| type | Optional | str | |
| 139 |
+------------------+-----------+-----------+ |
| 140 |
| status | Optional | str | |
| 141 |
+------------------+-----------+-----------+ |
| 142 |
| note | Optional | str | |
| 143 |
+------------------+-----------+-----------+ |
| 144 |
| confidence | Optional | float | |
| 145 |
+------------------+-----------+-----------+ |