-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any mapping between different English wordnet? #176
Comments
Hi,
the different versions of the Princeton wordnet use sensekeys to link
senses: they are meant to be stable between versions, although there have
been occasional surprises (sometimes different capitalization has caused
issues). OEWN and OMW use the ILI keys to link synsets:
Francis Bond, Piek Vossen, John McCrae, and Christiane Fellbaum (2016)
CILI: the Collaborative Interlingual Index. In Proceedings of the 8th
Global WordNet Conference (GWC2016), Bucharest. pp 50–57
https://aclanthology.org/2016.gwc-1.9/
…On Tue, 18 Oct 2022 at 15:15, 孙明明 ***@***.***> wrote:
There have been may English wordnets and I wonder whether there is any
mapping between the ids of synsets in these wordnets, for example, oewn/ewn
<-> omw.
If there is, please tell me how to get the mapping.
Thank you ~
—
Reply to this email directly, view it on GitHub
<#176>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIPZRQWNG3EMTFKSPIJCWDWD2PIZANCNFSM6AAAAAARICOBEE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Francis Bond <https://fcbond.github.io/>
|
@rudaoshi, to add to what @fcbond said, in Wn you can use the >>> import wn
>>> oewn = wn.Wordnet('oewn')
>>> wn30 = wn.Wordnet('omw-en')
>>> oewn.synsets('penumbra')[0].ili
ILI('i110430')
>>> wn30.synsets('penumbra')[0].ili
ILI('i110430')
>>> wn30.synsets(ili='i110430')[0].lemmas()
['penumbra']
>>> wnja = wn.Wordnet('omw-ja')
>>> wnja.synsets(ili='i110430')[0].lemmas()
['半影'] For the >>> wn30.senses('penumbra')[0].metadata()
{'identifier': 'penumbra%1:26:00::'}
>>> oewn.senses('penumbra')[0].metadata()
{}
>>> wnja.senses('半影')[0].metadata()
{} |
Thanks @goodmami and @fcbond . I did not understand this correctly before, but now, I think I start to get a more accurate picture of the implicit "mapping" in Wn. Actually, it seems that Wn does no mapping by itself, but loads resources that were previously mapped to ILI.
I suppose that a part (though not all) of this difference can be attributed to #179. |
It seems like the original question has been answered. |
There have been may English wordnets and I wonder whether there is any mapping between the ids of synsets in these wordnets, for example, oewn/ewn <-> omw.
If there is, please tell me how to get the mapping.
Thank you ~
The text was updated successfully, but these errors were encountered: