Debian Codegraph @

tests/data/mini-lmf-1.4.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE LexicalResource SYSTEM "http://globalwordnet.github.io/schemas/WN-LMF-1.4.dtd">
3
4 <!--
5 WN-LMF 1.4 has the following changes:
6 - optional 'index' attribute on LexicalEntry
7 - optional 'n' attribute on Sense
8 - Pronunciation elements under Definition and Example
9 -->
10
11 <LexicalResource xmlns:dc="https://globalwordnet.github.io/schemas/dc/">
12
13 <Lexicon id="test-1.4"
14 label="Testing WN-LMF 1.4"
15 language="en"
16 email="[email protected]"
17 license="https://creativecommons.org/licenses/by/4.0/"
18 version="1">
19
20 <LexicalEntry id="test-1.4-Foo_Bar-n" index="foo_bar">
21 <Lemma partOfSpeech="n" writtenForm="Foo Bar" />
22 <Sense id="test-1.4-Foo_Bar-n-1" synset="test-1.4-1" n="3">
23 <SenseRelation relType="metaphor" target="test-1.4-baz-n-1" />
24 </Sense>
25 </LexicalEntry>
26
27 <LexicalEntry id="test-1.4-foo_bar-n" index="foo_bar">
28 <Lemma partOfSpeech="n" writtenForm="foo bar" />
29 <Sense id="test-1.4-foo_bar-n-1" synset="test-1.4-1" n="2" />
30 <Sense id="test-1.4-foo_bar-n-2" synset="test-1.4-2" n="1" />
31 </LexicalEntry>
32
33 <!-- ommitted index defaults to writtenForm (baz) when added to db -->
34 <LexicalEntry id="test-1.4-baz-n">
35 <Lemma partOfSpeech="n" writtenForm="baz" />
36 <Sense id="test-1.4-baz-n-1" synset="test-1.4-1">
37 <SenseRelation relType="has_metaphor" target="test-1.4-Foo_Bar-n-1" />
38 </Sense>
39 </LexicalEntry>
40
41 <!-- this should share the index with the one above -->
42 <LexicalEntry id="test-1.4-BAZ-n" index="baz">
43 <Lemma partOfSpeech="n" writtenForm="BAZ" />
44 <Sense id="test-1.4-BAZ-n-1" synset="test-1.4-1" n="2" />
45 </LexicalEntry>
46
47 <!-- this one does not share the index -->
48 <LexicalEntry id="test-1.4-Baz-n">
49 <Lemma partOfSpeech="n" writtenForm="Baz" />
50 <Sense id="test-1.4-Baz-n-1" synset="test-1.4-1" n="2" />
51 <!-- omitted 'n' defaults to position (2) when added to db -->
52 <Sense id="test-1.4-Baz-n-2" synset="test-1.4-2" />
53 </LexicalEntry>
54
55 <!-- indexes are shared only in the same part of speech -->
56 <LexicalEntry id="test-1.4-baz-v" index="baz">
57 <Lemma partOfSpeech="v" writtenForm="baz" />
58 <Sense id="test-1.4-baz-v-1" synset="test-1.4-3" n="1" />
59 </LexicalEntry>
60
61 <Synset id="test-1.4-1" ili="" partOfSpeech="n" members="test-1.4-Foo_Bar-n-1 test-1.4-foo_bar-n-1 test-1.4-baz-n-1 test-1.4-BAZ-n-1 test-1.4-Baz-n-1" />
62
63 <Synset id="test-1.4-2" ili="" partOfSpeech="n" members="test-1.4-foo_bar-n-2 test-1.4-Baz-n-2" />
64
65 <Synset id="test-1.4-3" ili="" partOfSpeech="v" members="test-1.4-baz-v-1" />
66
67 </Lexicon>
68
69 <LexiconExtension id="test-ext-1.4"
70 label="Testing WN-LMF 1.4 extensions"
71 language="zxx"
72 email="[email protected]"
73 license="https://creativecommons.org/licenses/by/4.0/"
74 version="1">
75 <!-- WN-LMF 1.4 changes the 'id' attribute to 'ref' in Requires and Extends -->
76 <Extends ref="test-en" version="1" url="https://example.com/test-en" />
77 </LexiconExtension>
78
79 </LexicalResource>