Skip to content
RAG Repo

WordNet organises English around meaning. Words that share a sense are gathered into a synset (a set of synonyms), and the synsets are joined by relationships such as "is a kind of", "is a part of", and "is the opposite of". Because a word can have several senses, WordNet keeps them separate, which helps tell apart, say, a river bank from a savings bank.

It has been a staple of language technology for decades and ships in many toolkits, so you can load it locally and look words up without an API. The data is small and fast to work with, and versions exist for other languages through related projects.

For RAG and search, WordNet is useful for expanding queries with synonyms, working out which sense of a word is meant, and measuring how closely two words relate. It is a dependable building block wherever you need a structured view of English vocabulary.

lexical-databaseenglishsynonymsnlpprinceton

Related sources