CINXE.COM
wndb(5WN) | WordNet
<!DOCTYPE html> <html lang="en" dir="ltr" prefix="og: https://ogp.me/ns#"> <head> <meta charset="utf-8" /> <meta name="description" content="Name index.noun, data.noun, index.verb, data.verb, index.adj, data.adj, index.adv, data.adv - WordNet database files noun.exc, verb.exc. adj.exc adv.exc - morphology exception lists sentidx.vrb, sents.vrb - files used by search code to display sentences illustrating the use of some specific verbs Description For each syntactic category, two files a" /> <link rel="canonical" href="https://wordnet.princeton.edu/documentation/wndb5wn" /> <meta property="og:site_name" content="WordNet" /> <meta property="og:type" content="article" /> <meta property="og:url" content="https://wordnet.princeton.edu/documentation/wndb5wn" /> <meta property="og:title" content="wndb(5WN)" /> <meta property="og:description" content="Name index.noun, data.noun, index.verb, data.verb, index.adj, data.adj, index.adv, data.adv - WordNet database files noun.exc, verb.exc. adj.exc adv.exc - morphology exception lists sentidx.vrb, sents.vrb - files used by search code to display sentences illustrating the use of some specific verbs Description For each syntactic category, two files a" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="Generator" content="Drupal 10 (https://www.drupal.org)" /> <meta name="MobileOptimized" content="width" /> <meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="icon" href="/profiles/ps/themes/ps_tiger/favicon.ico" type="image/vnd.microsoft.icon" /> <title>wndb(5WN) | WordNet</title> <link rel="stylesheet" media="all" href="/modules/contrib/linkpurpose/library/css/linkpurpose.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/align.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/fieldgroup.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/container-inline.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/clearfix.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/details.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/hidden.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/item-list.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/js.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/nowrap.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/position-container.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/reset-appearance.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/resize.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/system-status-counter.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/system-status-report-counters.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/system-status-report-general-info.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/system/components/tablesort.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/core/components/progress.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/core/components/ajax-progress.module.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/libraries/custom/select2/dist/css/select2.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/libraries/custom/select2/dist/css/select2-off-canvas.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/modules/custom/select2_simple/css/select2_simple.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/modules/custom/ps_core/css/global.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/modules/custom/ps_core/layouts/threecol_33_34_33/threecol_33_34_33.css?sm80y0" /> <link rel="stylesheet" media="all" href="/core/modules/layout_discovery/layouts/onecol/onecol.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/core/assets/vendor/normalize-css/normalize.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/stable/css/core/normalize-fixes.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/action-links.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/breadcrumb.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/button.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/collapse-processed.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/container-inline.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/details.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/exposed-filters.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/field.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/form.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/icons.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/inline-form.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/item-list.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/link.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/links.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/menu.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/more-link.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/pager.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/tabledrag.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/tableselect.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/tablesort.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/tabs.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/textarea.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/ui-dialog.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/messages.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/progress.css?sm80y0" /> <link rel="stylesheet" media="all" href="/themes/contrib/classy/css/components/node.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/themes/ps_base/bootstrap/css/bootstrap.min.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/themes/ps_base/css/styles.css?sm80y0" /> <link rel="stylesheet" media="all" href="/profiles/ps/themes/ps_tiger/css/styles.css?sm80y0" /> <link rel="stylesheet" media="all" href="//use.typekit.net/xxx7asp.css" /> <link rel="stylesheet" media="all" href="//use.typekit.net/bok5fgz.css" /> <script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","pathPrefix":"","currentPath":"node\/27","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"en"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"gtag":{"tagId":"UA-115035814-1","consentMode":false,"otherIds":["G-1GCMYCJGED"],"events":[],"additionalConfigInfo":{"cookie_domain":"none"}},"ajaxPageState":{"libraries":"eJxlUtFuwyAM_CFapGb_gxziAqvBEYao6dcP0i7Nugcs39nynS0sgciqRxBU9plHFAGH8osTT63GGfWU6wx0vnKOTyK1DCg8UDlmR2gKOO1a-MRn-Ia7Ili5FjMFsbxgXjUntEyKQrrNNc8sqEMKRc1iuiM9Mt9OkadKuHMRUz1h8pAs5s7aG06hcDYWiNp8_UlsTd1u0yKYpdnCezGCkK1veY5iMi4I9Br46q0xyY5fipO5sq1vekMwtlU9iDfXcD_McMQj0A77mmZED0vgdxOx60fZilUwJ4i4F_949MF5aq8cJIrP2G9ohsEMXy32SgkOc7OWimC5_GMOPU-HJylr03dKkNCWi5EQZ-rqR6hklYJx-ys_etbc4w","theme":"ps_tiger","theme_token":null},"ajaxTrustedUrl":[],"linkpurpose":{"domain":"https:\/\/wordnet.princeton.edu","ignore":"#toolbar-administration a, .princeton-branding a, .copyright a, .block-ps-social a","noIconOnImages":true,"purposeDocument":true,"purposeDocumentMessage":"Link downloads document","purposeDownload":true,"purposeDownloadMessage":"Link downloads file","purposeApp":true,"purposeAppMessage":"Link opens app","purposeExternal":true,"purposeExternalMessage":"Link is external","purposeMail":true,"purposeMailMessage":"Link sends email","purposeTel":true,"purposeTelMessage":"Link opens phone app","purposeNewWindow":true,"purposeNewWindowMessage":"Link opens in new window","css_url":"\/modules\/contrib\/linkpurpose"},"all_documents_new_window":false,"select2_simple":{"selector":".node-form select:not(.disable-select2,[name$=\u0027[actions][bundle]\u0027],.ui-timepicker-select,[name*=\u0027field_ps_timeline_feature_items\u0027]),.select2-form select[multiple],form.layout-builder-configure-block select[multiple]"},"user":{"uid":0,"permissionsHash":"93bb85c64333532c1bf90b6198d770863dddcf6216dbc56ba0244eb621d83f0a"}}</script> <script src="/core/assets/vendor/jquery/jquery.min.js?v=3.7.1"></script> <script src="/core/assets/vendor/once/once.min.js?v=1.0.1"></script> <script src="/core/misc/drupalSettingsLoader.js?v=10.3.6"></script> <script src="/core/misc/drupal.js?v=10.3.6"></script> <script src="/core/misc/drupal.init.js?v=10.3.6"></script> <script src="/core/assets/vendor/tabbable/index.umd.min.js?v=6.2.0"></script> <script src="/modules/contrib/google_tag/js/gtag.js?sm80y0"></script> <script src="/core/misc/progress.js?v=10.3.6"></script> <script src="/core/assets/vendor/loadjs/loadjs.min.js?v=4.3.0"></script> <script src="/core/misc/debounce.js?v=10.3.6"></script> <script src="/core/misc/announce.js?v=10.3.6"></script> <script src="/core/misc/message.js?v=10.3.6"></script> <script src="/profiles/ps/themes/ps_base/js/message.theme.js?sm80y0"></script> <script src="/core/misc/ajax.js?v=10.3.6"></script> <script src="/themes/contrib/stable/js/ajax.js?v=10.3.6"></script> <script src="/modules/contrib/google_tag/js/gtag.ajax.js?sm80y0"></script> </head> <body class="not-front section-documentation page-node-27 content-type-ps-basic-page flavor2 fontset1 menu5 layout-block-padding-medium layout-above-section-spacing-none layout-below-section-spacing-none"> <div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas> <div class="page page-container"> <header role="banner" class="header region region-header" id="header"> <h1 class="sr-only sr-site-name">WordNet A Lexical Database for English</h1> <div class="skip-links"> <a href="#main-content" class="sr-only sr-only-focusable"><span class="hide-on-focus">Off screen link: </span>Skip to content</a> <a href="#edit-search-keys" class="sr-only sr-only-focusable"><span class="hide-on-focus">Off screen link: </span>Skip to search</a> </div> <div class="header-container container"> <div class="princeton-branding"> <div class="container"> <a href="http://www.princeton.edu" class="pu-logo" title="Princeton University"> <img src="/profiles/ps/themes/ps_base/images/pu-logo.svg" alt="Princeton University"/> </a> </div> </div> <div class="site-branding"> <div class="container"> <div class="row"> <div class="site-info with-slogan with-slogan-suffix"> <div class="site-name"> <a href="/" title="Home" rel="home">WordNet</a> </div> <div class="site-slogan"> A Lexical Database for English </div> </div> </div> </div> </div> <nav aria-label="site" class="main-menu"> <h2 class="sr-only">Main Menu</h2> <div class="container navbar-expand-lg"> <button class="toggle-mobile-menu unbutton" type="button" data-toggle="collapse" data-target="#menu-container" aria-controls="menu-container" aria-expanded="false" aria-label="Toggle navigation"> <span class="toggle-mobile-menu-icon"> <span class="toggle-mobile-menu-title">Menu</span> <i class="fa fa-bars" aria-hidden="true"></i> </span> </button> <div id="menu-container" class="collapse navbar-collapse"> <ul class="nav navbar-nav main" role="list"> <li class="nav-item"> <a href="/" data-drupal-link-system-path="<front>">What is WordNet</a> </li> <li class="nav-item expanded"> <a href="/people" data-drupal-link-system-path="node/42">People</a> <button class="toggle-submenu unbutton" type="button" data-toggle="collapse" aria-expanded="false"> <span class="toggle-submenu-icon"> <i class="fa-solid fa-plus" aria-hidden="true"></i> </span> <span class="sr-only">Submenu</span> </button> <ul class="submenu collapse" role="list"> <li class="submenu-item"> <a href="/people/george-miller" data-drupal-link-system-path="node/1">George A. Miller</a> </li> </ul> </li> <li class="nav-item"> <a href="/news-0" data-drupal-link-system-path="node/4">News</a> </li> <li class="nav-item"> <a href="/download" data-drupal-link-system-path="node/5">Use Wordnet Online</a> </li> <li class="nav-item expanded"> <a href="/download" data-drupal-link-system-path="node/5">Download</a> <button class="toggle-submenu unbutton" type="button" data-toggle="collapse" aria-expanded="false"> <span class="toggle-submenu-icon"> <i class="fa-solid fa-plus" aria-hidden="true"></i> </span> <span class="sr-only">Submenu</span> </button> <ul class="submenu collapse" role="list"> <li class="submenu-item"> <a href="/download/current-version" data-drupal-link-system-path="node/6">Current Version</a> </li> <li class="submenu-item"> <a href="/download/old-versions" data-drupal-link-system-path="node/8">Old Versions</a> </li> <li class="submenu-item"> <a href="/download/standoff-files" data-drupal-link-system-path="node/7">Standoff Files</a> </li> </ul> </li> <li class="nav-item"> <a href="/citing-wordnet" data-drupal-link-system-path="node/9">Citing WordNet</a> </li> <li class="nav-item"> <a href="/license-and-commercial-use" data-drupal-link-system-path="node/10">License and Commercial Use</a> </li> <li class="nav-item"> <a href="/related-projects" data-drupal-link-system-path="node/11">Related Projects</a> </li> <li class="nav-item expanded active"> <a href="/documentation" data-drupal-link-system-path="node/12">Documentation</a> <button class="toggle-submenu unbutton" type="button" data-toggle="collapse" aria-expanded="false"> <span class="toggle-submenu-icon"> <i class="fa-solid fa-plus" aria-hidden="true"></i> </span> <span class="sr-only">Submenu</span> </button> <ul class="submenu collapse submenu--2-col" role="list"> <li class="submenu-item"> <a href="/documentation/binsrch3wn" data-drupal-link-system-path="node/15">binsrch(3WN)</a> </li> <li class="submenu-item"> <a href="/documentation/cntlist5wn" data-drupal-link-system-path="node/16">cntlist(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/grind1wn" data-drupal-link-system-path="node/17">grind(1WN)</a> </li> <li class="submenu-item"> <a href="/documentation/lexnames5wn" data-drupal-link-system-path="node/18">lexnames(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/morph3wn" data-drupal-link-system-path="node/19">morph(3WN)</a> </li> <li class="submenu-item"> <a href="/documentation/morphy7wn" data-drupal-link-system-path="node/20">morphy(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/prologdb5wn" data-drupal-link-system-path="node/21">prologdb(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/senseidx5wn" data-drupal-link-system-path="node/22">senseidx(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/sensemap5wn" data-drupal-link-system-path="node/23">sensemap(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/uniqbeg7wn" data-drupal-link-system-path="node/24">uniqbeg(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wn1wn" data-drupal-link-system-path="node/26">wn(1WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnb1wn" data-drupal-link-system-path="node/25">wnb(1WN)</a> </li> <li class="submenu-item active"> <a href="/documentation/wndb5wn" data-drupal-link-system-path="node/27" class="is-active" aria-current="page">wndb(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wngloss7wn" data-drupal-link-system-path="node/28">wngloss(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wngroups7wn" data-drupal-link-system-path="node/29">wngroups(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wninput5wn" data-drupal-link-system-path="node/30">wninput(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro1wn" data-drupal-link-system-path="node/31">wnintro(1WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro3wn" data-drupal-link-system-path="node/32">wnintro(3WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro5wn" data-drupal-link-system-path="node/33">wnintro(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro7wn" data-drupal-link-system-path="node/34">wnintro(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnlicens7wn" data-drupal-link-system-path="node/35">wnlicens(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnpkgs7wn" data-drupal-link-system-path="node/36">wnpkgs(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnsearch3wn" data-drupal-link-system-path="node/41">wnsearch(3WN)</a> </li> <li class="submenu-item expanded"> <a href="/documentation/wnstats7wn" data-drupal-link-system-path="node/37">wnstats(7WN)</a> <button class="toggle-submenu unbutton" type="button" data-toggle="collapse" aria-expanded="false"> <span class="toggle-submenu-icon"> <i class="fa-solid fa-plus" aria-hidden="true"></i> </span> <span class="sr-only">Submenu</span> </button> <ul class="submenu collapse" role="list"> <li class="submenu-item"> <a href="/documentation/21-wnstats7wn" data-drupal-link-system-path="node/40">2.1 wnstats(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/20-wnstats7wn" data-drupal-link-system-path="node/39">2.0 wnstats(7WN)</a> </li> </ul> </li> <li class="submenu-item"> <a href="/documentation/wnutil3wn" data-drupal-link-system-path="node/38">wnutil(3WN)</a> </li> </ul> </li> <li class="nav-item"> <a href="/publications" data-drupal-link-system-path="node/13">Publications</a> </li> <li class="nav-item"> <a href="/frequently-asked-questions" data-drupal-link-system-path="node/14">Frequently Asked Questions</a> </li> </ul> <div class="utility-menu"> <ul class="nav navbar-nav utility-nav"> <li class="nav-item"> <a href="/caslogin" class="ps-login-link ps-login-logout-link" data-drupal-link-system-path="caslogin">Log in</a> </li> </ul> </div> </div> </div> </nav> <div class="search-bar" id="search-bar"> <div class="container navbar-expand-lg" role="search"> <h2 class="sr-only">Search</h2> <button class="toggle-searchbar unbutton" type="button" data-toggle="collapse" data-target="#search-bar-container" aria-controls="search-bar-container" aria-expanded="false" aria-label="Toggle search"> <span class="toggle-search-icon"> <i class="fa-solid fa-search" aria-hidden="true"></i> </span> </button> <div id="search-bar-container" class="collapse navbar-collapse"> <div class="search-block-form contextual-region block block-search container-inline" id="block-searchform"> <form action="/search" method="get" id="search-block-form" accept-charset="UTF-8"> <div id="search-toggled" class="form-group js-form-item form-item js-form-type-search form-type-search js-form-item-keys form-item-keys form-no-label"> <label for="edit-search-keys" class="visually-hidden">Search</label> <input placeholder="Search" type="search" id="edit-search-keys" name="keys" value="" size="15" maxlength="128" class="form-search form-control"> </div> <div data-drupal-selector="edit-search-actions" class="form-actions js-form-wrapper form-wrapper" id="edit-search-actions"><input type="submit" id="edit-search-submit" value="Submit" class="button js-form-submit form-submit btn btn-primary"> </div> </form> </div> </div> </div> </div> </div> </header> <div class="breadcrumb region region-breadcrumb" id="breadcrumb"> <div class="container"> <nav role="navigation" aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="/">Home</a> </li> <li class="breadcrumb-item"> <a href="/documentation">WordNet Documentation</a> </li> <li class="breadcrumb-item active" aria-current="page"> wndb(5WN) </li> </ol> </nav> </div> </div> <div class="highlighted" id="highlighted"> <div class="container"> <div class="region region-highlighted"> <div data-drupal-messages-fallback class="hidden"></div> </div> </div> </div> <div id="main" class="main-container"> <div class="container"> <div class="row"> <div class="sidebar-first section order-first col-sm-4 col-md-3 col-lg-2"> <nav class="main-sidebar-menu" aria-label="site"> <h2 class="sr-only">Main Menu</h2> <ul class="nav navbar-nav main" role="list"> <li class="nav-item"> <a href="/" data-drupal-link-system-path="<front>">What is WordNet</a> </li> <li class="nav-item collapsed"> <a href="/people" data-drupal-link-system-path="node/42">People</a> </li> <li class="nav-item"> <a href="/news-0" data-drupal-link-system-path="node/4">News</a> </li> <li class="nav-item"> <a href="/download" data-drupal-link-system-path="node/5">Use Wordnet Online</a> </li> <li class="nav-item collapsed"> <a href="/download" data-drupal-link-system-path="node/5">Download</a> </li> <li class="nav-item"> <a href="/citing-wordnet" data-drupal-link-system-path="node/9">Citing WordNet</a> </li> <li class="nav-item"> <a href="/license-and-commercial-use" data-drupal-link-system-path="node/10">License and Commercial Use</a> </li> <li class="nav-item"> <a href="/related-projects" data-drupal-link-system-path="node/11">Related Projects</a> </li> <li class="nav-item expanded active"> <a href="/documentation" data-drupal-link-system-path="node/12">Documentation</a> <button class="toggle-submenu unbutton" type="button" data-toggle="collapse" aria-expanded="false"> <span class="toggle-submenu-icon"> <i class="fa-solid fa-plus" aria-hidden="true"></i> </span> <span class="sr-only">Submenu</span> </button> <ul class="submenu collapse submenu--2-col" role="list"> <li class="submenu-item"> <a href="/documentation/binsrch3wn" data-drupal-link-system-path="node/15">binsrch(3WN)</a> </li> <li class="submenu-item"> <a href="/documentation/cntlist5wn" data-drupal-link-system-path="node/16">cntlist(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/grind1wn" data-drupal-link-system-path="node/17">grind(1WN)</a> </li> <li class="submenu-item"> <a href="/documentation/lexnames5wn" data-drupal-link-system-path="node/18">lexnames(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/morph3wn" data-drupal-link-system-path="node/19">morph(3WN)</a> </li> <li class="submenu-item"> <a href="/documentation/morphy7wn" data-drupal-link-system-path="node/20">morphy(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/prologdb5wn" data-drupal-link-system-path="node/21">prologdb(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/senseidx5wn" data-drupal-link-system-path="node/22">senseidx(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/sensemap5wn" data-drupal-link-system-path="node/23">sensemap(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/uniqbeg7wn" data-drupal-link-system-path="node/24">uniqbeg(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wn1wn" data-drupal-link-system-path="node/26">wn(1WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnb1wn" data-drupal-link-system-path="node/25">wnb(1WN)</a> </li> <li class="submenu-item active"> <a href="/documentation/wndb5wn" data-drupal-link-system-path="node/27" class="is-active" aria-current="page">wndb(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wngloss7wn" data-drupal-link-system-path="node/28">wngloss(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wngroups7wn" data-drupal-link-system-path="node/29">wngroups(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wninput5wn" data-drupal-link-system-path="node/30">wninput(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro1wn" data-drupal-link-system-path="node/31">wnintro(1WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro3wn" data-drupal-link-system-path="node/32">wnintro(3WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro5wn" data-drupal-link-system-path="node/33">wnintro(5WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnintro7wn" data-drupal-link-system-path="node/34">wnintro(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnlicens7wn" data-drupal-link-system-path="node/35">wnlicens(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnpkgs7wn" data-drupal-link-system-path="node/36">wnpkgs(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnsearch3wn" data-drupal-link-system-path="node/41">wnsearch(3WN)</a> </li> <li class="submenu-item collapsed"> <a href="/documentation/wnstats7wn" data-drupal-link-system-path="node/37">wnstats(7WN)</a> </li> <li class="submenu-item"> <a href="/documentation/wnutil3wn" data-drupal-link-system-path="node/38">wnutil(3WN)</a> </li> </ul> </li> <li class="nav-item"> <a href="/publications" data-drupal-link-system-path="node/13">Publications</a> </li> <li class="nav-item"> <a href="/frequently-asked-questions" data-drupal-link-system-path="node/14">Frequently Asked Questions</a> </li> </ul> </nav> </div> <main class="main main-content col-sm-12 col-lg-10 order-last"> <a id="main-content" class="sr-only skip-link"></a> <div class="region region-content"> <div id="block-ps-tiger-page-title" data-block-plugin-id="page_title_block" class="with-block-description block block-core block-page-title-block"> <h1 class="page-title"> wndb(5WN) </h1> </div> <div id="block-ps-tiger-content" data-block-plugin-id="system_main_block" class="with-block-description block block-system block-system-main-block"> <article class="node node--type-ps-basic-page node--view-mode-full"> <div class="node__content"> <div class="constrained-bkg-constrained-content layout layout--onecol"> <div class="layout-container"> <div class="layout__region layout__region--content"> <div data-block-plugin-id="ps_node_view" class="with-block-description block block-ps-core block-ps-node-view"> <div class="clearfix text-formatted field field--name-field-ps-body field--type-text-long field--label-hidden field__item"><h2>Name</h2> <p>index.noun, data.noun, index.verb, data.verb, index.adj, data.adj, index.adv, data.adv - WordNet database files</p> <p>noun.exc, verb.exc. adj.exc adv.exc - morphology exception lists</p> <p>sentidx.vrb, sents.vrb - files used by search code to display sentences illustrating the use of some specific verbs</p> <h2>Description</h2> <p>For each syntactic category, two files are needed to represent the contents of the WordNet database - <b>index. </b><i>pos </i>and <b>data. </b><i>pos </i>, where <i>pos </i>is <b>noun </b>, <b>verb </b>, <b>adj </b>and <b>adv </b>. The other auxiliary files are used by the WordNet library's searching functions and are needed to run the various WordNet browsers.</p> <p>Each index file is an alphabetized list of all the words found in WordNet in the corresponding part of speech. On each line, following the word, is a list of byte offsets (<i>synset_offset </i>s) in the corresponding data file, one for each synset containing the word. Words in the index file are in lower case only, regardless of how they were entered in the lexicographer files. This folds various orthographic representations of the word into one line enabling database searches to be case insensitive. See <b><a href="/node/30">wninput</a></b><a href="http://www.princeton.edu/wordnet/man/wninput.5WN.html">(5WN)</a> for a detailed description of the lexicographer files</p> <p>A data file for a syntactic category contains information corresponding to the synsets that were specified in the lexicographer files, with relational pointers resolved to <i>synset_offset </i>s. Each line corresponds to a synset. Pointers are followed and hierarchies traversed by moving from one synset to another via the <i>synset_offset </i>s.</p> <p>The exception list files, <i>pos </i><b>.exc </b>, are used to help the morphological processor find base forms from irregular inflections.</p> <p>The files <b>sentidx.vrb </b>and <b>sents.vrb </b>contain sentences illustrating the use of specific senses of some verbs. These files are used by the searching software in response to a request for verb sentence frames. Generic sentence frames are displayed when an illustrative sentence is not present.</p> <p>The various database files are in ASCII formats that are easily read by both humans and machines. All fields, unless otherwise noted, are separated by one space character, and all lines are terminated by a newline character. Fields enclosed in italicized square brackets may not be present.</p> <p>See <a href="/node/28"><b>wngloss</b>(7WN)</a> for a glossary of WordNet terminology and a discussion of the database's content and logical organization.</p> <h3>Index File Format</h3> <p>Each index file begins with several lines containing a copyright notice, version number, and license agreement. These lines all begin with two spaces and the line number so they do not interfere with the binary search algorithm that is used to look up entries in the index files. All other lines are in the following format. In the field descriptions, <b>number </b>always refers to a decimal integer unless otherwise defined.</p> <p><i>lemma pos synset_cnt p_cnt [ptr_symbol...] sense_cnt tagsense_cnt synset_offset [synset_offset...] </i></p> <dl><dt><i>lemma</i></dt> <dd>lower case ASCII text of word or collocation. Collocations are formed by joining individual words with an underscore (<b>_ </b>) character.</dd> <dt><i>pos</i></dt> <dd>Syntactic category: <b>n </b>for noun files, <b>v </b>for verb files, <b>a </b>for adjective files, <b>r </b>for adverb files.</dd> </dl><p>All remaining fields are with respect to senses of <i>lemma </i>in <i>pos </i>.</p> <p><i>synset_cnt</i></p> <dl><dd>Number of synsets that <i>lemma </i>is in. This is the number of senses of the word in WordNet. See <b>Sense Numbers </b>below for a discussion of how sense numbers are assigned and the order of <i>synset_offset </i>s in the index files.</dd> <dt><i>p_cnt</i></dt> <dd>Number of different pointers that <i>lemma </i>has in all synsets containing it.</dd> <dt><i>ptr_symbol</i></dt> <dd>A space separated list of <i>p_cnt </i>different types of pointers that <i>lemma </i>has in all synsets containing it. See <a href="/node/30"><b>wninput</b>(5WN)</a> for a list of <i>pointer_symbol </i>s. If all senses of <i>lemma </i>have no pointers, this field is omitted and <i>p_cnt </i>is <b>0 </b>.</dd> <dt><i>sense_cnt</i></dt> <dd>Same as <i>sense_cnt </i>above. This is redundant, but the field was preserved for compatibility reasons.</dd> <dt><i>tagsense_cnt</i></dt> <dd>Number of senses of <i>lemma </i>that are ranked according to their frequency of occurrence in semantic concordance texts.</dd> <dt><i>synset_offset</i></dt> <dd>Byte offset in <b>data.<i>pos </i></b>file of a synset containing <i>lemma </i>. Each <i>synset_offset </i>in the list corresponds to a different sense of <i>lemma </i>in WordNet. <i>synset_offset </i>is an 8 digit, zero-filled decimal integer that can be used with <b><a href="http://www.princeton.edu/wordnet/man/fseek.3.html">fseek</a></b><a href="http://www.princeton.edu/wordnet/man/fseek.3.html">(3)</a> to read a synset from the data file. When passed to <b>read_synset</b>(3WN) along with the syntactic category, a data structure containing the parsed synset is returned.</dd> </dl><h3>Data File Format</h3> <p>Each data file begins with several lines containing a copyright notice, version number, and license agreement. These lines all begin with two spaces and the line number. All other lines are in the following format. Integer fields are of fixed length and are zero-filled.</p> <p><i>synset_offset lex_filenum ss_type w_cnt word lex_id [word lex_id...] p_cnt [ptr...] [frames...] <b>| </b></i><i> gloss </i></p> <dl><dt><i>synset_offset</i></dt> <dd>Current byte offset in the file represented as an 8 digit decimal integer.</dd> <dt><i>lex_filenum</i></dt> <dd>Two digit decimal integer corresponding to the lexicographer file name containing the synset. See <b><a href="/node/18">lexnames</a></b><a href="http://www.princeton.edu/wordnet/man/lexnames.5WN.html">(5WN)</a> for the list of filenames and their corresponding numbers.</dd> <dt><i>ss_type</i></dt> <dd>One character code indicating the synset type:</dd> </dl><p> </p> <blockquote><b>n </b> NOUN <br><b>v </b> VERB <br><b>a </b> ADJECTIVE <br><b>s </b> ADJECTIVE SATELLITE <br><b>r </b> ADVERB </blockquote> <dl><dt><i>w_cnt</i></dt> <dd>Two digit hexadecimal integer indicating the number of words in the synset.</dd> <dt><i>word</i></dt> <dd>ASCII form of a word as entered in the synset by the lexicographer, with spaces replaced by underscore characters (<b>_ </b>). The text of the word is case sensitive, in contrast to its form in the corresponding <b>index. </b><i>pos </i>file, that contains only lower-case forms. In <b>data.adj </b>, a <i>word </i>is followed by a syntactic marker if one was specified in the lexicographer file. A syntactic marker is appended, in parentheses, onto <i>word </i>without any intervening spaces. See <b><a href="/node/30">wninput</a></b><a href="http://www.princeton.edu/wordnet/man/wninput.5WN.html">(5WN)</a> for a list of the syntactic markers for adjectives.</dd> <dt><i>lex_id</i></dt> <dd>One digit hexadecimal integer that, when appended onto <i>lemma </i>, uniquely identifies a sense within a lexicographer file. <i>lex_id </i>numbers usually start with <b>0 </b>, and are incremented as additional senses of the word are added to the same file, although there is no requirement that the numbers be consecutive or begin with <b>0 </b>. Note that a value of <b>0 </b>is the default, and therefore is not present in lexicographer files.</dd> <dt><i>p_cnt</i></dt> <dd>Three digit decimal integer indicating the number of pointers from this synset to other synsets. If <i>p_cnt </i>is <b>000 </b>the synset has no pointers.</dd> <dt><i>ptr</i></dt> <dd>A pointer from this synset to another. <i>ptr </i>is of the form:</dd> </dl><p><i>pointer_symbol synset_offset pos source/target </i></p> <p>where <i>synset_offset </i>is the byte offset of the target synset in the data file corresponding to <i>pos </i>.</p> <p>The <i>source/target </i>field distinguishes lexical and semantic pointers. It is a four byte field, containing two two-digit hexadecimal integers. The first two digits indicates the word number in the current (source) synset, the last two digits indicate the word number in the target synset. A value of <b>0000 </b>means that <i>pointer_symbol </i>represents a semantic relation between the current (source) synset and the target synset indicated by <i>synset_offset </i>.</p> <p>A lexical relation between two words in different synsets is represented by non-zero values in the source and target word numbers. The first and last two bytes of this field indicate the word numbers in the source and target synsets, respectively, between which the relation holds. Word numbers are assigned to the <i>word </i>fields in a synset, from left to right, beginning with <b>1 </b>.</p> <p>See <a href="/node/30"><b>wninput</b>(5WN)</a> for a list of <i>pointer_symbol </i>s, and semantic and lexical pointer classifications.</p> <dl><dt><i>frames</i></dt> <dd>In <b>data.verb </b>only, a list of numbers corresponding to the generic verb sentence frames for <i>word </i>s in the synset. <i>frames </i>is of the form:</dd> </dl><p><i>f_cnt </i><b>+ </b><i> f_num w_num [ </i><b>+ </b><i> f_num w_num...] </i></p> <p>where <i>f_cnt </i>a two digit decimal integer indicating the number of generic frames listed, <i>f_num </i>is a two digit decimal integer frame number, and <i>w_num </i>is a two digit hexadecimal integer indicating the word in the synset that the frame applies to. As with pointers, if this number is <b>00 </b>, <i>f_num </i>applies to all <i>word </i>s in the synset. If non-zero, it is applicable only to the word indicated. Word numbers are assigned as described for pointers. Each <i>f_num w_num </i>pair is preceded by a <b>+ </b>. See <a href="/node/30"><b>wninput</b>(5WN)</a> for the text of the generic sentence frames.</p> <dl><dt><i>gloss</i></dt> <dd>Each synset contains a gloss. A <i>gloss </i>is represented as a vertical bar (<b>| </b>), followed by a text string that continues until the end of the line. The gloss may contain a definition, one or more example sentences, or both.</dd> </dl><h3>Sense Numbers</h3> <p>Senses in WordNet are generally ordered from most to least frequently used, with the most common sense numbered <b>1 </b>. Frequency of use is determined by the number of times a sense is tagged in the various semantic concordance texts. Senses that are not semantically tagged follow the ordered senses. The <i>tagsense_cnt </i>field for each entry in the <b>index.<i>pos </i></b>files indicates how many of the senses in the list have been tagged.</p> <p>The <a href="/node/16"><b>cntlist</b>(5WN)</a> file provided with the database lists the number of times each sense is tagged in the semantic concordances. The data from <b>cntlist </b>is used by <a href="/node/17"><b>grind</b>(1WN)</a> to order the senses of each word. When the <b>index </b>.<i>pos </i>files are generated, the <i>synset_offset </i>s are output in sense number order, with sense 1 first in the list. Senses with the same number of semantic tags are assigned unique but consecutive sense numbers. The WordNet <b>OVERVIEW </b>search displays all senses of the specified word, in all syntactic categories, and indicates which of the senses are represented in the semantically tagged texts.</p> <h3>Exception List File Format</h3> <p>Exception lists are alphabetized lists of inflected forms of words and their base forms. The first field of each line is an inflected form, followed by a space separated list of one or more base forms of the word. There is one exception list file for each syntactic category.</p> <p>Note that the noun and verb exception lists were automatically generated from a machine-readable dictionary, and contain many words that are not in WordNet. Also, for many of the inflected forms, base forms could be easily derived using the standard rules of detachment programmed into Morphy (See <b><a href="http://www.princeton.edu/wordnet/man/morph.7WN.html">morph</a></b><a href="http://www.princeton.edu/wordnet/man/morph.7WN.html">(7WN)</a> ). These anomalies are allowed to remain in the exception list files, as they do no harm.</p> <p> </p> <h3>Verb Example Sentences</h3> <p>For some verb senses, example sentences illustrating the use of the verb sense can be displayed. Each line of the file <b>sentidx.vrb </b>contains a <i>sense_key </i>followed by a space and a comma separated list of example sentence template numbers, in decimal. The file <b>sents.vrb </b>lists all of the example sentence templates. Each line begins with the template number followed by a space. The rest of the line is the text of a template example sentence, with <b>%s </b>used as a placeholder in the text for the verb. Both files are sorted alphabetically so that the <i>sense_key </i>and template sentence number can be used as indices, via <a href="/node/15"><b>binsrch</b>(3WN)</a> , into the appropriate file.</p> <p>When a request for <b>FRAMES </b>is made, the WordNet search code looks for the sense in <b>sentidx.vrb </b>. If found, the sentence template(s) listed is retrieved from <b>sents.vrb </b>, and the <b>%s </b>is replaced with the verb. If the sense is not found, the applicable generic sentence frame(s) listed in <i>frames </i>is displayed.</p> <h2>Notes</h2> <p>Information in the <b>data.<i>pos </i></b>and <b>index.<i>pos </i></b>files represents all of the word senses and synsets in the WordNet database. The <i>word </i>, <i>lex_id </i>, and <i>lex_filenum </i>fields together uniquely identify each word sense in WordNet. These can be encoded in a <i>sense_key </i>as described in <a href="/node/22"><b>senseidx</b>(5WN)</a> . Each synset in the database can be uniquely identified by combining the <i>synset_offset </i>for the synset with a code for the syntactic category (since it is possible for synsets in different <b>data.<i>pos </i></b>files to have the same <i>synset_offset </i>).</p> <p>The WordNet system provide both command line and window-based browser interfaces to the database. Both interfaces utilize a common library of search and morphology code. The source code for the library and interfaces is included in the WordNet package. See <a href="/node/32"><b>wnintro</b>(3WN)</a> for an overview of the WordNet source code.</p> <h2>Environment Variables (Unix)</h2> <dl><dt><b>WNHOME</b></dt> <dd>Base directory for WordNet. Default is <b>/usr/local/WordNet-3.0 </b>.</dd> <dt><b>WNSEARCHDIR</b></dt> <dd>Directory in which the WordNet database has been installed. Default is <b>WNHOME/dict </b>.</dd> </dl><h2>Registry (Windows)</h2> <dl><dt><b>HKEY_LOCAL_MACHINE\SOFTWARE\WordNet\3.0\WNHome</b></dt> <dd>Base directory for WordNet. Default is <b>C:\Program Files\WordNet\3.0 </b>.</dd> </dl><h2>Files</h2> <dl><dt><b>index.<i>pos</i></b></dt> <dd>database index files</dd> <dt><b>data.<i>pos</i></b></dt> <dd>database data files</dd> <dt><b>*.vrb</b></dt> <dd>files of sentences illustrating the use of verbs</dd> <dt><b><i>pos </i>.exc</b></dt> <dd>morphology exception lists</dd> </dl><h2>See Also</h2> <p><a href="/node/17"><b>grind</b>(1WN)</a> , <a href="/node/26"><b>wn</b>(1WN)</a> , <a href="/node/25"><b>wnb</b>(1WN)</a> , <a href="/node/32"><b>wnintro</b>(3WN)</a> , <a href="/node/15"><b>binsrch</b>(3WN)</a> , <a href="/node/33"><b>wnintro</b>(5WN)</a> , <a href="/node/16"><b>cntlist</b>(5WN)</a> , <a href="/node/18"><b>lexnames</b>(5WN)</a> , <a href="/node/22"><b>senseidx</b>(5WN)</a> , <a href="/node/30"><b>wninput</b>(5WN)</a> , <a href="/node/20"><b>morphy</b>(7WN)</a> , <a href="/node/28"><b>wngloss</b>(7WN)</a> ,<a href="/node/29"><b>wngroups</b>(7WN)</a> , <a href="/node/37"><b>wnstats</b>(7WN)</a> .</p></div> </div> </div> </div> </div> <div class="constrained-bkg-constrained-content layout layout--onecol"> <div class="layout-container"> <div class="layout__region layout__region--content"> </div> </div> </div> </div> </article> </div> </div> </main> </div> </div> </div> <footer role="contentinfo" class="footer region region-footer" id="footer"> <h2 class="sr-only">Footer</h2> <div class="container"> <div class="constrained-bkg-constrained-content layout layout--threecol-33-34-33"> <div class="layout-inner-container"> <div class="layout__region layout__region--first layout__region--thirds layout__region--narrow"> <div data-block-plugin-id="inline_block:ps_text" class="block-ps-text with-block-description block block-layout-builder block-inline-blockps-text"> <div class="clearfix text-formatted field field--name-field-ps-body field--type-text-long field--label-hidden field__item">Princeton, New Jersey 08544 USA - Operator: (609) 258-3000</div> </div> </div> <div class="layout__region layout__region--second layout__region--thirds layout__region--narrow"> </div> <div class="layout__region layout__region--third layout__region--thirds layout__region--narrow"> </div> </div> </div> </div> <div class="subfooter"> <div class="container"> <div class="row"> <div class="col-md-4"> <div class="subfooter-links"> <ul class="list-unstyled"> <li> <a href="https://accessibility.princeton.edu/help">Accessibility Help</a> </li> </ul> </div> </div> <div class="col-md-4"> <p class="copyright-text"> © 2024 The Trustees of Princeton University </p> </div> <div class="col-md-4 text-sm-left text-md-right copyright"> <a href="http://www.princeton.edu" class="pu-logo" title="Princeton University"><img src="/profiles/ps/themes/ps_base/images/pu-logo-stacked.svg" alt="Princeton University"/> </a> </div> </div> </div> </div> </footer> </div> </div> <span id="ps-current-username" data-username=""></span> <script src="/profiles/ps/themes/ps_base/bootstrap/js/bootstrap.min.js?sm80y0"></script> <script src="/modules/contrib/linkpurpose/library/js/linkpurpose.min.js?sm80y0"></script> <script src="/modules/contrib/linkpurpose/js/linkpurpose-drupal.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/link_behavior.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/focusable-hash-fixer.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/enhanced-focus.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/search-terms-fragment-parser.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/search-terms-highlighter.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/collapse-text-search-terms-revealer.js?sm80y0"></script> <script src="/profiles/ps/libraries/custom/select2/dist/js/select2.js?v=4.x"></script> <script src="/profiles/ps/modules/custom/select2_simple/js/select2_simple.js?sm80y0"></script> <script src="/core/misc/active-link.js?v=10.3.6"></script> <script src="/profiles/ps/themes/ps_base/js/main-menu.js?sm80y0"></script> <script src="/profiles/ps/themes/ps_tiger/js/header.js?sm80y0"></script> <script src="/profiles/ps/themes/ps_tiger/js/image-no-border.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/utils.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/columns.js?sm80y0"></script> <script src="/profiles/ps/modules/custom/ps_core/js/tables.js?sm80y0"></script> <script src="/core/misc/form.js?v=10.3.6"></script> <script src="/profiles/ps/modules/custom/ps_core/js/logout-link-username.js?sm80y0"></script> </body> </html>