⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wnb.man

📁 基于语义本体的单词查询系统
💻 MAN
📖 第 1 页 / 共 2 页
字号:



WordNet User Commands                                    WNB(1WN)



NAME
     wnb - WordNet window-based browser interface

SYNOPSIS
     wnb

DESCRIPTION
     wnb() provides a window-based  interface  for  browsing  the
     WordNet  database,  allowing  synsets  and  relations  to be
     displayed as formatted text.  For  each  search  word,  dif-
     ferent  searches  are  available based on syntactic category
     and information available in the database.

     wnb is written in Tcl/Tk, which is available  for  Unix  and
     Windows platforms.  This allows the same code to work on all
     supported WordNet platforms without modification.

WNB WINDOWS
     wnb() was developed with  the  philosophy  that  only  those
     searches and buttons that are applicable at the current time
     are displayed.  As a result, the appearance of the interface
     changes  as  it  is used.  Use the standard windowing system
     mouse functions to open and close the WordNet  Browser  Win-
     dow, move the window, and change its size.

     The WordNet Browser Window  contains  the  following  areas,
     from top to bottom:

     Menubar             A menubar runs  along  the  top  of  the
                         browser  window  with pulldown menus and
                         button entitled File, History,  Options,
                         and Help.

     Search Word Entry   Below the Menubar is a line for entering
                         the search word.  A search word can be a
                         single word,  hyphenated  string,  or  a
                         collocation.  Case is ignored.  Although
                         only uninflected forms of words are usu-
                         ally stored in WordNet, users may search
                         for inflected forms.  WordNet's  morpho-
                         logical  processor  finds  the base form
                         automatically.

     Search Selection    Below the Search Word Entry line  is  an
                         area  for  selecting the search type and
                         senses to search.  Until a  search  word
                         is  entered this area is blank.  After a
                         search word is entered,  buttons  appear
                         corresponding to each syntactic category
                         (Noun, Verb, Adjective, Adverb) in which
                         the search string is defined in WordNet.




WordNet 2.0          Last change: July 2003                     1






WordNet User Commands                                    WNB(1WN)



                         At the right edge of the  Search  Selec-
                         tion  line  is  a box for entering sense
                         numbers.  When this box is empty, search
                         results  for  all  senses  of the search
                         word that  match  the  search  type  are
                         displayed.  The search may be restricted
                         to one or more specific senses by enter-
                         ing  a  comma or space separated list of
                         sense numbers in the Senses box.   These
                         sense  numbers  remain  in  effect until
                         either the user changes or deletes them,
                         or a new search word is entered.

     Results Window      Most of the browser window consists of a
                         large  text  buffer  for  displaying the
                         results of WordNet searches.  Horizontal
                         and vertical scroll bars are present for
                         scrolling through the output.

     Status Line         A status line is at the  bottom  of  the
                         browser window.  When search results are
                         displayed in the  Results  Window,  this
                         status  line reflects the type of search
                         selected.  When there is no search  word
                         entered,  your  are  prompted  to "Enter
                         search word and press return."   If  the
                         search  word  entered is not in WordNet,
                         the message "Sorry, no  matches  found."
                         is displayed.

SEARCHING THE DATABASE
     The WordNet browser navigates through WordNet in two  steps.
     First  a  search  word is entered and an overview of all the
     senses of the word in all syntactic categories is  displayed
     in  the  Results Window. The senses are grouped by syntactic
     category, and each synset is annotated  as  described  above
     with  _s_y_n_s_e_t__o_f_f_s_e_t,  _l_e_x__f_i_l_e_n_a_m_e, and _s_e_n_s_e__n_u_m_b_e_r as dic-
     tated by the advanced  search  options  set.   The  overview
     search also indicates how many of the senses in each syntac-
     tic category are represented in the tagged texts.  This is a
     way for the user to determine whether a sense's sense number
     is based on semantic tagging data, or was randomly assigned.
     For  each  sense that has appeared in such texts, the number
     of semantic tags to that sense are indicated in  parentheses
     after the sense number.

     Then, within a syntactic  category,  a  specific  search  is
     selected.   The  desired  search is performed and the search
     results are displayed in  the  Results  Window.   Additional
     searches  on the same word can be performed, or a new search
     word can be entered.




WordNet 2.0          Last change: July 2003                     2






