1

I want to detect words with Polysemy in a given text in descending order. That the word that has multiple meanings should be in the top of the list, and words with least Polysemy should be in bottom.

In other words, I want a list of words with the number of "meanings" for each word (i.e. with highest Polysemy).

Is there a way to do it using DBpedia or any other resource in open data cloud?

3
  • 1
    Do you want a resource you are looking for to be able to perform basic natural language processing tasks, i. e. parsing of a given text, reconstructing dictionary forms of words, etc? If so, you can use something like NLTK, and this part of question is not related to open data. If you just need s list if words with the number of "meanings" for each one, then edit your question. Oct 12, 2018 at 8:42
  • @StanislavKralin Thank you very much for your comment. I want a list of words with the number of "meanings" for each one. I edited the question :)
    – J Cena
    Oct 15, 2018 at 14:55
  • 1
    @stanislavKralin Do you have any suggestions?
    – J Cena
    Oct 15, 2018 at 15:58

1 Answer 1

2

First, I assume all NLP-related aspects are subtracted from your question.

DBpedia is considered as belonging to the Linguistic Linked Open Data Cloud (interactive SVG), but I'd suggest to try more specialized resources, e. g. RDF version of BabelNet.

One can't retrieve the whole list of English words with the number of meanings on the public endpoint.
Probably one could download a dump for local querying.

For relatively small sequences of words you could write something like this:

SELECT ?label (COUNT(?sense) AS ?number) WHERE {
     VALUES (?label) {("every"@en) ("drop"@en) ("of"@en) ("rain"@en) ("that"@en) ("fall"@en)}
     ?entries a lemon:LexicalEntry ;
              lemon:language "EN" ;
              lemon:sense ?sense ;
              rdfs:label ?label .
  #  ?sense lemon:reference/bn-lemon:synsetType "concept" .
} GROUP BY ?label ORDER BY DESC(?number)

Try it!

Results of the above query:

   label     number  
 ---------- -------- 
  "fall"         48  
  "drop"         33  
  "rain"          9  
  "that"          4  
  "every"         3  
  "of"            1  

"Senses" of "drop" in BabelNet 4.0.

3
  • 1
    See also stackoverflow.com/q/45724795/7879193 Oct 15, 2018 at 17:12
  • Thanks a lot. This is very useful. I am also working with scientific publications. Can you please suggest me a good resource that I could follow to extract important terms in scientific publications from linked open data?
    – J Cena
    Oct 17, 2018 at 2:17
  • 1
    @JCena, unfortunately, I don't know. Oct 21, 2018 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.