Closed goodmami closed 1 year ago
Compare the difference in the relation name for the oewn versus the omw-fr lexicons:
oewn
omw-fr
>>> import wn >>> wn.synsets('dog', pos='n', lexicon='oewn')[0].relations('hypernym') {'hypernym': [Synset('oewn-02085998-n'), Synset('oewn-01320032-n')]} >>> wn.synsets('chien', pos='n', lexicon='omw-fr')[0].relations('hypernym') {'omw-fr-10753546-n': [Synset('omw-fr-10753546-n')]}
For OEWN, the relation name is hypernym while for omw-fr it is omw-fr-10753546-n. I suspect this is the case for relations obtained from expand lexicons.
hypernym
omw-fr-10753546-n
Compare the difference in the relation name for the
oewn
versus theomw-fr
lexicons:For OEWN, the relation name is
hypernym
while foromw-fr
it isomw-fr-10753546-n
. I suspect this is the case for relations obtained from expand lexicons.