home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / TSPELL24.ZIP / TSPELL.INF < prev    next >
Encoding:
Text File  |  1991-03-30  |  29.5 KB  |  628 lines

  1. Sat 30-March-1991
  2. All rights reserved
  3.  
  4. About TSPELL in General
  5. =======================
  6.  
  7. Apply question mark ? with the program call for a brief description
  8. of a program.
  9.  
  10. This package may be used and distributed freely for NON-COMMERCIAL,
  11. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
  12. any way.
  13. ┌───────────────────────────────────────────────────────────────────┐
  14. │ For ANY other usage (such as use in a business enterprise or at a │
  15. │ university) or the full scale version contact the author for a    │
  16. │ personal or a site license.                                       │
  17. └───────────────────────────────────────────────────────────────────┘
  18. Please do not distribute any part of this package separately.
  19. Uploading to BBSes is encouraged.
  20.  
  21. The registered version is strictly for the registrant only.
  22. Identical programs must NOT be running on more than one computer at
  23. a time. Site licensed programs must not be run outside the licensed
  24. site.
  25.  
  26. The programs are under development. Comments and contacts are
  27. solicited. If you have any questions, please do not hesitate to use
  28. electronic mail for communication.
  29. InterNet address: ts@chyde.uwasa.fi         (preferred)
  30. Funet address:    GADO::SALMI
  31. Bitnet address:   SALMI@FINFUN
  32.  
  33. The author shall not be liable to the user for any direct, indirect
  34. or consequential loss arising from the use of, or inability to use,
  35. any program or file howsoever caused. No warranty is given that the
  36. programs will work under all circumstances.
  37.  
  38. Timo Salmi
  39. Professor of Accounting and Business Finance
  40. School of Business Studies, University of Vaasa
  41. P.O.BOX 297, SF-65101 Vaasa, Finland
  42.  
  43.  
  44. ABSTRACT:
  45.  
  46. Searching Archive: TSPELL24.ARC - Checks English Spelling, T.Salmi
  47. Filename        Comment                             Date      Time
  48. --------        --------------------------------    ----      ----
  49. AUXIL.DNY       Seed (read the instructions)      08-11-88  10:09:54
  50. SPELLED.DNY     English dictionary                10-21-89  17:14:26
  51. SPELLED.EXE     Dictionary editor                 03-17-91  17:36:04
  52. SPELLER.EXE     Spelling checker (start here)     03-17-91  17:34:24
  53. SPELMERG.EXE    Fast merging of dictionaries      03-17-91  17:53:14
  54. TSPELL.INF      Document                          03-30-91  14:00:00
  55. TSPROG.INF      List of PD programs from T.Salmi  03-30-91  10:23:20
  56. VAASA.INF       Info: Finland, Vaasa, U of Vaasa  02-02-90  11:52:54
  57. WORDLIST.EXE    Counts frequencies of words       03-17-91  15:38:42
  58. ----            ------             ------  -----
  59. 0009            267728             160850   40%
  60.  
  61.  
  62.  
  63. RELEASE NOTES FOR TSPELL
  64. ========================
  65.  
  66. Release 1.2:
  67.  If a file is not found, the user can invoke the directory from
  68. within the programs. The directory routine has been rewritten for a
  69. more relaxed syntax.
  70.  
  71. Release 1.3:
  72.  Some routines of the programs have been optimized for speed. The
  73. programs are now about twice as fast as in the first release.
  74.  
  75. Release 1.4:
  76.  The speed has been further increased in 1.4, and the potential out
  77. of memory condition is now tested the first thing.
  78.  
  79. Release 1.5:
  80.  A new program SPELMERG.EXE has been added for fast merging of
  81. dictionaries.
  82.  
  83. Release 1.6:
  84.  Release 1.6 means a major update for the main program SPELLER.EXE.
  85. It now has an inbuilt help. The help is invoked by entering ? at any
  86. question made by the program. Also, the dictionary in memory can now
  87. be updated immediately upon encountering new words in the text file.
  88. It is now also possible to omit checking short words. The details of
  89. the new options need not be documented here, since they are best
  90. learned by using the ? help.
  91.  The error causing SPELLED.EXE to hang in iterated use, has been
  92. corrected. For those in the know: the pointers were released
  93. prematurely.
  94.  The maximum capacity of WORDLIST.EXE has been increased from 3000
  95. to 3100 words. A wordlist program BGWRDLST.EXE with a capacity of
  96. 12500 ordered words is being tested. A second computer and business
  97. economics oriented dictionary SPELLBIG.DNY is under preparation.
  98. BGWRDLST.EXE and SPELLBIG.DNY will part of a different archive for
  99. registered users (having the potential of using up to 22800 word
  100. dictionaries instead of the 9000 in PD).
  101.  A sample run has been added to the end of this document.
  102.  
  103. Release 1.7:
  104.  The screen of SPELLER.EXE has been made larger in order to display
  105. more text at a time.
  106.  WORDLIST.EXE now also displays the size the source text file.
  107.  
  108. Release 1.8:
  109.  The programs have been recompiled with Turbo Pascal 5.0, and they
  110. now can handle read-only files when appropriate.
  111.  
  112. Release 1.9:
  113.  SPELLER and SPELLED have again been made faster. This has been
  114. achieved as follows. The two programs work by loading the dictionary
  115. in memory. Since there is a 64K limit for arrays in Turbo Pascal 4.0
  116. and 5.0, the dictionary was divided into several parts in the
  117. earlier versions, although this is invisible to the user. The new
  118. releases utilize the huge array routines of Turbo Professional 5.0
  119. of TurboPower Software, which partly use fast inline code. In fact
  120. there are virtually (pardon the pun for the initiated) no immediate
  121. technical limits to the potential size of the dictionary (although a
  122. strict limit has been imposed in this set).
  123.  
  124. Release 2.0:
  125.  The spelling checker SPELLER can optionally made to scroll one line
  126. at time besides scrolling a whole page of the text to be checked.
  127. Scrolling by one line is invoked by pressing return (or enter or
  128. whatever it is called on your system), and scrolling the whole page
  129. by pressing the space bar. (Users having Unix experience will find
  130. this feature very familiar.) This feature is also included in the
  131. WORDLIST program.
  132.  SPELLED, SPELMERG, and WORDLIST have added safeguards against disk
  133. full situations.
  134.  
  135. Release 2.1:
  136.  This release enhances the WORDLIST program for extracting all the
  137. words of a text file and calculating the frequency of each word: The
  138. capacity of the program has been increased from handling of 3100
  139. *different* words to 8000 different words, and the maximum length of
  140. a word has been increased from 20 to 25 characters. (This was
  141. achieved by using the so-called huge vectors.) The program has been
  142. made more multi-lingual. It now recognizes all the upper ascii
  143. Scandinavian, German, and French characters.
  144.  As a minor enhancement WORDLIST, SPELLER, SPELLED, and SPELMERG
  145. directory routines and help screen redirection have been upgraded.
  146.  
  147. Release 2.2:
  148.   Weeded out some incorrect words from the SPELLED.DNY dictionary.
  149. My thanks are due to Mr. Hannu Hirvonen for his help in doing this.
  150.   Introduced line-editing and input recall. This means e.g. that if
  151. you make an error in giving the dictionary name, you can invoke your
  152. input again next time at the same question simply by pressing the
  153. CrUp key. You can edit what you have written by applying the cursor
  154. keys, BackSpace, Delete, Insert, and Esc keys. Try it. It is very
  155. convenient. I use it constantly myself. This improvement has been
  156. made to all the programs in this set.
  157.  
  158. Release 2.3:
  159.   This update brings a very significant increase in the speed of the
  160. dictionary editor SPELLED. The increase is of an order of as much as
  161. five times the earlier speed. One telling weakness of SPELLED has
  162. been that updating the dictionary is slow. This is because the
  163. alphabetical order of the dictionary must be retained when new words
  164. are added, or old ones deleted. For each new word a slot must first
  165. be made by moving all the words above it up one notch. Since MsDos
  166. arrays are limited to 64K, this means very much load on the program,
  167. because a huge array system must be used within the program code
  168. (unseen by the user). Starting from release 1.9 of TSPELL I have
  169. used the huge array management in Turbo Professional by TurboPower
  170. Software, but now I have replaced it with my own huge array
  171. management code, which is very much faster. One of the reasons is
  172. that TurboPower's code is general. It is written for any variable
  173. type, and has no size limits except the available memory. The code I
  174. have now used is a double pointer system adapted for strings in
  175. particular, and in this technique the size of an array is limited to
  176. 16383 rows, and as many columns. In practice this means, that the
  177. maximum number of words that the dictionary may hold is 16383. At
  178. the face of it this seems a severe limitation, but, in fact, it is
  179. not. I have noticed that if one builds the dictionary for one's own
  180. purposes, a vocabulary of 10000-12000 words is quite enough. There
  181. is a huge amount of slack in the generic vocabularies, and still
  182. they often do not fulfil the user's specific needs. And the
  183. distributed PD version of the spelling checker is limited to 9000
  184. words, anyway. A 22800 word version of SPELLER will still exist, but
  185. it is not (nor has been) released to Public Domain.
  186.   There is also another, slight price to pay for the change of the
  187. technique. At the beginning of the program a brief spell (pardon the
  188. pun) is taken to build up the pointer system for the dynamic memory.
  189.   I cannot be really sure, but it seems to me that old huge array
  190. technique may have been a source of an occasional crash of the
  191. system. In writing programs with pointer arrays I have noticed that
  192. if they are not controlled very accurately, they cause unexpected
  193. behavior. This is natural, since a "wild" pointer may point to
  194. anywhere in memory potentially changing it.
  195.   I have made the same change of technique in the spelling checker.
  196. SPELLER was fast to begin with, and in just checking text the
  197. difference does not really matter, even if it is there. SPELLER was
  198. very fast already. But if you choose to update the dictionary
  199. immediately with new words as you proceed, then the difference is
  200. significant. If you choose to store new words as you check a text,
  201. they are written in a file called dict.tmp on the default device.
  202.   If you break out of SPELLER (ctrl-c or break) the temporary file
  203. is now properly closed. Earlier it was left with zero length in case
  204. of a break-out.
  205.   A few words about the original TSPELL philosophy. I made the
  206. spelling checker screen oriented on purpose. There are so many
  207. spelling checkers which make a list of the incorrectly spelled words
  208. (or rather words that aren't found in the dictionary), that I
  209. decided rather to complement them with the screen orientation than
  210. to write yet another conventional checker. If you use a Unix system,
  211. Unix spell command is a good example of a list oriented spelling
  212. checker. On a fast machine it is very nice to use.
  213.  
  214. Release 2.4:
  215.   The WORDLIST:EXS program (v2.2) now includes the option of giving
  216. the input and output files already in the program call as e.g.
  217.       WORDLIST /iMYTEXT.TXT /oMYLIST.LOG
  218. When WORDLIST asks for the file names you can recall them simply by
  219. pressing the CursorUp key. Very convenient if you wish to examine
  220. the same file repeatedly (assuming, of course, that you have a
  221. command line editor, such as dosedit or ced).
  222.   SPELLER.EXE, SPELLED.EXE, and SPELMERG.EXE have some minor
  223. refinements, not worth listing.
  224.   I have now also released another spelling checking package which
  225. uses the Unix-like method.  That is, it makes an alphabetical list
  226. of words which it cannot find in the dictionary. It is available as
  227. /pc/ts/tschek10.arc (or whatever version number is the latest).
  228.  
  229.  
  230. ----------
  231. Timo Salmi Spelling checking system release 2.4 (TSPELL24)
  232. *          *****                            * *
  233. includes the following programs and files:
  234.  
  235. SPELLER.EXE  (Ver. 2.4)  Spelling checker
  236. =======================
  237.  
  238.    SPELLER is a spelling checker that can be applied on ordinary
  239. text files.
  240.    If you are using a wordprocessor, see its documentation for the
  241. possibility of producing standard ascii format text. If you are
  242. using an editor, there is probably no need for any adjustments of
  243. the text.
  244.    SPELLER needs a dictionary, such as SPELLED.DNY, which it loads
  245. into memory. Thus, different dictionaries might be used for
  246. different kinds of texts.
  247.    SPELLED shows in reverse the words which it cannot find in the
  248. dictionary loaded. You have the option of selective storing these
  249. unknown words into a temporary file DICT.TMP. The option is invoked
  250. by answering Y(es) to the question of pausing at unknown words.
  251.    The accompanying program SPELLED (SPELLing EDitor) can be used
  252. to enter new words into dictionaries. The new words can optionally
  253. be entered from a file, such as DICT.TMP.
  254.    To suppress the beeps at program warnings, and unknown words,
  255. apply the call SPELLER Q(uiet)
  256.  
  257.  
  258. SPELLED (Ver. 2.3)  Dictionary editor
  259. ==================
  260.  
  261.    SPELLED can be used to enter and delete words from the
  262. dictionaries for the spelling checker SPELLER.
  263.    The new words can optionally be entered from keyboard or file.
  264. If a file is used, it must abide by certain conventions. 1) It must
  265. have exactly one word per row. 2) The maximum word-length is 16.
  266. 3) The words must contain lowercase English alphabets only.
  267.    If you are customizing an old dictionary acquired from
  268. elsewhere, on top the the requirements above, it must be in strict
  269. alphabetical order. There is an option in SPELLED for testing the
  270. validity of a dictionary.
  271.    SPELLED and SPELLER hold the dictionary in memory. The size of
  272. the dictionary is limited to 22800 words. Although much larger
  273. spelling checkers are commercially available, active 6000 - 20000
  274. word dictionaries have turned out to be adequate in actual practice.
  275.    The public domain version of the Spelled System limits the
  276. maximum of SPELLER to 9000 words.
  277.    Updating a dictionary with SPELLED takes awhile, since the
  278. program has to preserve the alphabetical order at entering each
  279. new word. See SPELMERG (at the end of this document) for a fast
  280. alternative.
  281.  
  282.  
  283. SPELLED.DNY                         TSPELL.INF
  284.  
  285. A dictionary.                       This document.
  286.  
  287.  
  288. For more details of the Spelled Spelling Checking System, see the
  289. documentation commencing on page 4.
  290.  
  291.  
  292. WORDLIST (Ver 2.2)  Counts frequencies of words
  293. ==================
  294.  
  295. Usage:
  296. WORDLIST [/h] [/ixxx] [/oyyy]
  297.            │    │       └─ output file recall = yyy
  298.            │    └─ input file recall = xxx
  299.            └─ help
  300.  
  301.    While WORDLIST is not an actual component of the Spelled System,
  302. it is an offspring of the techniques used in Spelled.
  303.    WORDLIST list the words of a text file. The words can be listed
  304. either in alphabetical order with their frequencies, or as a list in
  305. the order of their appearance.
  306.    Output can be directed to a file, or to the screen by giving CON
  307. as the output file name.
  308.    The program works by scanning each row of the text file until it
  309. finds a letter, and then builds the word up until a character is
  310. found which does not belong to the set of letters, digits, or the
  311. set of ( -_#$%^ ), or until the end of line is encountered. Thus, no
  312. word in the original text should not be divided on two lines, since
  313. such a word would be considered two separate words. The following
  314. characters are considered letters a..z, å, ä, ö, é, ü, â, à, ç, ê,
  315. ë, è, ï, î, ì, ô, ò, û, ù, ÿ, á, í, ó, ú, ñ.
  316.    If the frequencies of the words in alphabetical order are
  317. requested, the maximum number of DIFFERENT words that the program
  318. can handle is 8000.
  319.    In counting the frequencies, any words longer than 25 characters
  320. are truncated.
  321.  
  322.  
  323. SPELLED Spelling Checking System by Timo Salmi
  324. ==============================================
  325.  
  326.    Before you do anything else, make backups of the dictionary
  327. SPELLED.DNY.
  328.  
  329.    Spelled is a system for checking spelling, and building up
  330. dictionaries. It contains the spelling checker SPELLER.EXE, a
  331. dictionary editor SPELLED.EXE, this description TSPELL.DOC, and a
  332. dictionary SPELLED.DNY specialized towards business research
  333. terminology. At the date of preparing these instructions it
  334. contained 8498 words.
  335.  
  336.  
  337. Checking Spelling
  338.  
  339.    SPELLER.EXE is the spelling checker. It can be applied on
  340. ordinary text files. Word-processor files might be checked with
  341. SPELLER, but it is advisable first to convert them into ordinary
  342. text files, and then apply SPELLER on the resultant file. See the
  343. documentation of your word processor for more details.
  344.    SPELLER first loads the vocabulary from the dictionary of your
  345. choice. Then it asks for the file to be checked for spelling.
  346. SPELLER highlights the words it cannot find in the dictionary in
  347. reverse on the screen.
  348.    Scrolling can be controlled by answering Y(es) to "PAUSE AT FULL
  349. SCREEN".
  350.    Checking spelling is case-independent. Thus, there is no
  351. difference e.g. between England, england, or ENGLAND. Hyphenated
  352. words are considered two separate words (e.g. well-known). Thus,
  353. strange combinations-of-words can be passed undetected (this is a
  354. general feature of spelling checkers). Another peculiarity of
  355. SPELLER, as well as most spelling checkers, is that 's-genitives are
  356. shown as errors (unless the letter s is included in the dictionary,
  357. which is NOT advisable).
  358.    SPELLER provides the possibility of choosing the dictionary.
  359. Thus, different dictionaries might be used for different purposes.
  360. The dictionary SPELLED.DNY accompanying SPELLER is specialized
  361. toward business research. You can build it up yourself, acquire a
  362. common dictionary from elsewhere, or even start from scratch.
  363.    SPELLER has an option for building up a dictionary. If the option
  364. "UPDATE DICTIONARY: PAUSE AT UNKNOWN WORDS" is chosen, you have the
  365. choice of entering the highlighted word by pressing SHIFT + F4. The
  366. chosen words are not entered into the original dictionary directly,
  367. but into an auxiliary file DICT.TMP. This method protects the
  368. original dictionary, and allows further cross-checking. DICT.TMP
  369. will be on the default device.
  370.    After exiting SPELLER you can use SPELLED to merge the new words
  371. into your original dictionary. At that stage you still have the
  372. possibility of changing your mind, and the possibility of selective
  373. deleting of undesirable words.
  374.    Needless to say that you should carefully keep appropriate
  375. backups, if you are going to manipulate your original dictionary.
  376. Note that the next time that you exercise the option of storing
  377. words directly from SPELLER, the old DICT.TMP will be written over.
  378.    The words in the dictionary can be up to 16 characters in length.
  379. There is no limitation on the size of the text file to be checked
  380. for spelling, although it is more convenient to keep the file size
  381. within reasonable limits. FILEPAGE or FILECUT in TSFCOM.ARC can be
  382. used for an automatic slicing of a text file into smaller
  383. constituents.
  384.  
  385.  
  386. Spelling Editor
  387.  
  388.    SPELLED.EXE is a spelling editor for entering new words and/or
  389. deleting selected old words from dictionaries. The new words can
  390. optionally be entered from keyboard or file. The words will be taken
  391. from file if you answer N(o) to the question "ENTER FROM KEYBOARD".
  392. The program then prompts you for the file name. If a file is used,
  393. it should contain exactly one word per row.
  394.    SPELLER automatically sees to it that the update file DICT.TMP
  395. will conform to the right format.
  396.    The name of a dictionary file should preferably have the
  397. extension .dny.
  398.    Entering new words and deleting old ones in the dictionary is a
  399. slow process, especially if the words are in the beginning of the
  400. alphabet. This results from the need of shifting the upper half to
  401. the stack of words in order to make room for the new word in the
  402. appropriate slot dictated by the alphabetical order of the
  403. dictionary.
  404.    The old version of the dictionary is automatically backed up
  405. (with the extension .bck). Make ABSOLUTELY sure that there is enough
  406. space available on your dictionary device. Else you might even lose
  407. your dictionary!
  408.    If you are customizing a dictionary acquired from elsewhere, the
  409. format must strictly be the following. English alphabet in ascii, no
  410. capital letters or special characters, exactly one word per line,
  411. alphabetical order with no exceptions, no empty lines, and a
  412. carriage return even at the end of the last line.
  413.    The same rules apply if you use some other editor than SPELLED to
  414. enter or remove words.
  415.    You can use an option in SPELLED and SPELLER to confirm the
  416. acceptability of a dictionary. If you use or edit a dictionary that
  417. is not valid, the consequences are unpredictable.
  418.  
  419.  
  420. General
  421.  
  422.    Remember that spelling checkers are just mechanical devices,
  423. which look if they find a word in the dictionary. They do not in any
  424. way check the logic of the text, and they certainly do not
  425. substitute careful writing. Also be particularly careful when
  426. entering exotic new words into dictionaries, since any spelling
  427. misunderstandings will remain.
  428.    A spelling checker draws your attention to words, which are not
  429. in the dictionary. Since dictionaries (however large) do not contain
  430. all the possible correct words, you have to decide yourself whether
  431. a reversed word is misspelled or just missing. When you understand
  432. this principle, you can get by even with a small, carefully edited
  433. dictionaries. Small dictionaries have the advantage of being fast to
  434. use, and easier to get and update.
  435.  
  436.  
  437. TIPS AND HINTS
  438. ==============
  439.  
  440.    Each user will have his/her own preferred arrangements in using
  441. wordprocessing and checking spelling. Find below some advanced tips
  442. and hints grown out of experience in using the Spelled System:
  443.  
  444.  
  445. Utilizing Ramdisk
  446.  
  447.    It is often convenient to transfer at least the dictionary to
  448. ramdisk, especially during long sessions of wordprocessing. This has
  449. the added bonus of protecting your original dictionary if you enter
  450. new words. You must, however, remember to copy the changed
  451. dictionary back from ramdisk before disconnecting your computer. As
  452. a further advantage the dictionary loads faster from the ramdisk.
  453. (On a 386 it does not make much difference, though.)
  454.    You can even prepare a suitable (.bat) batch to perform the
  455. copying operations.
  456.  
  457.  
  458. Entering New Words into the Dictionary
  459.  
  460.    There obviously are several options for entering new words into a
  461. dictionary. The following method is far from the most direct
  462. available in using the Spelled System, but it is safe, and
  463. relatively easy once one gets the hang of it.
  464.    1) Use the option in SPELLER to enter new words to DICT.TMP
  465.       with SHIFT + F4.
  466.    2) Prepare an empty auxiliary dictionary AUXIL.DNY, or
  467.       start with an AUXIL.DNY with just the word "a" in it
  468.       (see below).
  469.    3) Run SPELLED to enter the words from DICT.TMP to
  470.       AUXIL.DNY.
  471.    4) List the words in AUXIL.DNY on the screen and make sure
  472.       that there are no misspelled words.
  473.    5) If necessary, run SPELLED again to enter the corrected
  474.       words, and to remove the misspelled versions.
  475.    6) Finally, run SPELLED again to enter words from AUXIL.DNY
  476.       to your main dictionary (e.g. SPELLED.DNY).
  477. You can, or course, take a risk, and omit using AUXIL.DNY altogether
  478. and enter the wordlist in DICT.TMP directly to SPELLED.DNY with
  479. SPELLED. Naturally, if you know in advance that there are no
  480. mistakes in your text, this is the quickest way of building up a
  481. dictionary.
  482.    Experience has shown that it is convenient to gather about a
  483. hundred words into the AUXIL.DNY file before cross-checking it, and
  484. merging it into the main dictionary.
  485.    Since a non-existent dictionary cannot be edited, you have to
  486. start with a file with preferably one word in it. If you build up a
  487. dictionary from scratch, you can provide the seed "a" as the seed in
  488. the file. The most simple method of creating such a file is entering
  489. the following MS-DOS commands (each terminated by a return).
  490.  
  491.                 copy com auxil.dny
  492.                 a
  493.                 Ctrl Z
  494.  
  495.  
  496. Sinclair QL
  497.  
  498.    The full version of the Spelled system is also available for the
  499. Sinclair QL from the Microdrive Exchange of The Sinclair QL World
  500. magazine. (But who cares about that any more. I don't.)
  501.  
  502.  
  503. Technical Curiosities
  504.  
  505.    The Spelled System was first programmed by the author in
  506. Turbo-charged SuperBASIC for the ill-fated Sinclair QL. Later, it
  507. was converted into VAX-Pascal for the author's own research needs.
  508. The I/O operations of standard Pascal are, however, painstakingly
  509. slow. (No wonder Pascal is so adamantly imposed in universities on
  510. students whatever their field.)
  511.    The current versions of SPELLED and SPELLER are Turbo Pascal 4.0
  512. (now 5.0) offsprings of those programs. The "trick" in the programs
  513. was getting around the 64K limit in loading the dictionary into
  514. memory, and performing a fast binary search of each word in a
  515. dictionary fragmented in 64K chunks. This was not as
  516. straight-forward as might have been expected from the advance
  517. publicity of Turbo Pascal 4.0 (which is an excellent programming
  518. tool, even for the pre-historic 16-bit-like MS-DOS environment).
  519.  
  520.  
  521. SPELMERG (Ver 1.6)  Fast merging of dictionaries
  522. ==================
  523.  
  524.    SPELling dictionary MERGer is a new addition to the TSPELL
  525. system, first appearing in Release 1.5.
  526.    SPELMERG can be used to merge new words into a dictionary, or to
  527. merge existing dictionaries.
  528.    The dictionaries MUST be in strict alphabetical order, and in
  529. lower case, and so on. SPELMERG checks for the potential errors.
  530.    You can use the option in SPELLED or SPELLER for testing the
  531. validity of the material to be merged, in advance. If you are
  532. merging DICT.TMP into your dictionary, you must apply SPELLED first
  533. on it to guarantee the compatibility.
  534.    SPELLED and SPELLER hold the dictionary in memory. The size of
  535. their dictionaries is limited to 22800 words. There are no program
  536. dependent limits for SPELMERG.
  537.  
  538.  
  539. A SAMPLE RUN:
  540. ============
  541.  
  542. SPELLing checkER, Ver 1.6 PD, Copyright (c) by Professor Timo Salmi
  543. Address: University of Vaasa, P.O. BOX 297, SF-65101 Vaasa, Finland    3-Sep-88
  544. ═══════════════════════════════════════════════════════════════════════════════
  545. STACK AVAILABLE: 386400, REQUIRED: 153000
  546. ╔═══════════════════════════════════════════╗
  547. ║ Enter ? for information on any item below ║
  548. ╚═══════════════════════════════════════════╝
  549. NAME OF DICTIONARY? ?
  550.   SPELLER works as follows. It reads your text file word by word, and checks
  551. for each word whether it is in the dictionary. If it is, the text is written
  552. on the screen in a normal fashion, but if not, the missing word is written in
  553. reverse color.
  554.   Here you must give the name of the dictionary you want to apply. SPELLED.DNY
  555. is the dictionary accompanying SPELLER. Enter SPELLED.DNY here, if you do not
  556. have a special dictionary of your own, or the alternative dictionary for the
  557. registered users.
  558.   The format of user's own dictionary must abide by certain rules, like strict
  559. alphabetical order, lower-case letters, and so on as explained in TSPELL.INF
  560. The maximum number of words that will be loaded from a dictionary is 22800.
  561. This public domain version is, however, limited to 9000 words.
  562. NAME OF DICTIONARY? spelled.dny
  563. CHECK DICTIONARY (N,y)? ?
  564. Checks whether the dictionary is in the required format. You should always
  565. answer Y to this option when applying a new or a changed dictionary for the
  566. first time. If you fail to do this, and the dictionary is invalid, the results
  567. are highly unpredictable.
  568. CHECK DICTIONARY (N,y)? y
  569. WAIT... LOADING AND CHECKING DICTIONARY spelled.dny
  570. 1 2 3 4 5 6 7 8
  571. NO FATAL ERRORS IN DICTIONARY, LOADED 8498 WORDS
  572. UPDATE DICTIONARY: PAUSE AT UNKNOWN WORDS (N,y)? ?
  573.   If you answer Y to this question, the program pauses at each unknown word.
  574. You can then enter this word into DICT.TMP file by pressing SHIFT F4, or
  575. continue without entering the word by pressing the Spacebar or the Return key
  576. (sometimes labelled the Enter key). The options available will be shown at the
  577. bottom of the screen when the checking commences.
  578.   Note that the dictionary will not be altered by this option. (You have to
  579. apply SPELLED.EXE or SPELMERG.EXE for that.)
  580. UPDATE DICTIONARY: PAUSE AT UNKNOWN WORDS (N,y)? y
  581. IMMEDIATE TEMPORARY UPDATE OF NEW WORDS [slows it down!] (N,y)? ?
  582.   If you answer Y to this question, the program will temporarily update the
  583. dictionary immediately each time you enter a word into the DICT.TMP file by
  584. pressing SHIFT F4.
  585.   There also is a special option SHIFT F9 which will update the dictionary in
  586. memory, but not write the new word into the DICT.TMP file.
  587.   Note that answering Y to this option slows the program considerably, since
  588. updating an alphabetically ordered dictionary requires a lot of processing.
  589.   The effect of the update stays in memory until the program is terminated.
  590. The original dictionary on the disk is not changed in any way by this option.
  591. IMMEDIATE TEMPORARY UPDATE OF NEW WORDS [slows it down!] (N,y)? y
  592. Not available in the public domain version
  593. IMMEDIATE TEMPORARY UPDATE OF NEW WORDS [slows it down!] (N,y)? n
  594. OPENED a:\dict.tmp FOR UPDATES
  595. If removable, do not remove disk from drive A: until exit from speller
  596. NAME OF TEXT-FILE? b:tsutil.inf
  597. OMIT CHECKING WORDS SHORTER THAN [1-16] (default=1)? ?
  598.   This option gives you the alternative of not checking words shorter than
  599. your choice. If you want to check all words regardless of their length (the
  600. default), just press Enter.
  601.   For example, if you want to omit checking words of one and two characters,
  602. enter 3 (and so on). You will soon notice that the most convenient value
  603. depends on the type of text you are checking.
  604. OMIT CHECKING WORDS SHORTER THAN [1-16] (default=1)? 4
  605. OUT OF BOUNDS
  606. In the public domain version the maximum is 2
  607. OMIT CHECKING WORDS SHORTER THAN [1-16] (default=1)? 2
  608. PAUSE AT FULL SCREEN (N,y)? ?
  609. The item is self-explanatory.
  610. PAUSE AT FULL SCREEN (N,y)? n
  611.  
  612. ...  the program checks the spelling ...
  613.  
  614. CHECK ANOTHER TEXT FILE (n,y)? ?
  615. The item is self-explanatory.
  616. CHECK ANOTHER TEXT FILE (n,y)? n
  617.  
  618.  DATE: Sat-3-September-1988 10:18:58   ELAPSED: 00:09:13.13
  619.  
  620. A:\ >
  621.  
  622.  
  623.  
  624. The Famous Last Words
  625.  
  626.    This document has been checked with SPELLER. No speling mistooks can
  627. posibly remain.
  628.