File: sense-member-order.xml

package info (click to toggle)
python-wn 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,100 kB
  • sloc: python: 8,429; xml: 566; sql: 238; makefile: 12
file content (33 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE LexicalResource SYSTEM "http://globalwordnet.github.io/schemas/WN-LMF-1.1.dtd">
<LexicalResource xmlns:dc="http://purl.org/dc/elements/1.1/">

<!-- duplicate ID in synsets -->

  <Lexicon id="test"
           label="Testing Sense Member Orders"
           language="en"
           email="maintainer@example.com"
           license="https://creativecommons.org/licenses/by/4.0/"
           version="1">

    <LexicalEntry id="test-foo-n">
      <Lemma partOfSpeech="n" writtenForm="foo" />
      <Sense id="test-01-foo-n" synset="test-01-n" />
      <Sense id="test-02-foo-n" synset="test-02-n" />
    </LexicalEntry>

    <LexicalEntry id="test-bar-n">
      <Lemma partOfSpeech="n" writtenForm="bar" />
      <Sense id="test-02-bar-n" synset="test-02-n" />
      <Sense id="test-01-bar-n" synset="test-01-n" />
    </LexicalEntry>

    <!-- sense IDs as members -->
    <Synset id="test-01-n" ili="i12345" partOfSpeech="n" members="test-01-bar-n test-01-foo-n"/>
    <!-- word IDs as members -->
    <Synset id="test-02-n" ili="i12346" partOfSpeech="n" members="test-bar-n test-foo-n" />

  </Lexicon>

</LexicalResource>