LEXNAMES(5)

πŸ“¦
version 3.0 Β· 2 versions
, in fedora 43, fedora 44, opensuse-leap 16.0

✨ lexnames(5) β€” WordNetβ„’ File Formats ✨

okay bestie, welcome to the lexnames manual page πŸ’– this is your group chat for the WordNet file-format lore, so grab a boba and let's get into it πŸ§‹


🌸 NAME 🌸

lexnames β€” the list of WordNet lexicographer file names and numbers, fr fr πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, during WordNet development, synsets get organized into forty-five lexicographer files based on syntactic category and logical groupings πŸ‘‘ grind(1) processes these files and produces a database suitable for use with the WordNet library, interface code, and other applications ✨ the format of the lexicographer files is described in wninput(5).

A file number corresponds to each lexicographer file πŸŽ€ File numbers are encoded in several parts of the WordNet system as an efficient way to indicate a lexicographer file name πŸ’€ (it's giving shortcut energy, and we respect it). The file lexnames lists the mapping between file names and numbers, and can be used by programs or end users to correlate the two 🌈

πŸ“ File Format πŸ“

Each line in lexnames contains 3 tab separated fields, and is terminated with a newline character 🌸

  1. The first field is the two digit decimal integer file number β€” (the first file in the list is numbered 00.) ⭐
  2. The second field is the name of the lexicographer file that is represented by that number πŸŽ€
  3. The third field is an integer that indicates the syntactic category of the synsets contained in the file πŸ’œ

that third one is literally just a shortcut for programs and scripts, since the syntactic category is also part of the lexicographer file's name 🫢 iykyk.

πŸ”€ Syntactic Category πŸ”€

The syntactic category field is encoded as follows:

  • 1 β€” NOUN
  • 2 β€” VERB
  • 3 β€” ADJECTIVE
  • 4 β€” ADVERB

πŸ‘‘ Lexicographer Files πŸ‘‘

The names of the lexicographer files and their corresponding file numbers are listed below, along with a brief description of each file's contents πŸ¦‹ (all 45 of them, no skips, 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 πŸ“

The lexicographer files are not included in the WordNet database package 😭 so don't go looking for them in there bestie, they're just not it.

πŸ–₯️ ENVIRONMENT VARIABLES (UNIX) πŸ–₯️

  • WNHOME β€” Base directory for WordNet. Default is /usr/local/WordNet-3.0.
  • WNSEARCHDIR β€” Directory in which the WordNet database has been 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(1), wnintro(5), wndb(5), wninput(5).


and that's the whole page babes 🫢 this was WordNet 3.0, dated Dec 2006 β€” iconic behavior from the WordNet girlies, no cap πŸ’…βœ¨ mwah, go read wninput(5) next, ily bye πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from