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 clusters
  • 01 β€” adj.pert β€” relational adjectives (pertainyms)
  • 02 β€” adv.all β€” all adverbs
  • 03 β€” noun.Tops β€” unique beginner for nouns
  • 04 β€” noun.act β€” nouns denoting acts or actions
  • 05 β€” noun.animal β€” nouns denoting animals
  • 06 β€” noun.artifact β€” nouns denoting man-made objects
  • 07 β€” noun.attribute β€” nouns denoting attributes of people and objects
  • 08 β€” noun.body β€” nouns denoting body parts
  • 09 β€” noun.cognition β€” nouns denoting cognitive processes and contents
  • 10 β€” noun.communication β€” nouns denoting communicative processes and contents
  • 11 β€” noun.event β€” nouns denoting natural events
  • 12 β€” noun.feeling β€” nouns denoting feelings and emotions
  • 13 β€” noun.food β€” nouns denoting foods and drinks
  • 14 β€” noun.group β€” nouns denoting groupings of people or objects
  • 15 β€” noun.location β€” nouns denoting spatial position
  • 16 β€” noun.motive β€” nouns denoting goals
  • 17 β€” noun.object β€” nouns denoting natural objects (not man-made)
  • 18 β€” noun.person β€” nouns denoting people
  • 19 β€” noun.phenomenon β€” nouns denoting natural phenomena
  • 20 β€” noun.plant β€” nouns denoting plants
  • 21 β€” noun.possession β€” nouns denoting possession and transfer of possession
  • 22 β€” noun.process β€” nouns denoting natural processes
  • 23 β€” noun.quantity β€” nouns denoting quantities and units of measure
  • 24 β€” noun.relation β€” nouns denoting relations between people or things or ideas
  • 25 β€” noun.shape β€” nouns denoting two and three dimensional shapes
  • 26 β€” noun.state β€” nouns denoting stable states of affairs
  • 27 β€” noun.substance β€” nouns denoting substances
  • 28 β€” noun.time β€” nouns denoting time and temporal relations
  • 29 β€” verb.body β€” verbs of grooming, dressing and bodily care
  • 30 β€” verb.change β€” verbs of size, temperature change, intensifying, etc.
  • 31 β€” verb.cognition β€” verbs of thinking, judging, analyzing, doubting
  • 32 β€” verb.communication β€” verbs of telling, asking, ordering, singing
  • 33 β€” verb.competition β€” verbs of fighting, athletic activities
  • 34 β€” verb.consumption β€” verbs of eating and drinking
  • 35 β€” verb.contact β€” verbs of touching, hitting, tying, digging
  • 36 β€” verb.creation β€” verbs of sewing, baking, painting, performing
  • 37 β€” verb.emotion β€” verbs of feeling
  • 38 β€” verb.motion β€” verbs of walking, flying, swimming
  • 39 β€” verb.perception β€” verbs of seeing, hearing, feeling
  • 40 β€” verb.possession β€” verbs of buying, selling, owning
  • 41 β€” verb.social β€” verbs of political and social activities and events
  • 42 β€” verb.stative β€” verbs of being, having, spatial relations
  • 43 β€” verb.weather β€” verbs of raining, snowing, thawing, thundering
  • 44 β€” 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 is WNHOME/dict.

πŸͺŸ REGISTRY (WINDOWS) πŸͺŸ

  • HKEY_LOCAL_MACHINE\SOFTWARE\WordNet\3.0\WNHome β€” base directory for WordNet. default is C:\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 πŸ’…βœ¨