WordNet User Commands                                    WNB(1WN)



     To enter a search word, click the mouse  in  the  horizontal
     box  labeled  Search  Word,  type  a single word, hyphenated
     string, or collocation and press RETURN.

     wnb() responds by making a set of  Part  of  Speech  buttons
     appear   in   the   Search   Selection  line.   Each  button
     corresponds to a syntactic  category  in  which  the  search
     string is defined in WordNet.  At the same time, an Overview
     of the  synsets  for  all  senses  of  the  search  word  is
     displayed  in the Results Window.  The Overview includes the
     gloss for each synset and also indicates which of the senses
     have  appeared  in  the semantically tagged texts.  For each
     sense that has appeared in such texts, the number of  seman-
     tic  tags  to  that sense are indicated in parentheses after
     the sense number.

     The pulldown menus in the Search Selection line list all  of
     the  WordNet  searches  that can be performed for the search
     word in that part of speech.  To select a search,  highlight
     it  by dragging the mouse to it, and release the mouse while
     it is highlighted.  Drag the mouse outside of  the  pulldown
     list  and  release  to hide the menu without making a selec-
     tion.  Dragging the mouse across the Part of Speech  buttons
     displays the available searches for each syntactic category.

     To restrict a search to one or more senses within a  syntac-
     tic category, enter a comma or space separated list of sense
     numbers in the Senses box before selecting a search.

     After a search is selected, wnb() performs the search on the
     WordNet  database  and displays the formatted results in the
     Results Window.  Whenever search results  are  displayed,  a
     button  entitled  Redisplay Overview is present at the right
     edge of the Search Word Entry line.  Clicking on this button
     redisplays  the  Overview of all synsets for the search word
     in the Results Window.

  Changing the Search Word
     A new search word can be entered at any time  by  moving  to
     the  Search  Word Entry box, if necessary highlighting it by
     clicking, erasing the old  string,  typing  a  new  one  and
     pressing RETURN. The Senses box is cleared if necessary, the
     Part of Speech buttons applicable to  the  new  search  word
     appear,  and  the  Overview  for  the  new  search  word  is
     displayed.

     The middle mouse button can also be used  to  select  a  new
     search  word  by  placing  the  mouse  over  any word in the
     Results Window and clicking.  The selected word will replace
     the  text in the Search Word Entry box, and the overview for
     that word will automatically be displayed.




WordNet 2.0          Last change: July 2003                     3






WordNet User Commands                                    WNB(1WN)



     To select a new search string collocation from text  in  the
     Results  Window, highlight the text with the mouse and press
     CONTROL-S.


  Interrupting a Search
     When a search is in progress the message "Searching...(press
     escape  to  abort)"  is  displayed in the Status Line.  Note
     that most searches return  very  quickly,  so  this  message
     isn't  noticeable.   As  indicated,  pressing the ESCAPE key
     will interrupt  the  search.   The  results  of  the  search
     obtained  before  the  time  the  search was interrupted are
     displayed in the Results Window.

MENUS
  File Menu
          Find keywords by substring
               Display a popup window for specifying a search  of
               WordNet  for  words or collocations that contain a
               specific substring.  If a search word is currently
               entered  in the Search Word box, it is used as the
               substring to search for by default.  The Substring
               Search  Window  contains a box for entering a sub-
               string, a pulldown menu to its right for  specify-
               ing the part of speech to search, a large area for
               displaying the search results, and action  buttons
               at   the   bottom  entitled  Search,  Save,  Print
               Dismiss.

               Once a substring is entered and a part  of  speech
               selected,  clicking  on the Search button causes a
               search to be done for all words  and  collocations
               in  WordNet, in that syntactic category, that con-
               tain the substring according to the following cri-
               teria:

               1. The substring can appear at  the  beginning  or
               end of a word, hyphenated string o collocation.

               2. The substring can appear in  the  middle  of  a
               hyphenated  string or collocation, but only delim-
               ited on both sides by spaces or hyphens.

               The search results  are  displayed  in  the  large
               buffer.   Clicking  on  an  item  from  the search
               results list causes wnb() to  automatically  enter
               that  word  in  the Search Word box of the WordNet
               Browser Window and perform the Overview search.

               Clicking the Save button generates a popup  dialog
               for  specifying  a  filename to save the substring
               search results  to.   Clicking  the  Print  button



WordNet 2.0          Last change: July 2003                     4






WordNet User Commands                                    WNB(1WN)



               generates  a popup dialog in which a print command
               can be specified.

               Selecting Dismiss closes the Substring Search Win-
               dow.

          Save current display
               Display a popup dialog for specifying  a  filename
               to save the current Results Window contents to.

          Print current display
               Display a popup dialog in which to specify a print
               command  to  which the current Results Window con-
               tents can be piped. Note - this  option  does  not
               exist in the Windows version.

          Clear current display
               Clear  the  Search  Word  and  Senses  boxes,  and
               Results Window.

          Exit Does what you would expect.

  History
     This pulldown menu contains a list of the last searches per-
     formed.   Selecting  an  item  from  this list performs that
     search again.  The maximum number of searches stored in  the
     list  can be adjusted from the Options menu.  The default is
     10.

  Options
          Show help with each search
               When this checkbox is selected search results  are
               preceded  by  some explanatory text about the type
               of search selected. This is off by default.

          Show descriptive gloss
               When this checkbox is selected, synset glosses are
               displayed  in  all search results.  This is set by
               default.  Note that glosses are  always  displayed
               in the Overview.

          Wrap Lines
               When this  checkbox  is  selected,  lines  in  the
               Results  Window that are wider than the window are
               automatically wrapped.  This is  set  by  default.
               If  not  selected,  a  horizontal  scroll  bar  is
               present if any lines are longer than the width  of
               the window.

          Set advanced search options
               Selecting this item displays a  popup  window  for
               setting  the  following  search  options:  Lexical



WordNet 2.0          Last change: July 2003                     5




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -