-
Notifications
You must be signed in to change notification settings - Fork 0
/
smartphones.xml
177 lines (142 loc) · 6.99 KB
/
smartphones.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="UTF-8"?>
<!--
Simple example of an LMF file, formalizing smartphones taken from
an imaginary terminology file "smartphones.csv", and linking them to WordNet 3.1.
wn31 cellphone (wn31_ss_n2995984) wn31 computer (wn31_ss_n3086983)
^ ^
| |
sm_ss_smartphone sm_ss_tablet
^ ^
\ /
\ /
sm_ss_phablet
^
|
sm_ss_phoneborg
Since in UBY IDs are global, when merging multiple sources into the db we
must prepend everything with a prefix, followed by an underscore '_'. In this example we chose 'sm',
while for Wordnet 3.1 we used 'wn31'. You can find Wordnet synsets here:
http://wordnetweb.princeton.edu/perl/webwn?s=cellphone&i=0
http://wordnetweb.princeton.edu/perl/webwn?s=computer&i=0
-->
<LexicalResource name="div-smartphones"
prefix="sm"
xmlns:sm="https://github.com/diversicon-kb/diversicon-model/blob/master/src/main/resources/smartphones.xml"
xmlns:wn31="https://github.com/diversicon-kb/diversicon-wordnet-3.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://diversicon-kb.eu/schema/1.0/diversicon.xsd">
<GlobalInformation label="Smartphones terminology"/>
<MetaData id="sm_md"
creationDate="2016-09-26"
creationTool="text editor"
version="1.0"
creationProcess="by hand"
automatic="false"
/>
<!--
lexicalResourceId="sm_lr"
-->
<Lexicon id="sm_lex_eng"
languageIdentifier="eng"
name="Smartphone English lexicon">
<LexicalEntry id="sm_le_smartphone"
partOfSpeech="noun">
<Lemma>
<FormRepresentation languageIdentifier="eng"
writtenForm="smartphone"/>
</Lemma>
<Sense id="sm_s_smartphone"
synset="sm_ss_smartphone">
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="3rd row, fourth column in CSV"/>
</Sense>
</LexicalEntry>
<LexicalEntry id="sm_le_phablet"
partOfSpeech="noun">
<Lemma>
<FormRepresentation languageIdentifier="eng"
writtenForm="phablet"/>
</Lemma>
<Sense id="sm_s_phablet"
synset="sm_ss_phablet">
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="2nd row 5th column in csv of origin"/>
</Sense>
</LexicalEntry>
<LexicalEntry id="sm_le_tablet"
partOfSpeech="noun">
<Lemma>
<FormRepresentation languageIdentifier="eng"
writtenForm="tablet"/>
</Lemma>
<Sense id="sm_s_tablet"
synset="sm_ss_tablet">
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="4nd row 2th column in csv of origin"/>
</Sense>
</LexicalEntry>
<LexicalEntry id="sm_le_phoneborg"
partOfSpeech="noun">
<Lemma>
<FormRepresentation languageIdentifier="eng"
writtenForm="phoneborg"/>
</Lemma>
<Sense id="sm_s_phoneborg"
synset="sm_ss_phoneborg">
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="1st row 3rd column in csv of origin"/>
</Sense>
</LexicalEntry>
<Synset id="sm_ss_smartphone">
<Definition>
<TextRepresentation languageIdentifier="eng"
writtenText="A cellphone designed to keep your eyes always locked to a screen."/>
</Definition>
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="7st row 2rd column in csv of origin"/>
<!-- here we state our fat cellphone has as hypernym Wordnet 3.1 'cellphone':
http://wordnetweb.princeton.edu/perl/webwn?s=cellphone
which is defined in an external file
-->
<SynsetRelation target="wn31_ss_n2995984"
relType="taxonomic"
relName="hypernym"/>
</Synset>
<Synset id="sm_ss_phablet">
<Definition>
<TextRepresentation languageIdentifier="eng"
writtenText="An unholy union between a smartphone and a tablet"/>
</Definition>
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="6st row 2rd column in csv of origin"/>
<SynsetRelation target="sm_ss_smartphone"
relType="taxonomic"
relName="hypernym"/>
<SynsetRelation target="sm_ss_tablet"
relType="taxonomic"
relName="hypernym"/>
</Synset>
<Synset id="sm_ss_tablet">
<Definition>
<TextRepresentation languageIdentifier="eng"
writtenText="Yet another device to charge."/>
</Definition>
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="8st row 3rd column in csv of origin"/>
<SynsetRelation target="wn31_ss_n3086983"
relType="taxonomic"
relName="hypernym"/>
</Synset>
<Synset id="sm_ss_phoneborg">
<Definition>
<TextRepresentation languageIdentifier="eng"
writtenText="The ultimate handheld that will completely replace your mind."/>
</Definition>
<MonolingualExternalRef externalSystem="smartphones-encyclopedia"
externalReference="8st row 3rd column in csv of origin"/>
<SynsetRelation target="sm_ss_phablet"
relType="taxonomic"
relName="hypernym"/>
</Synset>
</Lexicon>
</LexicalResource>