home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_n_r / draft-rfced-info-faith-00.txt < prev    next >
Text File  |  1997-07-17  |  46KB  |  1,471 lines

  1.  
  2.  
  3.  
  4. INTERNET-DRAFT              EXPIRES JANUARY 1998       INTERNET-DRAFT
  5. Network Working Group                                           R. Faith
  6. INTERNET-DRAFT                            U. North Carolina, Chapel Hill
  7. Category: Standards Track                                      B. Martin
  8.                                                      Miranda Productions
  9.                                                              1 July 1997
  10.  
  11.  
  12.                       A Dictionary Server Protocol
  13.                      <draft-rfced-info-faith-00.txt>
  14.  
  15. Status of this Memo
  16.  
  17. This document is an Internet-Draft.  Internet-Drafts are working
  18. documents of the Internet Engineering Task Force (IETF), its areas,
  19. and its working groups.  Note that other groups may also distribute
  20. working documents as Internet-Drafts.
  21.  
  22. Internet-Drafts are draft documents valid for a maximum of six months
  23. and may be updated, replaced, or obsoleted by other documents at any
  24. time.  It is inappropriate to use Internet- Drafts as reference
  25. material or to cite them other than as ``work in progress.''
  26.  
  27. To learn the current status of any Internet-Draft, please check the
  28. ``1id-abstracts.txt'' listing contained in the Internet- Drafts Shadow
  29. Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  30. munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
  31. ftp.isi.edu (US West Coast).
  32.  
  33. Authors' Note
  34.  
  35.      [[This document has not yet been submitted or accepted as an offi-
  36.      cial RFC.  Two independent server implementations have been com-
  37.      pleted, one at dict://dict.miranda.org:2628 and the other at
  38.      dict://proteus.cs.unc.edu:2628.  This note should be deleted when
  39.      this memo is assigned an RFC number.]]
  40.  
  41. Abstract
  42.  
  43.      The Dictionary Server Protocol (DICT) is a TCP transaction based
  44.      query/response protocol that allows a client to access dictionary
  45.      definitions from a set of natural language dictionary databases.
  46.  
  47.  
  48. 1.  Introduction
  49.  
  50.      For many years, the Internet community has relied on the "webster"
  51.      protocol for access to natural language definitions.  The webster
  52.      protocol supports access to a single dictionary and (optionally) to
  53.      a single thesaurus.  In recent years, the number of publicly avail-
  54.      able webster servers on the Internet has dramatically decreased.
  55.  
  56.      Fortunately, several freely-distributable dictionaries and lexicons
  57.      have recently become available on the Internet.  However, these
  58.      freely-distributable databases are not accessible via a uniform
  59.      interface, and are not accessible from a single site.  They are
  60.      often small and incomplete individually, but would collectively
  61.      provide an interesting and useful database of English words.  Exam-
  62.      ples include the Jargon file [JARGON], the WordNet database
  63.  
  64.  
  65.  
  66. Faith, Martin                                                   [Page 1]
  67.  
  68. I/D                 Dictionary Server Protocol            1 July 1997
  69.  
  70.  
  71.      [WORDNET], MICRA's version of the 1913 Webster's Revised Unabridged
  72.      Dictionary [WEB1913], and the Free Online Dictionary of Computing
  73.      [FOLDOC].  Translating and non-English dictionaries are also becom-
  74.      ing available (for example, the FOLDOC dictionary is being trans-
  75.      lated into Spanish).
  76.  
  77.      The webster protocol is not suitable for providing access to a
  78.      large number of separate dictionary databases, and extensions to
  79.      the current webster protocol were not felt to be a clean solution
  80.      to the dictionary database problem.
  81.  
  82.      The DICT protocol is designed to provide access to multiple
  83.      databases.  Word definitions can be requested, the word index can
  84.      be searched (using an easily extended set of algorithms), informa-
  85.      tion about the server can be provided (e.g., which index search
  86.      strategies are supported, or which databases are available), and
  87.      information about a database can be provided (e.g., copyright,
  88.      citation, or distribution information).  Further, the DICT protocol
  89.      has hooks that can be used to restrict access to some or all of the
  90.      databases.
  91.  
  92.  
  93. 1.1.  Requirements
  94.  
  95.      In this document, we adopt the convention discussed in Section
  96.      1.3.2 of [RFC1122] of using the capitalized words MUST, REQUIRED,
  97.      SHOULD, RECOMMENDED, MAY, and OPTIONAL to define the significance
  98.      of each particular requirement specified in this document.
  99.  
  100.      In brief: "MUST" (or "REQUIRED") means that the item is an absolute
  101.      requirement of the specification; "SHOULD" (or "RECOMMENDED") means
  102.      there may exist valid reasons for ignoring this item, but the full
  103.      implications should be understood before doing so; and "MAY" (or
  104.      "OPTIONAL") means that his item is optional, and may be omitted
  105.      without careful consideration.
  106.  
  107.  
  108. 2.  Protocol Overview
  109.  
  110.  
  111. 2.1.  Link Level
  112.  
  113.      The DICT protocol assumes a reliable data stream such as provided
  114.      by TCP.  When TCP is used, a DICT server listens on port 2628 (typ-
  115.      ically, webster servers listened on port 2627).
  116.  
  117.      This server is only an interface between programs and the dictio-
  118.      nary databases.  It does not perform any user interaction or
  119.  
  120.  
  121.  
  122. Faith, Martin                                                   [Page 2]
  123.  
  124. I/D                Dictionary Server Protocol            1 July 1997
  125.  
  126.  
  127.      presentation-level functions.
  128.  
  129.  
  130. 2.2.  Lexical Tokens
  131.  
  132.      Commands and replies are composed of characters from the ISO-8859-1
  133.      character set [ISO].  More specifically, using the grammar conven-
  134.      tions from [RFC822]:
  135.  
  136.  
  137.                                                          ; (  Octal, Decimal.)
  138.              CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
  139.              CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
  140.                              character and DEL>          ; (    177,     127.)
  141.              CR          =  <ASCII CR, carriage return>  ; (     15,      13.)
  142.              LF          =  <ASCII LF, linefeed>         ; (     12,      10.)
  143.              SPACE       =  <ASCII SP, space>            ; (     40,      32.)
  144.              HTAB        =  <ASCII HT, horizontal-tab>   ; (     11,       9.)
  145.              <">         =  <ASCII quote mark>           ; (     42,      34.)
  146.              <'>         =  <ASCII single quote mark>    ; (     47,      39.)
  147.              CRLF        =  CR LF
  148.              WS          =  1*(SPACE / HTAB)
  149.  
  150.              dqstring    =  <"> *(dqtext/quoted-pair) <">
  151.              dqtext      =  <any CHAR except <">, "\", and CTLs>
  152.              sqstring    =  <'> *(dqtext/quoted-pair) <'>
  153.              sqtext      =  <any CHAR except <'>, "\", and CTLs>
  154.              quoted-pair =  "\" CHAR
  155.  
  156.              atom        =  1*<any CHAR except SPACE, CTLs, <'>, <">, and "\">
  157.              string      =  *<dqstring / sqstring / quoted-pair>
  158.              word        =  *<atom / string>
  159.              description =  *<word / WS>
  160.              text        =  *<word / WS>
  161.  
  162.  
  163.  
  164. 2.3.  Commands
  165.  
  166.      Commands consist of a command word followed by zero or more parame-
  167.      ters.  Commands with parameters must separate the parameters from
  168.      each other and from the command by one or more space or tab charac-
  169.      ters.  Command lines must be complete with all required parameters,
  170.      and may not contain more than one command.
  171.  
  172.      Each command line must be terminated by a CRLF.
  173.  
  174.      The grammar for commands is:
  175.  
  176.  
  177.  
  178. Faith, Martin                                                   [Page 3]
  179.  
  180. I/D                   Dictionary Server Protocol            1 July 1997
  181.  
  182.  
  183.  
  184.              command     = cmd-word *<WS cmd-param>
  185.              cmd-word    = atom
  186.              cmd-param   = database / strategy / word
  187.              database    = atom
  188.              strategy    = atom
  189.  
  190.  
  191.      Commands are not case sensitive.
  192.  
  193.      Command lines MUST NOT exceed 1024 characters in length, counting
  194.      all characters including spaces, separators, punctuation, and the
  195.      trailing CRLF.  There is no provision for the continuation of com-
  196.      mand lines.
  197.  
  198.  
  199. 2.4.  Responses
  200.  
  201.      Responses are of two kinds, status and textual.
  202.  
  203.  
  204. 2.4.1.  Status Responses
  205.  
  206.      Status responses indicate the server's response to the last command
  207.      received from the client.
  208.  
  209.      Status response lines begin with a 3 digit numeric code which is
  210.      sufficient to distinguish all responses.  Some of these may herald
  211.      the subsequent transmission of text.
  212.  
  213.      The first digit of the response broadly indicates the success,
  214.      failure, or progress of the previous command (based generally on
  215.      [RFC640,RFC821]):
  216.  
  217.  
  218.              1yz - Positive Preliminary reply
  219.              2yz - Positive Completion reply
  220.              3yz - Positive Intermediate reply (not used by DICT)
  221.              4yz - Transient Negative Completion reply
  222.              5yz - Permanent Negative Completion reply
  223.  
  224.  
  225.      The next digit in the code indicates the response category:
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234. Faith, Martin                                                   [Page 4]
  235.  
  236. I/D                 Dictionary Server Protocol            1 July 1997
  237.  
  238.  
  239.  
  240.              x0z - Syntax
  241.              x1z - Information (e.g., help)
  242.              x2z - Connections
  243.              x3z - Authentication
  244.              x4z - Unspecified as yet
  245.              x5z - DICT System (These replies indicate the status of the
  246.                    receiver mail system vis-a-vis the requested transfer
  247.                    or other DICT system action.)
  248.              x8z - Nonstandard (private implementation) extensions
  249.  
  250.  
  251.      The exact response codes that should be expected from each command
  252.      are detailed in the description of that command.
  253.  
  254.      Certain status responses contain parameters such as numbers and
  255.      strings.  The number and type of such parameters is fixed for each
  256.      response code to simplify interpretation of the response.  Other
  257.      status responses do not require specific text identifiers.  Parame-
  258.      ter requirements are detailed in the description of relevant com-
  259.      mands.  Except for specifically detailed parameters, the text fol-
  260.      lowing response codes is server-dependent.
  261.  
  262.      Parameters are separated from the numeric response code and from
  263.      each other by a single space.  All numeric parameters are decimal,
  264.      and may have leading zeros.  All string parameters MUST conform to
  265.      the "atom" or "dqstring" grammar productions.
  266.  
  267.      If no parameters are present, and the server implementation pro-
  268.      vides no implementation-specific text, then there MAY or MAY NOT be
  269.      a space after the response code.
  270.  
  271.      Response codes not specified in this standard may be used for any
  272.      installation-specific additional commands also not specified.
  273.      These should be chosen to fit the pattern of x8z specified above.
  274.      The use of unspecified response codes for standard commands is pro-
  275.      hibited.
  276.  
  277.  
  278. 2.4.2.  General Status Responses
  279.  
  280.      In response to every command, the following general status
  281.      responses are possible:
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290. Faith, Martin                                                   [Page 5]
  291.  
  292. I/D            Dictionary Server Protocol            1 July 1997
  293.  
  294.  
  295.  
  296.              500 Syntax error, command not recognized
  297.              501 Syntax error, illegal parameters
  298.              502 Command not implemented
  299.              503 Command parameter not implemented
  300.              420 Server temporarily unavailable
  301.              421 Server shutting down at operator request
  302.  
  303.  
  304.  
  305. 2.4.3.  Text Responses
  306.  
  307.      Before text is sent a numeric status response line, using a 1yz
  308.      code, will be sent indicating text will follow. Text is sent as a
  309.      series of successive lines of textual matter, each terminated with
  310.      a CRLF.  A single line containing only a period (decimal code 46,
  311.      ".") is sent to indicate the end of the text (i.e., the server will
  312.      send a CRLF at the end of the last line of text, a period, and
  313.      another CRLF).
  314.  
  315.      If a line of original text contained a period as the first charac-
  316.      ter of the line, that first period is doubled by the DICT server.
  317.      Therefore, the client must examine the first character of each line
  318.      received.  Those that begin with two periods must have those two
  319.      periods collapsed into one period.  Those that contain only a sin-
  320.      gle period followed by a CRLF indicate the end of the text
  321.      response.
  322.  
  323.      Following a text response, a 2yz response code will be sent.
  324.  
  325.      Text lines MUST NOT exceed 1024 characters in length, counting all
  326.      characters including spaces, separators, punctuation, the extra
  327.      initial period (if needed), and the trailing CRLF.
  328.  
  329.      It is recommended that text use the US-ASCII [ASCII] or ISO-8859-1
  330.      [ISO] character sets, although it is currently beyond the scope of
  331.      this standard to specify encoding for text.  In the future, after
  332.      significant experience with large databases in various languages
  333.      has been gained, and after evaluating the need for character set
  334.      and other encodings (e.g., compressed or BASE64 encoding), standard
  335.      extensions to this protocol should be proposed.  In the mean time,
  336.      private extensions should be used to explore the parameter space to
  337.      determine how best to implement these extensions.
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346. Faith, Martin                                                   [Page 6]
  347.  
  348. I/D                 Dictionary Server Protocol            1 July 1997
  349.  
  350.  
  351. 3.  Command and Response Details
  352.  
  353.      Below, each DICT command and appropriate responses are detailed.
  354.      Each command is shown in upper case for clarity, but the DICT
  355.      server is case-insensitive.
  356.  
  357.      Except for the AUTH command, every command described in this sec-
  358.      tion MUST be implemented by all DICT servers.
  359.  
  360.  
  361. 3.1.  Initial Connection
  362.  
  363.      When a client initially connects to a DICT server, a code 220 is
  364.      sent if the client's IP is allowed to connect:
  365.  
  366.  
  367.              220 text msg-id
  368.  
  369.  
  370.      The code 220 is a banner, usually containing host name and DICT
  371.      server version information.  The last sequence of characters in the
  372.      banner is a msg-id, similar to the format specified in [RFC822].
  373.      The simplified description is given below:
  374.  
  375.  
  376.              msg-id      =  "<" spec ">"            ; Unique message id
  377.              spec        =  local-part "@" domain
  378.              local-part  =  msg-atom *("." msg-atom)
  379.              domain      =  msg-atom *("." msg-atom)
  380.              msg-atom    =  1*<any CHAR except SPACE, CTLs, "<", ">", and "\">
  381.  
  382.  
  383.      Note that, in contrast to [RFC822], spaces and quoted pairs are not
  384.      allowed in the msg-id.  This restriction makes the msg-id much eas-
  385.      ier for the client to locate and parse but does not significantly
  386.      decrease any security benefits, since the msg-id may be arbitrarily
  387.      long (as bounded by the response length limits set forth elsewhere
  388.      in this document).
  389.  
  390.      This message id will be used by the client when formulating the
  391.      authentication string used in the AUTH command.
  392.  
  393.      If the client's IP is not allowed to connect, then a code 530 is
  394.      sent instead:
  395.  
  396.  
  397.              530 Access denied
  398.  
  399.  
  400.  
  401.  
  402. Faith, Martin                                                   [Page 7]
  403.  
  404. I/D                   Dictionary Server Protocol            1 July 1997
  405.  
  406.  
  407.      Transient failure responses are also possible:
  408.  
  409.  
  410.              420 Server temporarily unavailable
  411.              421 Server shutting down at operator request
  412.  
  413.  
  414.      For example, response code 420 should be used if the server cannot
  415.      currently fork a server process (or cannot currently obtain other
  416.      resources required to proceed with a usable connection), but
  417.      expects to be able to fork or obtain these resources in the near
  418.      future.
  419.  
  420.      Response code 421 should be used when the server has been shut down
  421.      at operator request, or when conditions indicate that the ability
  422.      to service more requests in the near future will be impossible.
  423.      This may be used to allow a graceful operator-mediated temporary
  424.      shutdown of a server, or to indicate that a well known server has
  425.      been permanently removed from service (in which case, the text mes-
  426.      sage might provide more information).
  427.  
  428.  
  429. 3.2.  The DEFINE Command
  430.  
  431.      DEFINE database word
  432.  
  433.  
  434. 3.2.1.  Description
  435.  
  436.      This command will look up the specified word in the specified
  437.      database.  All DICT servers MUST implement this command.
  438.  
  439.      If the database name is specified with an exclamation point (deci-
  440.      mal code 33, "!"), then all of the databases will be searched until
  441.      a match is found, and all matches in that database will be dis-
  442.      played.  If the database name is specified with a star (decimal
  443.      code 42, "*"), then all of the matches in all available databases
  444.      will be displayed.  In both of these special cases, the databases
  445.      will be searched in the same order as that printed by the "SHOW DB"
  446.      command.
  447.  
  448.      If the word was not found, then status code 552 is sent.
  449.  
  450.      If the word was found, then status code 150 is sent, indicating
  451.      that one or more definitions follow.
  452.  
  453.      For each definition, status code 151 is sent, followed by the tex-
  454.      tual body of the definition.  The first three space-delimited
  455.  
  456.  
  457.  
  458. Faith, Martin                                                   [Page 8]
  459.  
  460. I/D               Dictionary Server Protocol            1 July 1997
  461.  
  462.  
  463.      parameters following status code 151 give the word retrieved, the
  464.      name of the database (which is the same as the first column of the
  465.      SHOW DB command), and a short description for the database (which
  466.      is the same as the second column of the SHOW DB command).  The
  467.      short name is suitable for printing as:
  468.  
  469.  
  470.              From name:
  471.  
  472.  
  473.      before the definition is printed.  This provides source information
  474.      for the user.
  475.  
  476.      The textual body of each definition is terminated with a CRLF
  477.      period CRLF sequence.
  478.  
  479.      After all of the definitions have been sent, status code 250 is
  480.      sent.  This command can provide optional timing information (which
  481.      is server dependent and is not intended to be parsable by the
  482.      client).  This additional information is useful when debugging and
  483.      tuning the server.
  484.  
  485.  
  486. 3.2.2.  Responses
  487.  
  488.  
  489.              550 Invalid database, use "SHOW DB" for list of databases
  490.              552 No match
  491.              150 n definitions retrieved - definitions follow
  492.              151 word database name - text follows
  493.              250 ok (optional timing information here)
  494.  
  495.  
  496.      Response codes 150 and 151 require special parameters as part of
  497.      their text.  The client can use these parameters to display infor-
  498.      mation on the user's terminal.
  499.  
  500.      For code 150, parameters 1 indicates the number of definitions
  501.      retrieved.
  502.  
  503.      For code 151, parameter 1 is the word retrieved, parameter 2 is the
  504.      database name (the first name as shown by "SHOW DB") from which the
  505.      definition has been retrieved, and parameter 3 is the the short
  506.      database description (the second column of the "SHOW DB" command).
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514. Faith, Martin                                                   [Page 9]
  515.  
  516. I/D                Dictionary Server Protocol            1 July 1997
  517.  
  518.  
  519. 3.2.3.  A Note on Virtual Datbases
  520.  
  521.      The ability to search all of the provided databases using a single
  522.      command is given using the special "*" and "!" databases.
  523.  
  524.      However, sometimes, a client may want to search over some but not
  525.      all of the databases that a particular server provides.  One alter-
  526.      native is for the client to use the SHOW DB command to obtain a
  527.      list of databases and descriptions, and then (perhaps with the help
  528.      of a human), select a subset of these databases for an interative
  529.      search.  Once this selection has been done once, the results can be
  530.      saved, for example, in a client configuration file.
  531.  
  532.      Another alternative is for the server to provide "virtual"
  533.      databases which merge several of the regular databases into one.
  534.      For example, a virtual database may be provided which includes all
  535.      of the translating dictionaries, but which does not include regular
  536.      dictionaries or thesauri.  The special "*" and "!" databases can be
  537.      considered as names of virtual databases which provide access to
  538.      all of the databases.  If a server implements virtual databases,
  539.      then the special "*" and "!" databases should probably exclude
  540.      other virtual databases (since they merely provide information
  541.      duplicated in other databases).  If virtual databases are sup-
  542.      ported, they should be listed as a regular database with the SHOW
  543.      DB command (although, since "*" and "!" are required, they need not
  544.      be listed).
  545.  
  546.      Virtual databases are an implementation-specific detail which has
  547.      absolutely no impact on the DICT protocol.  The DICT protocol views
  548.      virtual and non-virtual databases the same way.
  549.  
  550.      We mention virtual databases here, however, because they solve a
  551.      problem of database selection which could also have been solved by
  552.      changes in the protocol.  For example, each dictionary could be
  553.      assigned attributes, and the protocol could be extended to specify
  554.      searches over databases with certain attributes.  However, this
  555.      needlessly complicates the parsing and analysis that must be per-
  556.      formed by the implementation.  Further, unless the classification
  557.      system is extremely general, there is a risk that it would restrict
  558.      the types of databases that can be used with the DICT protocol
  559.      (although the protocol has been designed with human-langauge
  560.      databases in mind, it is applicable to any read-only database
  561.      application, especially those with a single semi-unique alphanu-
  562.      meric key and textual data).
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570. Faith, Martin                                                  [Page 10]
  571.  
  572. I/D                Dictionary Server Protocol            1 July 1997
  573.  
  574.  
  575. 3.3.  The MATCH Command
  576.  
  577.      MATCH database strategy word
  578.  
  579.  
  580. 3.3.1.  Description
  581.  
  582.      This command searches an index for the dictionary, and reports
  583.      words which were found using a particular strategy.  Not all
  584.      strategies are useful for all dictionaries, and some dictionaries
  585.      may support additional search strategies (e.g., reverse lookup).
  586.      All DICT servers MUST implement the MATCH command, and MUST support
  587.      the "exact" and "prefix" strategies.  These are easy to implement
  588.      and are generally the most useful.  Other strategies are server
  589.      dependent.
  590.  
  591.      The "exact" strategy matches a word exactly, although different
  592.      servers may treat non-alphanumeric data differently.  We have found
  593.      that a case-insensitive comparison which ignores non-alphanumeric
  594.      characters and which folds whitespace is useful for English-
  595.      language dictionaries.  Other comparisons may be more appropriate
  596.      for other langauges or when using extended character sets.
  597.  
  598.      The "prefix" strategy is similar to "exact", except that it only
  599.      compares the first part of the word.
  600.  
  601.      Different servers may implement these algorithms differently.  The
  602.      requirement is that strategies with the names "exact" and "prefix"
  603.      exist so that a simple client can use them.
  604.  
  605.      Other strategies that might be considered by a server implementor
  606.      are matches based on substring, suffix, regular expressions,
  607.      soundex [KNUTH73], and Levenshtein [PZ85] algorithms.  These last
  608.      two are especially useful for correcting spelling errors.  Other
  609.      useful strategies perform some sort of "reverse" lookup (i.e., by
  610.      searching definitions to find the word that the query suggests).
  611.  
  612.      If the database name is specified with an exclamation point (deci-
  613.      mal code 33, "!"), then all of the databases will be searched until
  614.      a match is found, and all matches in that database will be dis-
  615.      played.  If the database name is specified with a star (decimal
  616.      code 42, "*"), then all of the matches in all available databases
  617.      will be displayed.  In both of these special cases, the databases
  618.      will be searched in the same order as that printed by the "SHOW DB"
  619.      command.
  620.  
  621.      If the strategy is specified using a period (decimal code 46, "."),
  622.      then the word will be matched using a server-dependent default
  623.  
  624.  
  625.  
  626. Faith, Martin                                                  [Page 11]
  627.  
  628. I/D                  Dictionary Server Protocol            1 July 1997
  629.  
  630.  
  631.      strategy, which should be the best strategy available for interac-
  632.      tive spell checking.  This is usually a derivative of the Leven-
  633.      shtein algorithm [PZ85].
  634.  
  635.      If no matches are found in any of the searched databases, then sta-
  636.      tus code 552 will be returned.
  637.  
  638.      Otherwise, status code 152 will be returned followed by a list of
  639.      matched words, one per line, in the form:
  640.  
  641.  
  642.              database word
  643.  
  644.  
  645.      This makes the responses directly useful in a DEFINE command.
  646.  
  647.      The textual body of the match list is terminated with a CRLF period
  648.      CRLF sequence.
  649.  
  650.      Following the list, status code 250 is sent, which may include
  651.      server-specific timing and statistical information, as discussed in
  652.      the section on the DEFINE command.
  653.  
  654.  
  655. 3.3.2.  Responses
  656.  
  657.  
  658.              550 Invalid database, use "SHOW DB" for list of databases
  659.              551 Invalid strategy, use "SHOW STRAT" for a list of strategies
  660.              552 No match
  661.              152 n matches found - text follows
  662.              250 ok (optional timing information here)
  663.  
  664.  
  665.      Response code 152 requires a special parameter as part of its text.
  666.      Parameter 1 must be the number of matches retrieved.
  667.  
  668.  
  669.  
  670. 3.4.  The SHOW Command
  671.  
  672.  
  673. 3.4.1.  SHOW DB
  674.  
  675.      SHOW DB
  676.      SHOW DATABASES
  677.  
  678.  
  679.  
  680.  
  681.  
  682. Faith, Martin                                                  [Page 12]
  683.  
  684. I/D                 Dictionary Server Protocol            1 July 1997
  685.  
  686.  
  687. 3.4.1.1.  Description
  688.  
  689.      Displays the list of currently accessible databases, one per line,
  690.      in the form:
  691.  
  692.  
  693.              database description
  694.  
  695.  
  696.      The textual body of the database list is terminated with a CRLF
  697.      period CRLF sequence.  All DICT servers MUST implement this com-
  698.      mand.
  699.  
  700.      Note that some databases may be restricted due to client domain or
  701.      lack of user authentication (see the AUTH command).  Information
  702.      about these databases is not available until authentication is per-
  703.      formed.  Until that time, the client will interact with the server
  704.      as if the additional databases did not exist.
  705.  
  706.  
  707. 3.4.1.2.  Responses
  708.  
  709.  
  710.              110 n databases present - text follows
  711.              554 No databases present
  712.  
  713.  
  714.      Response code 110 requires a special parameter.  Parameter 1 must
  715.      be the number of databases available to the user.
  716.  
  717.  
  718. 3.4.2.  SHOW STRAT
  719.  
  720.      SHOW STRAT
  721.      SHOW STRATEGIES
  722.  
  723.  
  724. 3.4.2.1.  Description
  725.  
  726.      Displays the list of currently supported search strategies, one per
  727.      line, in the form:
  728.  
  729.  
  730.              strategy description
  731.  
  732.  
  733.      The textual body of the strategy list is terminated with a CRLF
  734.      period CRLF sequence.  All DICT servers MUST implement this
  735.  
  736.  
  737.  
  738. Faith, Martin                                                  [Page 13]
  739.  
  740. I/D               Dictionary Server Protocol            1 July 1997
  741.  
  742.  
  743.      command.
  744.  
  745.  
  746. 3.4.2.2.  Responses
  747.  
  748.  
  749.              111 n strategies available - text follows
  750.              555 No strategies available
  751.  
  752.  
  753.      Response code 111 requires a special parameter.  Parameter 1 must
  754.      be the number of strategies available.
  755.  
  756.  
  757. 3.4.3.  SHOW INFO
  758.  
  759.      SHOW INFO database
  760.  
  761.  
  762. 3.4.3.1.  Description
  763.  
  764.      Displays the source, copyright, and licensing information about the
  765.      specified database.  The information is free-form text and is suit-
  766.      able for display to the user in the same manner as a definition.
  767.      The textual body of the information is terminated with a CRLF
  768.      period CRLF sequence.  All DICT servers MUST implement this com-
  769.      mand.
  770.  
  771.  
  772. 3.4.3.2.  Responses
  773.  
  774.  
  775.              550 Invalid database, use "SHOW DB" for list of databases
  776.              112 database information follows
  777.  
  778.  
  779.      These response codes require no special parameters.
  780.  
  781.  
  782.  
  783. 3.4.4.  SHOW SERVER
  784.  
  785.      SHOW SERVER
  786.  
  787.  
  788. 3.4.4.1.  Description
  789.  
  790.      Displays local server information written by the local
  791.  
  792.  
  793.  
  794. Faith, Martin                                                  [Page 14]
  795.  
  796. I/D                   Dictionary Server Protocol            1 July 1997
  797.  
  798.  
  799.      administrator.  This could include information about local
  800.      databases or strategies, or administrative information such as who
  801.      to contact for access to databases requiring authentication.  All
  802.      DICT servers MUST implement this command.
  803.  
  804.  
  805. 3.4.4.2.  Responses
  806.  
  807.  
  808.              114 server information follows
  809.  
  810.  
  811.      This response code requires no special parameters.
  812.  
  813.  
  814.  
  815. 3.5.  The CLIENT Command
  816.  
  817.      CLIENT text
  818.  
  819.  
  820. 3.5.1.  Description
  821.  
  822.      This command allows the client to provide information about itself
  823.      for possible logging and statistical purposes.  All clients SHOULD
  824.      send this command after connecting to the server.  All DICT servers
  825.      MUST implement this command (note, though, that the server doesn't
  826.      have to do anything with the information provided by the client).
  827.  
  828.  
  829. 3.5.2.  Responses
  830.  
  831.  
  832.              250 ok (optional timing information here)
  833.  
  834.  
  835.      This response code requires no special parameters.
  836.  
  837.  
  838.  
  839. 3.6.  The STATUS Command
  840.  
  841.      STATUS
  842.  
  843.  
  844. 3.6.1.  Description
  845.  
  846.      Display some server-specific timing or debugging information.  This
  847.  
  848.  
  849.  
  850. Faith, Martin                                                  [Page 15]
  851.  
  852. I/D             Dictionary Server Protocol            1 July 1997
  853.  
  854.  
  855.      information may be useful in debugging or tuning a DICT server.
  856.      All DICT servers MUST implement this command (note, though, that
  857.      the text part of the response is not specified and may be omitted).
  858.  
  859.  
  860. 3.6.2.  Responses
  861.  
  862.  
  863.              210 (optional timing and statistical information here)
  864.  
  865.  
  866.      This response code requires no special parameters.
  867.  
  868.  
  869.  
  870. 3.7.  The HELP Command
  871.  
  872.      HELP
  873.  
  874.  
  875. 3.7.1.  Description
  876.  
  877.      Provides a short summary of commands that are understood by this
  878.      implementation of the DICT server.  The help text will be presented
  879.      as a textual response, terminated by a single period on a line by
  880.      itself.  All DICT servers MUST implement this command.
  881.  
  882.  
  883.  
  884. 3.7.2.  Responses
  885.  
  886.  
  887.              113 help text follows
  888.  
  889.  
  890.      This response code requires no special parameters.
  891.  
  892.  
  893. 3.8.  The QUIT Command
  894.  
  895.      QUIT
  896.  
  897.  
  898. 3.8.1.  Description
  899.  
  900.      This command is used by the client to cleanly exit the server.  All
  901.      DICT servers MUST implement this command.
  902.  
  903.  
  904.  
  905.  
  906. Faith, Martin                                                  [Page 16]
  907.  
  908. I/D                 Dictionary Server Protocol            1 July 1997
  909.  
  910.  
  911. 3.8.2.  Responses
  912.  
  913.  
  914.              221 Closing Connection
  915.  
  916.  
  917.      This response code requires no special parameters.
  918.  
  919.  
  920.  
  921. 3.9.  The AUTH Command
  922.  
  923.      AUTH username authentication-string
  924.  
  925.  
  926. 3.9.1.  Description
  927.  
  928.      The client can authenticate itself to the server using a username
  929.      and password.  The authentication-string will be computed as in the
  930.      APOP protocol discussed in [RFC1939].  Briefly, the authentication-
  931.      string is the MD5 checksum of the concatenation of the msg-id
  932.      (obtained from the initial banner) and the "shared secret" that is
  933.      stored in the server and client configuration files.  Since the
  934.      user does not have to type this shared secret when accessing the
  935.      server, the shared secret can be an arbitrarily long passphrase.
  936.      Because of the computational ease of computing the MD5 checksum,
  937.      the shared secret should be significantly longer than a usual pass-
  938.      word.
  939.  
  940.      Authentication may make more dictionary databases available for the
  941.      current session.  For example, there may be some publicly dis-
  942.      tributable databases available to all users, and other private
  943.      databases available only to authenticated users.  Or, a server may
  944.      require authentication from all users to minimize resource utiliza-
  945.      tion on the server machine.
  946.  
  947.      Authentication is an optional server capability.  The AUTH command
  948.      MAY be implemented by a DICT server.
  949.  
  950.  
  951. 3.9.2.  Responses
  952.  
  953.  
  954.              230 Authentication successful
  955.              531 Access denied, use "SHOW INFO" for server information
  956.  
  957.  
  958.      These response codes require no special parameters.
  959.  
  960.  
  961.  
  962. Faith, Martin                                                  [Page 17]
  963.  
  964. I/D                Dictionary Server Protocol            1 July 1997
  965.  
  966.  
  967. 4.  Command Pipelining
  968.  
  969.      All DICT servers MUST be able to accept multiple commands in a sin-
  970.      gle TCP send operation.  Using a single TCP send operation for mul-
  971.      tiple commands can improved DICT performance significantly, espe-
  972.      cially in the face of high latency network links.
  973.  
  974.      The possible implementation problems for a DICT server which would
  975.      prevent command pipelining are similar to the problems that prevent
  976.      pipelining in an SMTP server.  These problems are discussed in
  977.      detail in [RFC1854], which should be consulted by all DICT server
  978.      implementors.
  979.  
  980.      The main implication is that a DICT server implementation MUST NOT
  981.      flush or otherwise lose the contents of the TCP input buffer under
  982.      any circumstances whatsoever.
  983.  
  984.      A DICT client may pipeline several commands and must check the
  985.      responses to each command individually.  If the server has shut
  986.      down, it is possible that all of the commands will not be pro-
  987.      cessed.  For example, a simple DICT client may pipeline a CLIENT,
  988.      DEFINE, and QUIT command sequence as it is connecting to the
  989.      server.  If the server is shut down, the initial response code sent
  990.      by the server may be 420 (temporarily unavailable) instead of 220
  991.      (banner).  In this case, the definition cannot be retrieved, and
  992.      the client should report and error or retry the command.  If the
  993.      server is working, it may be able to send back the banner, defini-
  994.      tion, and termination message in a single TCP send operation.
  995.  
  996.  
  997.  
  998. 5.  URL Specification
  999.  
  1000.      The DICT URL scheme is used to refer to definitions or word lists
  1001.      available using the DICT protocol:
  1002.  
  1003.  
  1004.      dict://<user>:<passphrase>@<host>:<port>/d:<word>:<database>:<n>
  1005.      dict://<user>:<passphrase>@<host>:<port>/m:<word>:<database>:<strat>:<n>
  1006.  
  1007.  
  1008.      The "/d" syntax specifies the DEFINE command (see section 3.2),
  1009.      whereas the "/m" specifies the MATCH command (section 3.3).
  1010.  
  1011.      Some or all of "<user>:<passphrase>@", ":<port>", "<database>",
  1012.      "<strat>", and "<n>" may be omitted.
  1013.  
  1014.      "<n>" will usually be omitted, but when included, it specifies the
  1015.  
  1016.  
  1017.  
  1018. Faith, Martin                                                  [Page 18]
  1019.  
  1020. I/D                 Dictionary Server Protocol            1 July 1997
  1021.  
  1022.  
  1023.      nth definition or match of a word.  A method for extracting exactly
  1024.      this information from the server is not avaiable using the DICT
  1025.      protocol.  However, a client using the URL specification could
  1026.      obtain all of the definitions or matches, and then select the one
  1027.      that is specified.
  1028.  
  1029.      If "<user>:<passphrase>@" is omitted, no authentication is done.
  1030.      If ":<port>" is omitted, the default port (2628) SHOULD be used.
  1031.      If "<database>" is omitted, "!" SHOULD be used (see section 3.2.1).
  1032.      If "<strat>" is omitted, "." SHOULD be used (see section 3.3.1).
  1033.  
  1034.      Trailing colons may be omitted.  For example, the following URLs
  1035.      might specify definitions or matches:
  1036.  
  1037.  
  1038.              dict://dict.org/d:shortcake:
  1039.              dict://dict.org/d:shortcake:*
  1040.              dict://dict.org/d:shortcake:wordnet:
  1041.              dict://dict.org/d:shortcake:wordnet:1
  1042.              dict://dict.org/d:abcdefgh
  1043.              dict://dict.org/d:sun
  1044.              dict://dict.org/d:sun::1
  1045.  
  1046.              dict://dict.org/m:sun
  1047.              dict://dict.org/m:sun::soundex
  1048.              dict://dict.org/m:sun:wordnet::1
  1049.              dict://dict.org/m:sun::soundex:1
  1050.              dict://dict.org/m:sun:::
  1051.  
  1052.  
  1053.      See [RFC1738] for the specification of Uniform Resource Locators.
  1054.  
  1055.  
  1056. 6.  Summary of Response Codes
  1057.      Below is a summary of response codes.  A star (*) in the first col-
  1058.      umn indicates the response has defined arguments that must be pro-
  1059.      vided.
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074. Faith, Martin                                                  [Page 19]
  1075.  
  1076. I/D                 Dictionary Server Protocol            1 July 1997
  1077.  
  1078.  
  1079.  
  1080.              * 110 n databases present - text follows
  1081.              * 111 n strategies available - text follows
  1082.                112 database information follows
  1083.                113 help text follows
  1084.                114 server information follows
  1085.              * 150 n definitions retrieved - definitions follow
  1086.              * 151 word database name - text follows
  1087.              * 152 n matches found - text follows
  1088.                210 (optional timing and statistical information here)
  1089.              * 220 text msg-id
  1090.                221 Closing Connection
  1091.                230 Authentication successful
  1092.                250 ok (optional timing information here)
  1093.                420 Server temporarily unavailable
  1094.                421 Server shutting down at operator request
  1095.                500 Syntax error, command not recognized
  1096.                501 Syntax error, illegal parameters
  1097.                502 Command not implemented
  1098.                503 Command parameter not implemented
  1099.                530 Access denied
  1100.                531 Access denied, use "SHOW INFO" for server information
  1101.                550 Invalid database, use "SHOW DB" for list of databases
  1102.                551 Invalid strategy, use "SHOW STRAT" for a list of strategies
  1103.                552 No match
  1104.                554 No databases present
  1105.                555 No strategies available
  1106.  
  1107.  
  1108.  
  1109.  
  1110. 7.  Sample Conversations
  1111.  
  1112.      Theses are samples of the conversations that might be expected with
  1113.      a typical DICT server.  The notation "C:" indicates commands set by
  1114.      the client, and "S:" indicates responses sent by the server.  Blank
  1115.      lines are included for clarity and do not indicate actual newlines
  1116.      in the transaction.
  1117.  
  1118.  
  1119. 7.1.  Sample 1 - opening connection, HELP, DEFINE, and QUIT commands
  1120.  
  1121.  
  1122.      C: [ client initiates connection ]
  1123.  
  1124.      S: 220 dict.org dictd (version 0.9) <27831.860032493@dict.org>
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130. Faith, Martin                                                  [Page 20]
  1131.  
  1132. I/D               Dictionary Server Protocol            1 July 1997
  1133.  
  1134.  
  1135.  
  1136.      C: HELP
  1137.  
  1138.      S: 113 Help text follows
  1139.      S: DEFINE database word            look up word in database
  1140.      S: MATCH database strategy word    match word in database using strategy
  1141.      S: [ more server-dependent help text ]
  1142.      S: .
  1143.      S: 250 Command complete
  1144.  
  1145.  
  1146.  
  1147.      C: DEFINE ! penguin
  1148.  
  1149.      S: 150 1 definitions found: list follows
  1150.      S: 151 "penguin" wn "WordNet 1.5" : definition text follows
  1151.      S: penguin
  1152.      S:   1. n: short-legged flightless birds of cold southern esp. Antarctic
  1153.      S:      regions having webbed feet and wings modified as flippers
  1154.      S: .
  1155.      S: 250 Command complete
  1156.  
  1157.  
  1158.  
  1159.      C: DEFINE * shortcacke
  1160.  
  1161.      S: 150 2 definitions found: list follows
  1162.      S: 151 "shortcake" wn "WordNet 1.5" : text follows
  1163.      S: shortcake
  1164.      S:   1. n: very short biscuit spread with sweetened fruit and usu.
  1165.      S:      whipped cream
  1166.      S: .
  1167.      S: 151 "Shortcake" web1913 "Webster's Dictionary (1913)" : text follows
  1168.      S: Shortcake
  1169.      S:    \Short"cake`\, n.
  1170.      S:    An unsweetened breakfast cake shortened with butter or lard,
  1171.      S:    rolled thin, and baked.
  1172.      S: .
  1173.      S: 250 Command complete
  1174.  
  1175.  
  1176.  
  1177.      C: DEFINE abcdefgh
  1178.  
  1179.      S: 552 No match
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186. Faith, Martin                                                  [Page 21]
  1187.  
  1188. I/D                   Dictionary Server Protocol            1 July 1997
  1189.  
  1190.  
  1191.  
  1192.      C: quit
  1193.  
  1194.      S: 221 Closing connection
  1195.  
  1196.  
  1197.  
  1198. 7.2.  Sample 2 - SHOW commands, MATCH command
  1199.  
  1200.  
  1201.      C: SHOW DB
  1202.  
  1203.      S: 110 3 databases present: list follows
  1204.      S: wn "WordNet 1.5"
  1205.      S: foldoc "Free On-Line Dictionary of Computing"
  1206.      S: jargon "Hacker Jargon File"
  1207.      S: .
  1208.      S: 250 Command complete
  1209.  
  1210.  
  1211.  
  1212.      C: SHOW STRAT
  1213.  
  1214.      S: 111 5 strategies present: list follows
  1215.      S: exact "Match words exactly"
  1216.      S: prefix "Match word prefixes"
  1217.      S: substring "Match substrings anywhere in word"
  1218.      S: regex "Match using regular expressions"
  1219.      S: reverse "Match words given definition keywords"
  1220.      S: .
  1221.      S: 250 Command complete
  1222.  
  1223.  
  1224.  
  1225.      C: MATCH foldoc regex "s.si"
  1226.  
  1227.      S: 152 7 matches found: list follows
  1228.      S: foldoc Fast SCSI
  1229.      S: foldoc SCSI
  1230.      S: foldoc SCSI-1
  1231.      S: foldoc SCSI-2
  1232.      S: foldoc SCSI-3
  1233.      S: foldoc Ultra-SCSI
  1234.      S: foldoc Wide SCSI
  1235.      S: .
  1236.      S: 250 Command complete
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242. Faith, Martin                                                  [Page 22]
  1243.  
  1244. I/D                    Dictionary Server Protocol            1 July 1997
  1245.  
  1246.  
  1247.  
  1248.      C: MATCH wn substring "abcdefgh"
  1249.  
  1250.      S: 552 No match
  1251.  
  1252.  
  1253.  
  1254. 7.3.  Sample 3 - Server downtime
  1255.  
  1256.  
  1257.      C: [ client initiates connection ]
  1258.  
  1259.      S: 420 Server temporarily unavailable
  1260.  
  1261.  
  1262.  
  1263.      C: [ client initiates connection ]
  1264.  
  1265.      S: 421 Server shutting down at operator request
  1266.  
  1267.  
  1268.  
  1269. 7.4.  Sample 4 - Authentication
  1270.  
  1271.  
  1272.      C: [ client initiates connection ]
  1273.  
  1274.      S: 220 dict.org dictd (version 0.9) <27831.860032493@dict.org>
  1275.  
  1276.  
  1277.  
  1278.      C: SHOW DB
  1279.  
  1280.      S: 110 1 database present: list follows
  1281.      S: free "Free database"
  1282.      S: .
  1283.      S: 250 Command complete
  1284.  
  1285.  
  1286.  
  1287.      C: AUTH joesmith authentication-string
  1288.  
  1289.      S: 230 Authentication successful
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298. Faith, Martin                                                  [Page 23]
  1299.  
  1300. I/D                 Dictionary Server Protocol            1 July 1997
  1301.  
  1302.  
  1303.  
  1304.      C: SHOW DB
  1305.  
  1306.      S: 110 2 databases present: list follows
  1307.      S: free "Free database"
  1308.      S: licensed "Local licensed database"
  1309.      S: .
  1310.      S: 250 Command complete
  1311.  
  1312.  
  1313.  
  1314. 8.  Security Considerations
  1315.  
  1316.      This document raises no security issues.
  1317.  
  1318.  
  1319. 9.  References
  1320.  
  1321.  
  1322.      [ASCII] US-ASCII. Coded Character Set - 7-Bit American Standard
  1323.           Code for Information Interchange. Standard ANSI X3.4-1986,
  1324.           ANSI, 1986.
  1325.  
  1326.  
  1327.      [FOLDOC] Howe, Denis, ed.  The Free On-Line Dictionary of Comput-
  1328.           ing, <URL:http://wombat.doc.ic.ac.uk/>
  1329.  
  1330.  
  1331.      [ISO] ISO-8859. International Standard -- Information Processing --
  1332.           8-bit Single-Byte Coded Graphic Character Sets -- Part 1:
  1333.           Latin alphabet No. 1, ISO 8859-1:1987.
  1334.  
  1335.  
  1336.      [JARGON] The on-line hacker Jargon File, version 4.0.0, 25 JUL
  1337.           1996, <URL:http://www.ccil.org/jargon/>
  1338.  
  1339.  
  1340.      [KNUTH73] Knuth, Donald E. "The Art of Computer Programming", Vol-
  1341.           ume 3: Sorting and Searching (Addison-Wesley Publishing Co.,
  1342.           1973, pages 391 and 392). Knuth notes that the soundex method
  1343.           was originally described by Margaret K. Odell and Robert C.
  1344.           Russell [US Patents 1261167 (1918) and 1435663 (1922)].
  1345.  
  1346.  
  1347.      [PZ85] Pollock, Joseph J. and Zamora, Antonio, "Automatic spelling
  1348.           correction in scientific and scholarly text," CACM, 27(4):
  1349.           Apr. 1985, 358-368.
  1350.  
  1351.  
  1352.  
  1353.  
  1354. Faith, Martin                                                  [Page 24]
  1355.  
  1356. I/D                Dictionary Server Protocol            1 July 1997
  1357.  
  1358.  
  1359.      [RFC640] Postel, J., "Revised FTP Reply Codes", RFC-640, June,
  1360.           1975.
  1361.  
  1362.  
  1363.      [RFC821] Postel, J., "Simple Mail Transfer Protocol", RFC-821,
  1364.           USC/Information Sciences Institute, August, 1982.
  1365.  
  1366.  
  1367.      [RFC822] Crocker, D., "Standard for the Format of ARPA Internet
  1368.           Text Messages", RFC-822, Department of Electrical Engineering,
  1369.           University of Delaware, August, 1982.
  1370.  
  1371.  
  1372.      [RFC977] Kantor, B., Lapsley, P., "Network News Transfer Protocol:
  1373.           A Proposed Standard for the Stream-Based Transmission of
  1374.           News", RFC-977, U.C. San Diego, U.C. Berkeley, February, 1986.
  1375.  
  1376.  
  1377.      [RFC1738] Berners-Lee, T., Masinter, L., and M. McCahill, "Uniform
  1378.           Resource Locators (URL)", RFC-1738, CERN, Xerox PARC, Univer-
  1379.           sity of Minnesota, December 1994.
  1380.  
  1381.  
  1382.      [RFC1985] Freed, N., and Cargille, A., "SMTP Service Extension for
  1383.           Command Pipelining", RFC-1854, Innosoft International, Inc.,
  1384.           and Network Working Group, October 1995.
  1385.  
  1386.  
  1387.      [RFC1939] Myers, J., Rose, M., "Post Office Protocol - Version 3",
  1388.           RFC-1939, Carnegie Mellon/Dover Beach Consulting, May, 1996.
  1389.  
  1390.  
  1391.      [RFC2068] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Bern-
  1392.           ers-Lee, T., "Hypertext Transfer Protocol -- HTTP/1.1",
  1393.           RFC-2068, U.C. Irvine, DEC, MIT/LCS, January, 1997.
  1394.  
  1395.  
  1396.      [WEB1913] Webster's Revised Unabridged Dictionary (G & C. Merriam
  1397.           Co., 1913, edited by Noah Porter).  Online version prepared by
  1398.           MICRA, Inc., Plainfield, N.J. and edited by Patrick Cassidy
  1399.           <cassidy@micra.com>.  For further information, see
  1400.           <URL:ftp://uiarchive.cso.uiuc.edu/pub/etext/gutenberg/etext96/pgw*>,
  1401.           and
  1402.           <URL:http://humanities.uchicago.edu/forms unrest/webster.form.html>
  1403.  
  1404.  
  1405.      [WORDNET] Miller, G.A. (1990), ed. WordNet: An On-Line Lexical
  1406.           Database. International Journal of Lexicography. Volume 3,
  1407.  
  1408.  
  1409.  
  1410. Faith, Martin                                                  [Page 25]
  1411.  
  1412. I/D                  Dictionary Server Protocol            1 July 1997
  1413.  
  1414.  
  1415.           Number 4.  <URL:http://www.cogsci.princeton.edu/~wn/>
  1416.  
  1417.  
  1418. 10.  Acknowledgements
  1419.  
  1420.      Thanks to Arnt Gulbrandsen and Nicolai Langfeldt for many helpful
  1421.      discussions.  Thanks to Bennet Yee, Doug Hoffman, Kevin Martin, and
  1422.      Jay Kominek for extensive testing and feedback on the initial
  1423.      implementations of the DICT server.  Thanks to Zhong Shao for
  1424.      advice and support.
  1425.  
  1426.      (Thanks to Brian Kanto, Phil Lapsley, and Jon Postel for writing
  1427.      exemplary RFCs which were consulted during the preparation of this
  1428.      document.)
  1429.  
  1430.  
  1431. 11.  Author's Addresses
  1432.  
  1433.  
  1434.              Rickard E. Faith
  1435.              EMail: faith@cs.unc.edu (or faith@acm.org)
  1436.  
  1437.  
  1438.              Bret Martin
  1439.              EMail: bamartin@miranda.org
  1440.  
  1441.              The majority of this work was completed while  Bret  Martin
  1442.              was a student at Yale University.
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466. Faith, Martin                                                  [Page 26]
  1467.  
  1468.  
  1469.  
  1470. INTERNET-DRAFT                EXPIRES JANUARY 1998          INTERNET-DRAFT
  1471.