getalp / Arasaac-WN

Links from Arasaac pictogram database to the Princeton WordNet
1 stars 0 forks source link

No data yet! #1

Open fcbond opened 4 years ago

fcbond commented 4 years ago

Do you know when it will be released?

We were hoping to use it in the Open Multilingual Wordnet.

judyfong commented 4 years ago

Following this because the associated paper: http://www.lrec-conf.org/proceedings/lrec2020/pdf/2020.lrec-1.21.pdf says it's available here even though there's nothing. I also wanted to use it for my application.

loic-vial commented 4 years ago

Hello ! Thank you for your interest in our work :) We apologize for the delay, but the data are currently in a computer located at our laboratory, which is currently closed due to the pandemic situation... We will update the repository as soon as possible.

fcbond commented 4 years ago

No problem, thanks for the update.

Please stay safe.

On Tue, May 19, 2020 at 10:35 PM Loïc Vial notifications@github.com wrote:

Hello ! Thank you for your interest in our work :) We apologize for the delay, but the data are currently in a computer located at our laboratory, which is currently closed due to the pandemic situation... We will update the repository as soon as possible.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/getalp/Arasaac-WN/issues/1#issuecomment-630860922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPZRW5AEVHTI2QMIVVFN3RSKKKDANCNFSM4NDFPEXQ .

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

juanda99 commented 4 years ago

I guess we have it already implemented in Arasaac, check out our beta api. You can have a look at https://beta.arasaac.org/developers/api (endpoint: /pictograms/{locale}/wordnet/{wordnet}/id/{synset})

fcbond commented 4 years ago

Thanks!

Could you be a bit more specific as to what you want for the id?

I tried offset-pos (02069701-n) , pos-offset (102069701) and sense-key (dog%1:05:00::), but none of them seemed to work.

Also, there is a typo in the error message.

{ "error": "Syncset dog%1:05:00:: not found for Wordnet 30 in our data" }

Syncset -> Synset

Yours,

On Mon, Jul 20, 2020 at 11:35 PM juanda notifications@github.com wrote:

I guess we have it already implemented in Arasaac, check out our beta api. You can have a look at https://beta.arasaac.org/developers/api (endpoint: /pictograms/{locale}/wordnet/{wordnet}/id/{synset})

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/getalp/Arasaac-WN/issues/1#issuecomment-661114780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPZRTILZT27JBZRO3J3RDR4RP4PANCNFSM4NDFPEXQ .

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

juanda99 commented 4 years ago

@fcbond thanks for the typo. I don't have nltk installed in my dev machine right now (out of space issue). However, having a look online: http://wordnet-rdf.princeton.edu/lemma/dog and ussing Wordnet 3.0, for word "dog" I test this wordnet identifier 02084071-n and it works ok.

curl -X GET "https://api.arasaac.org/api/pictograms/en/wordnet/3.0/id/02084071-n" -H "accept: application/json"

We don't have pictograms for all wordnets ids. Maybe you can search the keyword and get all availables wordnet ids (3.1): curl -X GET "https://api.arasaac.org/api/pictograms/en/search/dog" -H "accept: application/json"

fcbond commented 4 years ago

Thank you. In order to know ahead of time which have pictures (and not keeping hitting you unnecessarily), would it be possible to get the wordnet-image mapping? basically something like

wn wn id pic_id 3.0 02084071-n 2517 3.0 02084071-n 7202 3.0 02084071-n 34143 ...

or 3.1 ids are also fine, we can map them :-)

or if you dond't mind we can just hit each synset in turn :-).

juanda99 commented 4 years ago

We'll implement the endpoint. Give me a couple of days. However you could add the request via our repo so we don't bother here. Repo url: https://github.com/juanda99/arasaac-docker