own-pt / openWordnet-PT

OpenWordnet-PT: an open access wordnet for Portuguese
http://openwordnet-pt.org
Other
154 stars 35 forks source link

sorting search results in web interface #145

Closed odanoburu closed 6 years ago

odanoburu commented 6 years ago

I was comparing the search results for house in the PWN and for casa in OWN, and thought that sorting the results by hypernymy might improve their presentation (i.e., when people lookup casa they are probably not looking for dine_in, eat_in | comer em casa, which is the first result). although a tweak in the Solr query might also yield better sorting.

arademaker commented 6 years ago

You can be more specific and ask for synsets with “casa” in the word_pt field of the synset

http://wnpt.brlcloud.com/wn/search?term=word_pt%3Acasa

This will give you a list closer to the PWN result.

odanoburu commented 6 years ago

that's good to know, thanks! still, for non-advanced users it'd be nice to have this feature

arademaker commented 6 years ago

Yep . But please report in https://github.com/own-pt/cl-wnbrowser