LEXNAMES(5WN)
π lexnames β the WordNet File Formats glow-up (5WN) π
okay bestie, welcome to lexnames(5WN), aka the little file that's basically the group chat roster of WordNet's lexicographer files. it's giving backstage pass β¨
πΈ NAME πΈ
lexnames β the full list of WordNet lexicographer file names and their numbers, fr fr.
π¦ DESCRIPTION π¦
so here's the tea π«: while WordNet was being developed, synsets got sorted into forty-five lexicographer files, organized by syntactic category and logical groupings. grind(1WN) chews through those files and spits out a database that's ready to party with the WordNet library, interface code, and other applications. if you wanna know what the lexicographer files actually look like inside, that's wninput(5WN)'s whole thing.
every lexicographer file has a file number that goes with it. those numbers are encoded all over the WordNet system as the efficient way to say "yeah, that lexicographer file name" without typing the whole thing out. the lexnames file is literally the mapping between names and numbers, so programs and end users can match the two up. no cap. π
π File Format
each line in lexnames has 3 tab separated fields, and every line ends with a newline character. periodt.
- the first field is the two digit decimal integer file number. (the first file in the list is numbered
00β iconic.) - the second field is the name of the lexicographer file that number represents.
- the third field is an integer that says what syntactic category the synsets in that file belong to. it's just a lil shortcut for programs and scripts, since the syntactic category is also part of the lexicographer file's name anyway. iykyk. π
π’ Syntactic Category
the syntactic category field is encoded like this:
1 NOUN
2 VERB
3 ADJECTIVE
4 ADVERB
π Lexicographer Files
here's the whole lineup, names + numbers + a quick lil description of what lives in each one. all 45, no skipping, we don't do that here π
00βadj.allβ all adjective clusters01βadj.pertβ relational adjectives (pertainyms)02βadv.allβ all adverbs03βnoun.Topsβ unique beginner for nouns04βnoun.actβ nouns denoting acts or actions05βnoun.animalβ nouns denoting animals06βnoun.artifactβ nouns denoting man-made objects07βnoun.attributeβ nouns denoting attributes of people and objects08βnoun.bodyβ nouns denoting body parts09βnoun.cognitionβ nouns denoting cognitive processes and contents10βnoun.communicationβ nouns denoting communicative processes and contents11βnoun.eventβ nouns denoting natural events12βnoun.feelingβ nouns denoting feelings and emotions13βnoun.foodβ nouns denoting foods and drinks14βnoun.groupβ nouns denoting groupings of people or objects15βnoun.locationβ nouns denoting spatial position16βnoun.motiveβ nouns denoting goals17βnoun.objectβ nouns denoting natural objects (not man-made)18βnoun.personβ nouns denoting people19βnoun.phenomenonβ nouns denoting natural phenomena20βnoun.plantβ nouns denoting plants21βnoun.possessionβ nouns denoting possession and transfer of possession22βnoun.processβ nouns denoting natural processes23βnoun.quantityβ nouns denoting quantities and units of measure24βnoun.relationβ nouns denoting relations between people or things or ideas25βnoun.shapeβ nouns denoting two and three dimensional shapes26βnoun.stateβ nouns denoting stable states of affairs27βnoun.substanceβ nouns denoting substances28βnoun.timeβ nouns denoting time and temporal relations29βverb.bodyβ verbs of grooming, dressing and bodily care30βverb.changeβ verbs of size, temperature change, intensifying, etc.31βverb.cognitionβ verbs of thinking, judging, analyzing, doubting32βverb.communicationβ verbs of telling, asking, ordering, singing33βverb.competitionβ verbs of fighting, athletic activities34βverb.consumptionβ verbs of eating and drinking35βverb.contactβ verbs of touching, hitting, tying, digging36βverb.creationβ verbs of sewing, baking, painting, performing37βverb.emotionβ verbs of feeling38βverb.motionβ verbs of walking, flying, swimming39βverb.perceptionβ verbs of seeing, hearing, feeling40βverb.possessionβ verbs of buying, selling, owning41βverb.socialβ verbs of political and social activities and events42βverb.stativeβ verbs of being, having, spatial relations43βverb.weatherβ verbs of raining, snowing, thawing, thundering44βadj.pplβ participial adjectives
β οΈ NOTES β οΈ
bestie. listen. the lexicographer files are not included in the WordNet database package. π don't go looking for them in there, you will not find them.
π ENVIRONMENT VARIABLES (UNIX) π
WNHOMEβ base directory for WordNet. default is/usr/local/WordNet-3.0.WNSEARCHDIRβ the directory where the WordNet database got installed. default isWNHOME/dict.
πͺ REGISTRY (WINDOWS) πͺ
HKEY_LOCAL_MACHINE\SOFTWARE\WordNet\3.0\WNHomeβ base directory for WordNet. default isC:\Program Files\WordNet\3.0.
π FILES π
lexnamesβ list of lexicographer file names and numbers
π₯ SEE ALSO π₯
grind(1WN), wnintro(5WN), wndb(5WN), wninput(5WN).
and that's the whole page, bestie π this was WordNet 3.0, dated Dec 2006 β tysm for reading, mwah, slay, go map some file numbers π β¨
π¦ where this page comes from
- debian bookworm: wordnet-base 1:3.0-37 Β· WordNet3.0
- debian trixie: wordnet-base 1:3.0-39 Β· WordNet3.0
- ubuntu jammy: wordnet-base 1:3.0-37 Β· WordNet3.0
- ubuntu noble: wordnet-base 1:3.0-37 Β· WordNet3.0
- ubuntu questing: wordnet-base 1:3.0-40
- ubuntu resolute: wordnet-base 1:3.0-41 Β· WordNet3.0
- ubuntu stonking: wordnet-base 1:3.0-41 Β· WordNet3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms