globalwordnet / schemas

WordNet-LMF formats
https://globalwordnet.github.io/schemas/
19 stars 11 forks source link

It is not clear how to show ranking #4

Closed fcbond closed 4 years ago

fcbond commented 5 years ago

In some wordnets (I think PWN and plWordnet) the ranking of senses is meaningful, and I do not know how we should capture this in the DTD.

jmccrae commented 5 years ago

Hi Francis,

Actually we hit the same issue in English WordNet and we had to 'hack' it by adding a property to sense called n, which gives the rank of the sense. However, from a design point of view this is highly brittle. I would instead propose that there is a Members list under the Synset that gives the members clearly, e.g.,

<LexicalEntry id="wn-bank-n">
  <Lemma writtenForm="bank" partOfSpeech="n"/>
  <Sense id="wn-bank-1-n" synset="wn-00000001-n"/>
  <Sense id="wn-bank-2-n" synset="wn-00000002-n"/>
</LexicalEntry>
<LexicalEntry id="wn-slope-n">
  <Lemma writtenForm="slope" partOfSpeech="n"/>
  <Sense id="wn-slope-1-n" synset="wn-00000002-n"/>
</LexicalEntry>
<Synset id="wn-00000002-n">
   <Definition>A sloping piece of land</Definition>
   <Member id="wn-bank-2-n"/>
   <Member id="wn-slope-1-n"/>
</Synset>
goodmami commented 4 years ago

It looks like #17 was a duplicate of this one, but since the conversation continued there perhaps this should be closed?

fcbond commented 4 years ago

I am happy to close this as a duplicate.

On Wed, Jun 24, 2020 at 3:26 PM Michael Wayne Goodman < notifications@github.com> wrote:

It looks like #17 https://github.com/globalwordnet/schemas/issues/17 was a duplicate of this one, but since the conversation continued there perhaps this should be closed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/globalwordnet/schemas/issues/4#issuecomment-648645624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPZRXTFTLO4VNIEJCTFKTRYGTBRANCNFSM4HIJINCQ .

-- Francis Bond http://www3.ntu.edu.sg/home/fcbond/ Division of Linguistics and Multilingual Studies Nanyang Technological University