home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / PCKIM386.ZIP / README.DOC < prev   
Encoding:
Text File  |  1992-01-20  |  16.0 KB  |  357 lines

  1. README.DOC as of 20-Jan-92
  2.  
  3. PC-KIMMO Version 1.0.7 for IBM PC, 26-Dec-91
  4. Beta version for 386 CPU under MS-DOS (VCPI compliant)
  5.  
  6. *************************************************************************
  7. NOTE: This version of PC-KIMMO will ONLY work on a PC-compatible that
  8. has a 386 CPU. It will use all available extended/expanded memory. If you
  9. do not have such a computer, use the plain version of PC-KIMMO.
  10.  
  11. The main use of this 386 version is to run Englex, a large English lexicon.
  12. It should be available from the same source as PC-KIMMO.
  13.  
  14. This program was compiled with DJ's GCC port to DOS. If you want source
  15. code files for PC-KIMMO, write to me.
  16. *************************************************************************
  17.  
  18. This is the program that accompanies the book "PC-KIMMO: a two-level
  19. processor for morphological analysis" by Evan L. Antworth, published by the
  20. Summer Institute of Linguistics (1990).  The book with diskette(s) is
  21. available for $23.00 (plus shipping) from:
  22.  
  23.     International Academic Bookstore
  24.     7500 W. Camp Wisdom Road
  25.     Dallas TX, 75236
  26.     phone: 214/709-2404
  27.  
  28. The PC-KIMMO executable program and the source code library are copyrighted
  29. by the Summer Institute of Linguistics but are made freely available to the
  30. general public under the condition that they not be resold or used for
  31. commercial purposes.
  32.  
  33. The developers of this software can be reached at the following address:
  34.  
  35.     Academic Computing Department
  36.     7500 W. Camp Wisdom Road
  37.     Dallas, TX  75236
  38.     phone: 214/709-2418
  39.     internet: evan@sil.org
  40.  
  41. PC-KIMMO update history:
  42.         Version 1.0,    6 Feb 90     first release
  43.         Version 1.0A,  14 Jul 90     fixed a portability bug
  44.         Version 1.0B,   6 Sep 90     fixed a generator bug and a recognizer bug
  45.         Version 1.0.3, 15 Sep 90     fixed a bug related to insertions
  46.         Version 1.0.5, 26 Feb 91     fixed problem loading large lexicon,
  47.                                      fixed bug in Mac version that caused
  48.                                      certain warning messages to crash the
  49.                                      system
  50.         Version 1.0.6, 19 Nov 91     fixed memory leak
  51.                                      fixed problem printing dots in Mac version
  52.         Version 1.0.7, 26 Dec 91     386 version
  53.  
  54. The contents of the remainder of this file are as follow:
  55.  
  56.     1 VERSIONS AVAILABLE
  57.     2 [deleted]
  58.     3 INSTALLING PC-KIMMO
  59.     4 SETTING THE PATH VARIABLE
  60.     5 SETTING THE EDITOR VARIABLE
  61.     6 STARTING PC-KIMMO
  62.     7 ENTERING COMMANDS AND GETTING ON-LINE HELP
  63.     8 DEFAULT FILE NAMES AND EXTENSIONS
  64.     9 LEARNING PC-KIMMO
  65.     10 CONTENTS OF THE RELEASE DISKETTE
  66.     11 ERRATA
  67.     12 BUGS
  68.  
  69. 1 VERSIONS AVAILABLE
  70.  
  71. PC-KIMMO is available for three operating systems:
  72.     MS-DOS or PC-DOS (any IBM PC compatible)
  73.     UNIX System V (SCO UNIX V/386 and A/UX) and 4.2 BSD UNIX
  74.     Macintosh
  75.  
  76. There are two versions of the PC-KIMMO release software, one for IBM PC
  77. compatibles and one for the Macintosh. The release software is supplied
  78. either on two 5.25" diskettes or on one 3.5" diskette. For those who wish
  79. to compile PC-KIMMO for their UNIX system, the complete source code is
  80. available for the cost of the media and shipping. Contact either the
  81. International Academic Bookstore or the Academic Computing Department
  82. at the addresses above.
  83.  
  84.  
  85. 3 INSTALLING PC-KIMMO
  86.  
  87. Before proceeding further with PC-KIMMO, you must properly install it.
  88.  
  89.     1. To install PC-KIMMO on a hard disk, use the INSTALL.BAT
  90.     procedure supplied with the release software to install the
  91.     system on your hard disk. To do this, insert the PC-KIMMO
  92.     diskette (diskette #1, if the software is on two diskettes) in
  93.     one of your disk drives. Type A: (or whatever the name of the
  94.     drive is) in order to log control to that disk. Now type INSTALL
  95.     followed by the name of the hard disk on which you want to
  96.     install PC-KIMMO (for instance, INSTALL C:). This will create on
  97.     drive C a subdirectory called and will copy the contents of the
  98.     release diskette (with all its subdirectories) into it.
  99.  
  100.     2. To install PC-KIMMO on a floppy disk system, make a
  101.     working copy of the release software by copying the entire
  102.     diskette to another diskette, including subdirectories and all of
  103.     their files (if the software is on two diskettes, copy both). The
  104.     easiest way to do this is to use the DOS utility program XCOPY.
  105.     Place a diskette (probably your DOS utilities diskette) that
  106.     contains XCOPY in drive A, place a blank working diskette in
  107.     drive B, and enter this command:
  108.  
  109.         xcopy a:*.* b: /s /v /w
  110.  
  111.     You will see the message "Press any key to begin copying file(s)".
  112.     Now take the diskette out of drive A, put in the PC-KIMMO release
  113.     diskette, and press any key. If the release software is on two
  114.     diskettes, repeat this procedure with the second diskette.
  115.  
  116. 4 SETTING THE PATH VARIABLE
  117.  
  118. Whether you are using a floppy or hard disk system, the operating system's
  119. PATH variable must be set to include the directory where the PC-KIMMO
  120. program is found. The AUTOEXEC.BAT file on your boot disk should contain a
  121. path statement that specifies all the disks and directories that contain
  122. programs. On a floppy disk system, the path statement should include as a
  123. minimum the root directory of drive A, for instance, PATH=A:\. On a hard
  124. disk system, add ;C:\PCKIMMO to the end of the path statement. For the path
  125. statement to become effective, you must reboot the computer. (If you want
  126. to change the path variable without changing the AUTOEXEC.BAT file and
  127. rebooting, enter a path command directly at the operating system prompt.)
  128.  
  129. 5 SETTING THE EDITOR VARIABLE
  130.  
  131. In order to use PC-KIMMO's EDIT command, you must set the operating system
  132. environment variable EDITOR to the name of your text editing program. This
  133. is done by including in the AUTOEXEC.BAT file a line of this form:
  134.  
  135.     SET EDITOR=<filespec>
  136.  
  137. where <filespec> specifies the path and full file name of your editing
  138. program. For example, if your editor's file name is EMACS.EXE and is found
  139. in the UTIL subdirectory directly under the root directory, include this
  140. line:
  141.  
  142.     SET EDITOR=\UTIL\EMACS.EXE
  143.  
  144. 6 STARTING PC-KIMMO
  145.  
  146. Be sure that DOS is logged onto the drive where PC-KIMMO is located. To
  147. change to the subdirectory that contains the English example, enter CD
  148. \ENGLISH on a floppy disk system, or CD \PCKIMMO\ENGLISH on a hard disk
  149. system. Now type PCKIMMO (if your PATH variable is not correctly set to
  150. include the PC-KIMMO subdirectory, type ..\PCKIMMO). When PC-KIMMO has
  151. successfully started up, you will see a version message and the PC-KIMMO
  152. command line prompt.
  153.  
  154. PC-KIMMO can also be started with optional command line arguments. The
  155. format of the command line is:
  156.  
  157.     pckimmo [-c  <char>] [-r  <rulefile>] [-l  <lexfile>] [-t <cmdfile>]
  158.  
  159. The options are used as follows:
  160.     
  161.     The -c option changes the character used to delimit
  162.     comments in files used by PC-KIMMO. The argument <char> is a
  163.     single character. If this option is not specified, the semicolon
  164.     (;) will be used as the comment delimiter. This option is
  165.     equivalent to issuing the SET COMMENT command from the program
  166.     prompt.
  167.  
  168.     The -r option specifies a rules file to be loaded. It is
  169.     equivalent to issuing the LOAD RULES command from the program
  170.     prompt.
  171.  
  172.     The -l option specifies a lexicon file to be loaded. It is
  173.     equivalent to issuing the LOAD LEXICON command from the program
  174.     prompt. It must be used with the -r option.
  175.  
  176.     The -t option specifies a command file from which PC-KIMMO
  177.     reads and executes commands. It is equivalent to issuing the TAKE
  178.     command from the program prompt.
  179.  
  180. 7 ENTERING COMMANDS AND GETTING ON-LINE HELP
  181.  
  182. The user interacts with PC-KIMMO by entering commands at the command line
  183. prompt, in much the same way that one enters commands at the operating
  184. system prompt. Case is ignored for all command keywords. Keywords can be
  185. shortened to any unambiguous form. For instance, LOAD RULES, LOAD RUL, LOAD
  186. R, and LOA R are all acceptable. Typing just L is ambiguous for the
  187. commands LOAD, LOG, and LIST. However, because LOAD is such a frequently
  188. used command, it takes special precedence over the other commands beginning
  189. with L, which means that typing just L will execute only the LOAD command.
  190.  
  191. PC-KIMMO can be used with a TSR (Terminate and Stay Resident) command line
  192. editor such as CED or NDOSEDIT. This allows the user to recall and edit
  193. several previous command lines. The list of previous PC-KIMMO command lines
  194. is kept separate from the list of previous operating system command lines.
  195. If you exit PC-KIMMO and then run it again, the set of command lines from
  196. your previous PC-KIMMO session is still available. Neither of the command
  197. line editors remembers a command shorter than three characters. It should
  198. be noted that CED uses the ^ character as a kind of "virtual carriage
  199. return." This means that forms containing ^ as an alphabetic character
  200. cannot be entered from the keyboard with the GENERATE and RECOGNIZE
  201. commands, though of course such words can be read from a file.
  202.  
  203. Screen scrolling can be halted by pressing Ctrl-S (that is, hold down the
  204. Ctrl (Control) key and press S); any key will resume scrolling.
  205.  
  206. Processing can be interrupted by pressing Ctrl-C. Note that this action
  207. does not abort PC-KIMMO, but returns it to the program prompt. It is useful
  208. for stopping a long screen display (such as a trace) or a file processing
  209. command.
  210.  
  211. Pressing Ctrl-P causes screen output to be echoed to the printer. Pressing
  212. Ctrl-P again stops printer echoing.
  213.  
  214. There are several ways to get on-line help:
  215.  
  216.     To get a list of the available commands, type ?.
  217.  
  218.     To get information on what these commands do, type HELP.
  219.  
  220.     To get the specific syntax and use for a command, type HELP
  221.     plus a specific command name.
  222.  
  223.     To get a list of the keywords that can go with a particular
  224.     command, type the command name followed by ?. Note however that
  225.     if the command does not take a keyword it will be executed; for
  226.     instance typing NEW ? will execute the NEW command.
  227.  
  228. 8 DEFAULT FILE NAMES AND EXTENSIONS
  229.  
  230. The display below summarizes the default file names and extensions assumed
  231. by PC-KIMMO. Two entries are given for the different kinds of files. The
  232. first is the name PC-KIMMO will assume if no file name at all is given to a
  233. command that expects that kind of file. The second entry (with the *) shows
  234. what extension PC-KIMMO will add if a file name without an extension is
  235. given.
  236.  
  237.     Rules file:                     RULES.RUL
  238.                                         *.RUL
  239.     Lexicon file:                 LEXICON.LEX
  240.                                         *.LEX
  241.     Generation comparison file:      DATA.GEN
  242.                                         *.GEN
  243.     Recognition comparison file:     DATA.REC
  244.                                         *.REC
  245.     Pairs comparison file:           DATA.PAI
  246.                                         *.PAI
  247.     Take file:                    PCKIMMO.TAK
  248.                                         *.TAK
  249.     Log file:                     PCKIMMO.LOG
  250.  
  251. 9 LEARNING PC-KIMMO
  252.  
  253. You are now ready to try out PC-KIMMO. Chapter 2 of the book will guide you
  254. through a sample user session with PC-KIMMO. To learn how to develop your
  255. own language descriptions using PC-KIMMO you must work through the tutorial
  256. found in chapters 3 through 6 of the book. A general introduction to
  257. PC-KIMMO is found in chapter 1. A concise reference manual of the PC-KIMMO
  258. program is found in chapter 7. Appendix A also shows how a description of
  259. English was developed. Appendix B demonstrates other uses of PC-KIMMO's
  260. two-level processor. Appendix C documents the PC-KIMMO function library and
  261. shows how to write C programs that use it.
  262.  
  263. 10 CONTENTS OF THE RELEASE DISKETTE
  264.  
  265. This diskette contains the following files in the top-level directory:
  266.  
  267.     DEMO     BAT      batch file to run short demo
  268.     INSTALL  BAT      batch file to install PC-KIMMO
  269.     GETYN    COM      utility program for batch file
  270.     README   DOC      this file
  271.     ERRATA   DOC      errors in book
  272.     UPDATE   DOC      program revision history
  273.     BUGS     DOC      known program bugs
  274.     REGISTER DOC      registration form
  275.     PCKIMMO  EXE      executable PC-KIMMO program
  276.     LEXICON  LEX      lexicon file template
  277.     RULES    RUL      rules file template
  278.     PCKIMMO  TAK      sample TAKE file
  279.  
  280. This diskette also contains the following subdirectories, each of which
  281. contains sample PC-KIMMO applications.  (Note that if your PC-KIMMO
  282. software is on two diskettes some of these subdirectories will be located
  283. on the second diskette. You can use the INSTALL2 program on the second
  284. diskette to copy the files to the PCKIMMO subdirectory on your hard disk.)
  285.  
  286. Each subdirectory contains a TAKE file that will run an automatic
  287. demonstration of the sample.  For example, if you open the CVCV
  288. subdirectory and enter "pc-kimmo -t cvcv", you will see a demonstration of
  289. the phonotactic analyzer. When the demonstration is over, you will be left
  290. at the PC-KIMMO program prompt. To get on-line help for running PC-KIMMO,
  291. type HELP and follow the instructions. When you are finished experimenting
  292. with the sample application, type QUIT or EXIT to leave PC-KIMMO and return
  293. to the operating system.
  294.  
  295.     CVCV              phonotactic analyzer from appendix B
  296.     ENGLISH           English description from appendix A
  297.     FINNISH           Finnish description
  298.     HEBREW            Hebrew description
  299.     JAPANESE          Japanese description
  300.     KASEM             Kasem description
  301.     LOGIC             logic problem from appendix B
  302.     MENDE             Mende description
  303.     MINLEX            minimal lexicon from appendix B
  304.     PROTO             sound change example from appendix B
  305.     SAMPLE            sample files from chap. 3
  306.     SAMPLER           example rules from chap. 6
  307.     SOUNDEX           two-level implementation of the Soundex method (29-Oct-90)
  308.     TAGALOG           Tagalog description
  309.     TURKISH           Turkish description
  310.     ZOQUE             Zoque description
  311.  
  312. The following subdirectory contains files of source code that constitute
  313. the PC-KIMMO function library. These files as well as two sample programs
  314. that use the function library are described in appendix C of the PC-KIMMO
  315. book.
  316.  
  317.     PCKLIB            function library (see appendix C)
  318.  
  319. 11 ERRATA
  320.  
  321. Errors in "PC-KIMMO: A Two-level Processor for Morphological Analysis"
  322.    discovered as of February 6, 1991
  323.  
  324. 1. The generator algorithm on pages 198-199 (section 7.9.1) is slightly
  325.    misleading.  Step 3 (testing all feasible pairs containing a NULL
  326.    lexical character, and recursively invoking the algorithm for each
  327.    pair that successfully steps the automata) should be carried out even
  328.    when the lexical form is empty.  In other words, Step 3 actually takes
  329.    place before Step 1.
  330.  
  331.    This reflects a bug in the implementation that was partially fixed in
  332.    version 1.0B, and fully fixed in version 1.0.3 of PC-KIMMO.
  333.  
  334. 2. The reference to natural phonology  on the top of page 7 should be 
  335.     changed to natural generative phonology (Hooper 1976).
  336.  
  337. 3. Table 41 on page 69:  the 1 in state 3 of the m:m column should be 
  338.    a 2 (see the partially written version of the same table just above).
  339.  
  340. 4. Table 45 on page 72: the 1 in state 3 of the s:z column should be
  341.    a 0 (zero).  It should be pointed out that while the s:z column of table
  342.    44 (a <= rule) is filled in with ones, but the s:z column of table 45
  343.    (a <=> rule) must be filled in with zeros, since s:z must be prohibited
  344.    from occurring in any environment except V___V.
  345.  
  346. 5. Table 53a on page77: the 1 in state 3 of the i:i column should be a 2.
  347.  
  348. 6. Table 54a on page 78: the 1's in state 3 of the u:u column and the o:o
  349.    column should both be 2's.
  350.  
  351.  
  352. 12 BUGS
  353.  
  354. 1.  In the Macintosh version, pressing Command-. (clover-leaf key plus
  355. period) to abort a command that is reading or writing a disk file may leave
  356. the file open.  Not sure if Control-C on MS-DOS also does this.
  357.