home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / science / macpckim.sit / ReadMe.DOC < prev   
Text File  |  1990-10-29  |  16KB  |  347 lines

  1. ReadMe.DOC as of 29-Oct-90
  2.  
  3. PC-KIMMO Version 1.0.3 for Macintosh, 14-Sep-90
  4.  
  5. This is the software release that accompanies the book "PC-KIMMO:
  6. a two-level processor for morphological analysis" by Evan L. Antworth,
  7. published by the Summer Institute of Linguistics (1990).  The book with
  8. diskette(s) is available for $23.00 (plus shipping) from:
  9.  
  10.     International Academic Bookstore
  11.     7500 W. Camp Wisdom Road
  12.     Dallas TX, 75236
  13.     phone: 214/709-2404
  14.  
  15. The PC-KIMMO executable program and the source code library are copyrighted by the Summer Institute of Linguistics but are made freely available to the general public under the condition that they not be resold or used for commercial purposes.
  16.  
  17. The developers of this software can be reached at the following address:
  18.  
  19.     Academic Computing Department
  20.     7500 W. Camp Wisdom Road
  21.     Dallas, TX  75236
  22.     phone: 214/709-2418
  23.     internet: evan@txsil.lonestar.org
  24.  
  25. PC-KIMMO update history:
  26.         Version 1.0,     6 Feb 90     first release
  27.         Version 1.0A, 14 Jul 90     fixed a portability bug
  28.         Version 1.0B,   6 Sep 90     fixed a generator bug and a recognizer bug
  29.         Version 1.0.3, 14 Sep 90    fixed a bug in inserting surface chars
  30.  
  31. The contents of the remainder of this file are as follows:
  32.  
  33. 1  VERSIONS AVAILABLE
  34. 2  RUNNING THE DEMO
  35. 3  INSTALLATION
  36. 4  STARTING MacPC-KIMMO 
  37. 5  ENTERING COMMANDS AND GETTING ON-LINE HELP 
  38. 6  PC-KIMMO COMMANDS NOT AVAILABLE IN THE MACINTOSH VERSION
  39. 7  ACCESSING FILES IN DIRECTORIES OTHER THAN THE CURRENT ONE    
  40. 8  DEFAULT FILE NAMES AND EXTENSIONS
  41. 9  LEARNING PC-KIMMO
  42. 10  CONTENTS OF THE RELEASE DISKETTE
  43. 11  ERRATA
  44. 12  BUGS
  45.  
  46. 1  VERSIONS AVAILABLE
  47.  
  48. PC-KIMMO is available for three operating systems: 
  49.       MS-DOS or PC-DOS (any IBM PC compatible)
  50.       UNIX System V (SCO UNIX V/386 and A/UX) and 4.2 BSD UNIX
  51.       Macintosh 
  52.  
  53. There are two versions of the PC-KIMMO release diskette, one for IBM PC 
  54. compatibles and one for the Macintosh. The release software is supplied 
  55. either on two 5.25" diskettes or on one 3.5" diskette. For those who wish 
  56. to compile PC-KIMMO for their UNIX system, the complete source code is 
  57. available for the cost of the media and shipping from: 
  58.  
  59.       Academic Computing Department
  60.       7500 W. Camp Wisdom Road 
  61.       Dallas, TX  75236 
  62.  
  63. 2  RUNNING THE DEMO
  64.  
  65. To see a very brief demonstration of PC-KIMMO on some English data, run 
  66. the MacPC-KIMMO program by double-clicking on it. You will see a dialog 
  67. box; just press return and you will be left at the PC-KIMMO program 
  68. prompt. Now type "take demo" and press return. This will run a command 
  69. file that will load the English rules and lexicon, generate and recognize a 
  70. few words, and exit PC-KIMMO. 
  71.  
  72. 3  INSTALLATION
  73.  
  74. Before proceeding further with PC-KIMMO, you should copy the PC-KIMMO 
  75. release diskette to your hard disk. Create a new folder named PC-KIMMO 
  76. and copy into it all the files and folders from the release diskette. 
  77.  
  78. 4  STARTING MacPC-KIMMO 
  79.  
  80. Like other Macintosh programs, just double-click on the MacPC-KIMMO 
  81. program icon. You will see a dialog box where you can enter command line 
  82. options in the same way as the MS-DOS or UNIX versions of PC-KIMMO 
  83. allow. If you do not want to use command line options, press Return. The 
  84. dialog box also gives you the opportunity to redirect standard input and 
  85. output. For instance, if you send output to both the console and a file, the 
  86. file that is created will contain a complete record of your session with 
  87. PC-KIMMO. The logging facility in PC-KIMMO is similar, but differs in that 
  88. only generation and recognition operations are recorded in the log file.
  89.  
  90. If you want to start PC-KIMMO using command line options, enter them 
  91. according to this format:
  92.  
  93.     MacPC-KIMMO [-c  <char>] [-r  <rulefile>] [-l  <lexfile>] [-t <cmdfile>] 
  94.  
  95. The options are used as follows: 
  96.  
  97.       The -c option changes the character used to delimit comments in 
  98.       files used by PC-KIMMO. The argument <char> is a single character. If 
  99.       this option is not specified, the semicolon (;) will be used as the 
  100.       comment delimiter. This option is equivalent to issuing the SET 
  101.       COMMENT command from the program prompt. 
  102.  
  103.       The -r option specifies a rules file to be loaded. It is equivalent to 
  104.       issuing the LOAD RULES command from the program prompt. 
  105.  
  106.       The -l option specifies a lexicon file to be loaded. It is equivalent to 
  107.       issuing the LOAD LEXICON command from the program prompt. It 
  108.       must be used with the -r option.
  109.  
  110.       The -t option specifies a command file from which PC-KIMMO reads 
  111.       and executes commands. It is equivalent to issuing the TAKE 
  112.       command from the program prompt. 
  113.  
  114.  
  115. 5  ENTERING COMMANDS AND GETTING ON-LINE HELP 
  116.  
  117. The Macintosh version of PC-KIMMO has the same command line interface 
  118. as the MS-DOS and UNIX versions. The user types commands at the PC-
  119. KIMMO program prompt which PC-KIMMO executes and prints the result on 
  120. the screen. Case is ignored for all command keywords. Keywords can be 
  121. shortened to any unambiguous form. For instance, LOAD RULES, LOAD RUL, 
  122. LOAD R, and LOA R are all acceptable. Typing just L is ambiguous for the 
  123. commands LOAD, LOG, and LIST. However, because LOAD is such a 
  124. frequently used command, it takes special precedence over the other 
  125. commands beginning with L, which means that typing just L will execute 
  126. only the LOAD command. 
  127.  
  128. The command line can be edited using the mouse, the arrow keys, and the 
  129. Delete key. Also, pressing any of the keys Control-U, Esc, or Clear will 
  130. erase the command line. The Macintosh version also enables the user to 
  131. copy anything visible on the screen and paste it into the command line. 
  132. This is done by using the mouse to highlight material on the screen and 
  133. then executing the Copy and Paste commands available either on the Edit 
  134. menu or with the Command  keys (see your Macintosh documentation). 
  135. Here are some other useful operations: 
  136.     
  137.       To pause screen scrolling, hold down the mouse button. 
  138.  
  139.       To interrupt an operation (such as a long trace display or a file 
  140.       reading/writing function), press Command-. (that is, hold down the 
  141.       Command key and press the period key). This is the same as Control-C
  142.       with the MS-DOS or UNIX versions. 
  143.  
  144.       Entering Control-D from the keyboard signifies end-of-file (control-Z
  145.       on MS-DOS, control-D on UNIX).
  146.  
  147.       To exit PC-KIMMO, either press Command-Q or choose Quit from the 
  148.       File menu. You can also enter either of the PC-KIMMO 
  149.       commands EXIT or QUIT.
  150.  
  151. There are several ways to get on-line help: 
  152.  
  153.       To get a list of the available commands, type ?. 
  154.  
  155.       To get information on what these commands do, type HELP. 
  156.  
  157.       To get the specific syntax and use for a command, type HELP plus a 
  158.       specific command name. 
  159.  
  160.       To get a list of the keywords that can go with a particular command, 
  161.       type the command name followed by ?. Note however that if the 
  162.       command does not take a keyword it will be executed; for instance 
  163.       typing NEW ? will execute the NEW command. 
  164.  
  165. 6  PC-KIMMO COMMANDS NOT AVAILABLE IN THE MACINTOSH VERSION
  166.  
  167. The EDIT command and the SYSTEM command are not available in the 
  168. Macintosh version of PC-KIMMO. To edit a file without quitting PC-KIMMO, 
  169. either use a desk accessory editor or run PC-KIMMO under MultiFinder so 
  170. that you can switch back and forth between PC-KIMMO and your editor. 
  171. Remember that after editing a rules file or a lexicon file it must be loaded 
  172. again for PC-KIMMO to use the changes. To do operating system functions 
  173. such as copying, deleting, or renaming files, run PC-KIMMO under 
  174. MultiFinder. 
  175.  
  176. 7  ACCESSING FILES IN DIRECTORIES OTHER THAN THE CURRENT ONE
  177.  
  178. PC-KIMMO considers the directory (folder) where the program file resides 
  179. to be the current or default directory. While running PC-KIMMO, it is often 
  180. necessary to access files in other directories. The Macintosh version of 
  181. PC-KIMMO has a special command for changing directories called CD. Its 
  182. command syntax is CD <pathname>, where <pathname> is a concatenation 
  183. of volume and directory names. The Macintosh uses the colon as a 
  184. separator character between directory names in much the same way that 
  185. MS-DOS uses a \ or backslash character. There are two types of 
  186. pathnames: full pathnames and partial pathnames. A full pathname starts 
  187. with the name of the root directory (or volume name). For example, a full 
  188. pathname to the English directory might look like this:
  189.  
  190.       MyDisk:PC-KIMMO:English
  191.  
  192. A partial pathname starts with the name of a directory whose position in 
  193. the directory tree must be specified relative to the current directory. A 
  194. partial pathname always starts with a colon (whereas a full pathname 
  195. never does). For example, if the current directory is MyDisk, the partial 
  196. pathname to specify the English directory is:
  197.  
  198.       :PC-KIMMO:English
  199.  
  200. Thus if we are running MacPC-KIMMO while in the MyDisk directory and we 
  201. want to change to the English directory, we issue the command:
  202.  
  203.       CD :PC-KIMMO:English
  204.  
  205. Here are some things to remember when using Macintosh pathnames with 
  206. the CD command:
  207.  
  208.       Directory names are not case sensitive; if the directory name is
  209.      "English", you can refer to it as "english" or "ENGLISH".  
  210.  
  211.       A directory name used in a CD command cannot contain a space. 
  212.  
  213.       To change to the directory below the current one, use a partial 
  214.       pathname; for example CD :ENGLISH. 
  215.  
  216.       To change to the directory immediately above the current one, 
  217.       simply issue the command CD :: (two colons). To go up two 
  218.       directories, type CD ::: (three colons), and so on. 
  219.  
  220.       To change to a directory that shares a parent with the current 
  221.       directory, go up to the parent using colons and then specify the 
  222.       directory names to go down to the sibling directory. For example, if 
  223.  
  224.       you are in the English directory and want to change to the Finnish 
  225.       directory type CD ::FINNISH (which means, go up one directory and then 
  226.       down to the FINNISH directory). 
  227.  
  228. It is also possible to access files in a directory other than the current one 
  229. without changing directories. This can be done by specifying the file's 
  230. pathname when it it used in a command. The pathname follows the same 
  231. conventions as described above for the CD command. For example, the 
  232. command LOAD RULES :ENGLISH:ENGLISH.RUL will look for the file 
  233. ENGLISH.RUL in a directory named ENGLISH immediately below the current 
  234. directory. 
  235.  
  236. 8  DEFAULT FILE NAMES AND EXTENSIONS
  237.  
  238. If file names are used that are compatible with the MS-DOS version of PC-
  239. KIMMO, the Macintosh version will obey the same default file name and 
  240. file name extension conventions. For example, to load the English rules 
  241. file, it is necessary to type only LOAD RULES ENGLISH (no dot at the end). 
  242. The same is true when you are accessing files in a folder other than the 
  243. current one; for example, LOAD RULES :ENGLISH:ENGLISH (no dot). The 
  244. display below summarizes the default file names and extensions assumed 
  245. by PC-KIMMO. Two entries are given for the different kinds of files. The 
  246. first is the name PC-KIMMO will assume if no file name at all is given to a 
  247. command that expects that kind of file. The second entry (with the *) 
  248. shows what extension PC-KIMMO will add if a file name without an 
  249. extension is given. File names are not case sensitive.
  250.  
  251.       rules file:                              rules.rul
  252.                                                          *.rul
  253.       lexicon file:                       lexicon.lex
  254.                                                          *.lex
  255.       generation comparison file:   data.gen
  256.                                                          *.gen
  257.       recognition comparison file:   data.rec
  258.                                                           *.rec
  259.       pairs comparison file:             data.pai
  260.                                                           *.pai
  261.       take file:                          pckimmo.tak
  262.                                                           *.tak
  263.       log file:                            pckimmo.log
  264.  
  265. 9  LEARNING PC-KIMMO
  266.  
  267. You are now ready to try out PC-KIMMO. Chapter 2 of the book will guide 
  268. you through a sample user session with PC-KIMMO. To learn how to develop 
  269. your own language descriptions using PC-KIMMO you must work through 
  270. the tutorial found in chapters 3 through 6 of the book. A general 
  271. introduction to PC-KIMMO is found in chapter 1. A concise reference 
  272. manual of the PC-KIMMO program is found in chapter 7. Appendix A also 
  273. shows how a description of English was developed. Appendix B 
  274. demonstrates other uses of PC-KIMMO's two-level processor. Appendix C 
  275. documents the PC-KIMMO function library and shows how to write C 
  276. programs that use it. 
  277.  
  278. 10  CONTENTS OF THE RELEASE DISKETTE
  279.  
  280. This diskette contains the following files in the top-level folder: 
  281.  
  282.       MacPC-KIMMO  executable PC-KIMMO program 
  283.       ReadMe.DOC     this file 
  284.       Update.DOC      program revision history
  285.       Register.FRM   software registration form
  286.       Errata.DOC       corrections to the book
  287.       Lexicon.LEX     lexicon file template 
  288.       Rules.RUL        rules file template 
  289.       PCKIMMO.TAK  sample TAKE file 
  290.       Demo.TAK        TAKE file to run brief demo
  291.  
  292. This diskette also contains the following folders, each of which contains 
  293. sample PC-KIMMO applications. Each folder contains a TAKE file that will 
  294. run an automatic demonstration of the sample.  For example, if you open 
  295. the CVCV folder, run MacPC-KIMMO, and enter the command "take cvcv", 
  296. you will see a demonstration of the phonotactic analyzer. When the 
  297. demonstration is over, you will be left at the PC-KIMMO program prompt. 
  298. To get on-line help for running PC-KIMMO, type HELP and follow the 
  299. instructions. When you are finished experimenting with the sample 
  300. application, type QUIT or EXIT to leave PC-KIMMO and return to the 
  301. operating system (you can also choose Quit from the Files menu). 
  302.  
  303.       CVCV         phonotactic analyzer from appendix B 
  304.       English      English description from appendix A 
  305.       Finnish      Finnish description 
  306.       Hebrew      Hebrew description 
  307.       Japanese   Japanese description 
  308.       Kasem       Kasem description 
  309.       Logic         logic problem from appendix B 
  310.       Mende        Mende description 
  311.       Minlex       minimal lexicon from appendix B 
  312.       Proto        sound change example from appendix B 
  313.       Sample     sample files from chap. 3 
  314.       Sampler   example rules from chap. 6 
  315.       Soundex    two-level implemention of the Soundex method
  316.       Tagalog    Tagalog description 
  317.       Turkish    Turkish description 
  318.       Zoque       Zoque description 
  319.  
  320. The following folder contains files of source code that constitute the PC-
  321. KIMMO function library. These files as well as two sample programs that 
  322. use the function library are described in appendix C of the PC-KIMMO book. 
  323.  
  324.       PCKlib    function library (see appendix C) 
  325.  
  326.  
  327. 11  ERRATA
  328.  
  329. Errors in "PC-KIMMO: A Two-level Processor for Morphological Analysis"
  330.    discovered as of September 14, 1990
  331.  
  332. --------
  333.  
  334. 1. The generator algorithm on pages 198-199 (section 7.9.1) is slightly
  335.    misleading.  Step 3 (testing all feasible pairs containing a NULL
  336.    lexical character, and recursively invoking the algorithm for each
  337.    pair that successfully steps the automata) should be carried out even
  338.    when the lexical form is empty.  In other words, Step 3 actually takes
  339.    place before Step 1.
  340.  
  341.    This reflects a bug in the implementation that was partially fixed in
  342.    version 1.0B, and fully fixed in version 1.0.3 of PC-KIMMO.
  343.  
  344. 12  BUGS
  345.  
  346. 1.  In the Macintosh version, pressing Command-. (clover-leaf key plus period) to abort a command that is reading or writing a disk file may leave the file open.  Not sure if Control-C on MS-DOS also does this.
  347.