Skip to content
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

murciélago , spanish for "bat" is not found in wordnet (omw) #151

Open
JamesArthurHolland opened this issue Mar 1, 2021 · 2 comments
Open

Comments

@JamesArthurHolland
Copy link

JamesArthurHolland commented Mar 1, 2021

grep murciélago
20274:02141611-n lemma murciélago ratonero
20285:02143142-n lemma murciélago trompudo mexicano

^ it exists in the omw folder

>>> print(wn.synsets("murciélago", lang="spa"))
[]
>>> print(wn.synsets("gato", lang="spa"))
[Synset('cat.n.01'), Synset('tom.n.02'), Synset('dodger.n.01')]

Cat is found but bat is not

@JamesArthurHolland JamesArthurHolland changed the title murciélago , spanish for "bat" is not found murciélago , spanish for "bat" is not found in wordnet On my way! Mar 1, 2021
@JamesArthurHolland JamesArthurHolland changed the title murciélago , spanish for "bat" is not found in wordnet On my way! murciélago , spanish for "bat" is not found in wordnet (omw) Mar 1, 2021
@fcbond
Copy link
Contributor

fcbond commented Mar 2, 2021 via email

@ekaf
Copy link
Contributor

ekaf commented May 6, 2022

@JamesArthurHolland the OMW lines that you quote don't mean that "murciélago" exists as a single word in OMW-1.4, but that it exists as a part of two compounds:

from nltk.corpus import wordnet as wn
print(wn.synsets("murciélago_ratonero", lang="spa"))

[Synset('mouse-eared_bat.n.01')]

print(wn.synsets("murciélago_trompudo_mexicano", lang="spa"))

[Synset('hognose_bat.n.01')]

print(wn.synsets("bat")[0].lemmas(lang="spa"))

[Lemma('bat.n.01.chiroptera')]

However, the word "murciélago" exists in the Spanish wordnet released by MCR in 2016, so it could help if OMW caught up with that data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants