File: mini-lmf-1.1.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 (136 lines) | stat: -rw-r--r-- 5,991 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
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE LexicalResource SYSTEM "http://globalwordnet.github.io/schemas/WN-LMF-1.1.dtd">

<LexicalResource xmlns:dc="https://globalwordnet.github.io/schemas/dc/">

  <Lexicon id="test-ja"
           label="Testing Japanese WordNet"
           language="ja"
           email="maintainer@example.com"
           license="https://creativecommons.org/licenses/by/4.0/"
           version="1"
           url="https://example.com/test-ja"
           logo="logo.svg">

    <Requires id="test-en" version="1" />

    <LexicalEntry id="test-ja-情報-n">
      <Lemma partOfSpeech="n" writtenForm="情報" script="Jpan" />
      <Form id="test-ja-情報-n-じょうほう" writtenForm="じょうほう" script="Hira" />
      <Form id="test-ja-情報-n-ジョウホウ" writtenForm="ジョウホウ" script="Kana" />
      <Form id="test-ja-情報-n-zyouhou" writtenForm="zyouhou" script="Latn-kunrei" />
      <Sense id="test-ja-情報-n-0001-01" synset="test-ja-0001-n" />
    </LexicalEntry>

    <LexicalEntry id="test-ja-例え-n">
      <Lemma partOfSpeech="n" writtenForm="例え">
        <Pronunciation variety="standard" notation="ipa" audio="tatoe.wav">tatoe</Pronunciation>
      </Lemma>
      <Form id="test-ja-例え-n-たとえ" writtenForm="たとえ" script="Hira" />
      <Form id="test-ja-例え-n-タトエ" writtenForm="タトエ" script="Kana" />
      <Form id="test-ja-例え-n-tatoe" writtenForm="tatoe" script="Latn-kunrei" />
      <Sense id="test-ja-例え-n-0002-01" synset="test-ja-0002-n" />
    </LexicalEntry>

    <LexicalEntry id="test-ja-事例-n">
      <Lemma partOfSpeech="n" writtenForm="事例" />
      <Form id="test-ja-事例-n-じれい" writtenForm="じれい" script="Hira" />
      <Form id="test-ja-事例-n-ジレイ" writtenForm="ジレイ" script="Kana" />
      <Form id="test-ja-事例-n-zirei" writtenForm="zirei" script="Latn-kunrei" />
      <Sense id="test-ja-事例-n-0002-01" synset="test-ja-0002-n" />
    </LexicalEntry>

    <LexicalEntry id="test-ja-示す-v">
      <Lemma partOfSpeech="v" writtenForm="示す" />
      <Form id="test-ja-示す-v-しめす" writtenForm="しめす" script="Hira" />
      <Form id="test-ja-示す-v-シメス" writtenForm="シメス" script="Kana" />
      <Form id="test-ja-示す-v-simesu" writtenForm="simesu" script="Latn-kunrei" />
      <Sense id="test-ja-示す-v-0003-01" synset="test-ja-0003-v" subcat="frame-1" />
    </LexicalEntry>

    <Synset id="test-ja-0001-n" ili="i67447" partOfSpeech="n" lexfile="noun.cognition"
            members="test-ja-情報-n-0001-01" />

    <Synset id="test-ja-0002-n" ili="i67469" partOfSpeech="n" lexfile="noun.cognition"
            members="test-ja-事例-n-0002-01 test-ja-例え-n-0002-01" />

    <Synset id="test-ja-0003-v" ili="i26682" partOfSpeech="v" lexfile="verb.communication"
            members="test-ja-示す-v-0003-01" />

    <SyntacticBehaviour id="frame-1" subcategorizationFrame="ある人が何かを----" />
  </Lexicon>

  <LexiconExtension id="test-en-ext"
                    label="Testing English Extension"
                    language="en"
                    email="maintainer@example.com"
                    license="https://creativecommons.org/licenses/by/4.0/"
                    version="1"
                    url="https://example.com/test-en-ext">

    <Extends id="test-en" version="1" url="https://example.com/test-en" />

    <!-- add sense relation -->
    <ExternalLexicalEntry id="test-en-information-n">
      <ExternalLemma>
        <!-- pronunciations copied from the Open English Wordnet 2024 (CC-BY-4.0) -->
        <Pronunciation variety="GB">ˌɪnfəˈmeɪʃən</Pronunciation>
        <Pronunciation variety="US">ˌɪnfɚˈmeɪʃən</Pronunciation>
      </ExternalLemma>
      <ExternalSense id="test-en-information-n-0001-01">
        <SenseRelation relType="pertainym" target="test-en-ext-info-n-0001-01" />
      </ExternalSense>
    </ExternalLexicalEntry>

    <!-- add a tag -->
    <ExternalLexicalEntry id="test-en-exemplify-v">
      <ExternalLemma>
        <Tag category="tense">INF</Tag>
      </ExternalLemma>
    </ExternalLexicalEntry>

    <!-- add a sense to an existing entry -->
    <ExternalLexicalEntry id="test-en-illustrate-v">
      <Sense id="test-en-ext-illustrate-v-0008-01" synset="test-en-ext-0008-v">
	    <Example>"the artist illustrated the story beautifully"</Example>
      </Sense>
    </ExternalLexicalEntry>

    <!-- add a new entry for an existing synset -->
    <LexicalEntry id="test-en-ext-info-n">
      <Lemma partOfSpeech="n" writtenForm="info" />
      <Sense id="test-en-ext-info-n-0001-01" synset="test-en-0001-n">
        <SenseRelation relType="pertainym" target="test-en-information-n-0001-01" />
      </Sense>
    </LexicalEntry>
    
    <!-- add a new entry with a new synset -->
    <LexicalEntry id="test-en-ext-fire-v">
      <Lemma partOfSpeech="v" writtenForm="fire" />
      <Sense id="test-en-ext-fire-v-0009-01" synset="test-en-ext-0009-v" subcat="social-transitive" />
    </LexicalEntry>

    <!-- only needed for ids -->
    <ExternalSynset id="test-en-0001-n" />

    <!-- add a relation to an existing synset -->
    <ExternalSynset id="test-en-0007-v">
      <SynsetRelation relType="hypernym" target="test-en-ext-0009-v" />
    </ExternalSynset>

    <Synset id="test-en-ext-0008-v" ili="i30181" partOfSpeech="v"
            members="test-en-ext-illustrate-v-0008-01" lexfile="verb.creation">
      <Definition>depict something in a visual medium</Definition>
    </Synset>

    <Synset id="test-en-ext-0009-v" ili="i33760" partOfSpeech="v"
            members="test-en-ext-fire-v-0009-01" lexfile="verb.social">
      <Definition>terminate employment</Definition>
      <SynsetRelation relType="hyponym" target="test-en-0007-v" />
    </Synset>

    <SyntacticBehaviour id="social-transitive" subcategorizationFrame="Somebody ----s somebody" />

  </LexiconExtension>

</LexicalResource>