CNTLIST(5)

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

πŸ’– CNTLIST(5) πŸ’– WordNetβ„’ File Formats πŸ¦‹

okay bestie, sit down, hydrate, because we're talking about cntlist β€” one of the WordNet file formats, and honestly? it's giving ✨quietly essential✨. no cap.


🌸 NAME 🌸

Two files, one vibe. Here's the tea:

  • cntlist β€” file listing number of times each tagged sense occurs in a semantic concordance, sorted most to least frequently tagged
  • cntlist.rev β€” file listing number of times each tagged sense occurs in a semantic concordance, sorted by sense key

✨ DESCRIPTION ✨

So a cntlist file for a semantic concordance lists the number of times each semantically tagged sense occurs in the concordance and its sense number in the WordNet database. Every single line in the file = one sense in the WordNet database that at least one semantic tag points to. And like β€” only senses that are actually tagged in a concordance show up in that concordance's cntlist file. no filler, only tagged content, periodt. πŸ’…

πŸ‘‘ WordNet Database cntlist File πŸ‘‘

In the WordNet database, words are assigned sense numbers based on frequency of use in semantically tagged corpora. The cntlist file used by grind(1) to build the WordNet database and assign the sense numbers is a union of the cntlist files from the various semantic concordances that were formerly released by Princeton University. This combined cntlist file ships with the WordNet package and lives in the WNSEARCHDIR directory. πŸ“

The cntlist.rev file is used at run-time by the WordNet library code and browser interfaces to print, in the output display, the number of times each sense has been tagged. it's the glow-up version, same data, different order. πŸͺž

πŸŽ€ File Format πŸŽ€

Each line in a cntlist file contains information for one sense. The file is ordered from most to least frequently tagged sense. The fields are separated by one space, and each line is terminated with a newline character. Senses having the same tag_cnt value are listed in reverse alphabetical order of the lemma field of the sense_key. (yes really, reverse. don't ask, just respect it πŸ™ˆ)

Each line in cntlist is of the form:

tag_cnt  sense_key  sense_number

where tag_cnt is the decimal number of times the sense is tagged in the corresponding semantic concordance. sense_key is a WordNet sense encoding and sense_number is a WordNet sense number as described in

The cntlist.rev file contains the same fields described above, in the following order:

sense_key  sense_number  tag_cnt

same three fields, just rearranged. it's giving reshuffled playlist. 🎧


⚠️ NOTES ⚠️

Princeton no longer maintains or releases the Semantic Concordance files. 😭

The cntlist file used to order the senses in WordNet 3.0 was generated from the Semantic Concordance files at the point that they were last updated in 2001. In general, the order of senses presented usually reflects what the user would expect, however sense ordering is now less reliable than in prior releases and should not be construed as an accurate indicator of frequency of use.

fr fr, do not treat the ordering as gospel. it's a vibe, not a verdict. πŸ’€


🌈 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.
  • HKEY_CURRENT_USER\SOFTWARE\WordNet\3.0\wnres β€” User's default browser options.

πŸ“‚ FILES πŸ“‚

  • cntlist, cntlist.rev β€” file of combined semantic concordance cntlist files. Used to assign sense numbers in WordNet database

🫢 SEE ALSO 🫢


and that's the whole page, bestie! πŸ’œ this one's from WordNet 3.0, dated Dec 2006 β€” vintage, iconic, still on the mood board. go forth and tag your senses responsibly. 🧚✨

πŸ“¦ where this page comes from