chartbeat-labs / textacy

NLP, before and after spaCy
https://textacy.readthedocs.io
Other
2.22k stars 250 forks source link

Method to retrieve all words in ConceptNet #355

Open chrisspen opened 2 years ago

chrisspen commented 2 years ago

The textacy.resources.ConceptNet module appears to have methods for retrieving synonyms, meronyms, hyponyms and other word types in relation to a given word, but there doesn't appear to be any way to simply retrieve a list of all words in ConceptNet. Is this possible to do?

bdewilde commented 2 years ago

Hi @chrisspen , sorry to leave this question hanging for so long. I've not touched the ConceptNet code in a while, and after a bit of digging, I can tell you that I wish I'd left more comments. 😅

Are you looking for a list of all words with any relation to other words in the data? For a specific language, or all languages? It looks like there's no convenient way to do this right now, but I'm sure there could be -- just explain your use case a bit more, so I can understand what you're trying to do.