AU8275987A - Spelling check module for eliminating undesired data from computerized dictionary - Google Patents

Spelling check module for eliminating undesired data from computerized dictionary

Info

Publication number
AU8275987A
AU8275987A AU82759/87A AU8275987A AU8275987A AU 8275987 A AU8275987 A AU 8275987A AU 82759/87 A AU82759/87 A AU 82759/87A AU 8275987 A AU8275987 A AU 8275987A AU 8275987 A AU8275987 A AU 8275987A
Authority
AU
Australia
Prior art keywords
word
detected
data
spelling
typed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
AU82759/87A
Inventor
Kenneth J. Henderson
Ronald M. Kaplan
Michael A. McCourt
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ufo Systems Inc
Microlytics Inc
Xerox Corp
Original Assignee
UFO SYSTEMS Inc
Microlytics Inc
Xerox Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US06/921,665 external-priority patent/US4762572A/en
Application filed by UFO SYSTEMS Inc, Microlytics Inc, Xerox Corp filed Critical UFO SYSTEMS Inc
Publication of AU8275987A publication Critical patent/AU8275987A/en
Abandoned legal-status Critical Current

Links

Description

- \-
SPELLING CHECK MODULE FOR ELIMINATING UNDESIRED DATA FROM COMPUTERIZED DICTIONARY
FIELD OF THE INVENTION
This invention relates to spelling check techniques incorporated in apparatus for use in or in conjunction with an electronic typewriter or personal computer.
Spelling check techniques are well known. For example, see U.S. Patent 4,136,395; U.S. Patent 3,995,254; U.S. Patent 4,498,148; U.S. Patent 4,355,302; U.S. Patent 4,400,828; U.S. patent 4,010,445 and U.S. patent 4^383,307, which relate to the general problem of checking the spelling of the words in a document which is stored in electronic form as a series of digital codes representing characters and keystrokes. Also see U.S. Patent 4,580,241; U.S. Patent
4,503,514; U.S. Patent 4,342,085; U.S. Patent 4,355,371 and U.S. Patent 4,328,561, as well as the publications "The Use Of Trigram Analysis For Spelling Error Detection" published in Information and Processing Management, Vol. 17 No. 6, pages 305-316, 1981 by Pergamon Press Limited, Great Britain; "Collection And Characterization Of Spelling Errors In Scientific And Scholarly Text" published in The Journal of the American Society for Information Science 34(1): 51-58; 1983 by John Wiley and Sons, Inc. and "Automatic Spelling Error Detection And Correction In Textual Data Bases" published in Information Interaction; Proceedings of the 45th ASIS Annual meeting, Vol. 19, 1982, which describe various techniques for compressing the stored dictionary data of correctly spelled words so as to reduce the size of the memory required to store the dictionary, and also describe a variety of techniques for reducing the time required to search for a word in the dictionary in order to perform a spelling check, thereby improving the system speed.
Known spelling check techniques are typically suitable for use in a computer, such as a personal computer (PC) where memory space and computing power is available. In such case, the spelling checker consists of an additional application control program plus a stored dictionary of correctly spelled words which can be used in conjunction with a word processing program without adding any hardware overhead to the personal computer. However, an addition program is required which increases memory usage and slows down the operation of the resident word processing program when used with a real time spelling check application program. In contrast, an electronic typewriter, which may have some features such as limited text memory and document editing, typically does not have either a general* purpose computer nor the additional memory space to support a spelling check application program.
Therefore, in order to spell check a document in an electronic typewriter, it is necessary to include specifically dedicated hardware and software. For example, see European Patent
Application Publication No. EP 0097818 A2 which describes a typewriter incorporating special hardware and software to provide a spelling check feature. However, many electronic typewriters do not have a spelling check capability incorporated as part of the original design. The present invention is directed towards a means for adding spelling check capability to an electronic typewriter or PC word processing application without substantial modification. SUMMARY OP THE INVENTION A personal dictionary to which both positive and negative versions of dictionary words can be added by the user is incorporated in a computerized spelling checker to supplement a dictionary supplied in read-only memory (ROM) to customize it to the application. For words vvhich are not in a permanent dictionary in the spelling checker, the user can add a ""positive" version of the word to the personal dictionary. In such event, when the spelling checker detects the added word, it will treat the word as being spelled correctly .
Moreover, words which are in the pre-supplied , permanent dictionary may nevertheless be spelled in a way which is not desired by the user. In accordance with the present invention, the user -is provided with the • ability to, in effect, eliminate the undesired spelling data from the permanent dictionary.
Although it is not feasible to make any changes to the spelling data in ROM, the present invention provides this result by permitting the operator to add a "negative" version of such word to the personal dictionary. In this event, the spelling checker will treat the word as being misspelled even though it is found in the permanent dictionary of presumably correctly spelled words. The present invention may preferably be embodied in a spelling check module which can be installed in any electronic typewriter or PC of the type which has a keyboard and a data processor interconnected by a respective keyboard connector and a data processor connector. The spelling check module of the present invention includes male and female connectors which are arranged to receive the keyboard connector and data processor connectors. The spelling check module is installed by disconnecting the keyboard connector from the data processor connector and interposing the spelling check module therebetween by connecting the keyboard connector and the data processor connector to the mating connectors of the spelling check module. Therefore, an electronic typewriter which otherwise has no provision in its original design to include a spelling check feature, can be easily upgraded by the user to include such feature without substantial modification to the original unit. Furthermore, in the case where a PC is used as a word processor, text entry device, electronic mail or telex terminal, or for any other application where the entry of known words and phrases is incorporated, and the keyboard is separate and detachable from the. data processor
(such as in the IBM PC), the spelling check module can be externally installed in the circuit between the keyboard and the data processor. Thus, the user can easily upgrade the PC to include a real time spelling check feature without any additional programs or memory usage and without any modification to the keyboard or the data processor unit.
DESCRIPTION OF THE DRAWINGS Figure 1 s an isometric view of a spelling check module in accordance with the present invention.
Figure 2 is a cross sectional view of an electronic typewriter including a spelling check module installed in accordance with the present inven t i on .
Figures 3 and 4 are a schematic diagram of a spelling check module in accordance with the present invention. Figures 5 and 6 are a programming flow chart for the microprocessor U3 of Figure 3 in accordance with the present invention.
Figure 7 is an isometric view of a spelling check module in accordance with the present invention for use in conjunction with a personal computer .
Figure 8 is an isometric view of a personal computer including a spelling check module installed in accordance with the present invention. Figures 9, 10, 11 and 12 are a schematic diagram of a spelling check module for use in conjunction with a personal computer in accordance with the present invention.
Figure 13 is a table of flexible environment keys used to program control keys for a spelling check module in accordance with the present invention for use with a personal computer.
Figure 14 is a table of change command codes to alter the control keys of a spelling check module in accordance with the present invention for use with a personal computer.
DETAILED DESCRIPTION The spelling check module 10 in Figure 1 comprises a housing 16, a first connector 12, a second connector 18 which is connected by cable 14 to the spelling check module through an opening in the housing 16. A grounding cable assembly includes a first grounding clip 20 connected to a second grounding clip 24 through'a conductor 22. Figure 2 shows the spelling check module 10 installed in an electronic typewriter 30. The electronic typewriter 30 includes a data processing section 36 having a cable 34 terminated by a data processor connector 32.- The electronic typewriter 30 also includes a keyboard 26 having a keyboard connector 28 for transmitting keystroke data and bi-directional control signals. Prior to the installation of the spelling check module of the present invention, the data processor connector 32 is mated with the keyboard connector 28 for normal operation. Keystrokes generated at keyboard 26 are transmitted as digital codes through connector 28 to connector 32 along cable 34 to the data processor electronics 36. To install the spelling check module 10, connector 32 is disengaged from connector 28. The housing 16 is placed inside the electronic typewriter 30, connector 32 is mated with connector 12 , connector 18 is mated with connector 28, and the grounding clip assembly 20, 22 and 24 Is placed so as to engage cable 14 and cable 34. * Thus installed, the spelling check module of the present invention will enable an -ordinary electronic typewriter to check the spelling of the words as they are typed.
A schematic diagram of the circuitry of the spelling check module is shown in Figures 3 and 4. Each integrated circuit is shown with external pin numbers for each conductor adjacent to the functional designation for such conductor. The microprocessor U3 is a one-chip microcontroller such as the type 8031 microprocessor available from Intel Corporation, Santa Clara, California. The microprocessor U3 is connected by suitable address^ and data busses to a read-only memory (RCM) comprising integrated circuits U4 and U5 , each of which stores 256K bits of compressed dictionary storage and the control program. Integrated circuits U4 and U5 may be type 27256 available from Intel Corporation. Also connected to the system address and data busses is a 64K-bit CMOS random-access memory (RAM) U6 , such as type UPD4464 which is provided to store entries into the personal dictionary of the spelling check module. A battery backup (not shown) is provided to RAM U6 to prevent loss of personal dictionary storage when power is removed from the spelling check module. An 8-bit data latch U8 is provided to hold the digital code representing the current typed keystroke. A second 8-bit data latch U9- is used to hold the lower 8 bits of the memory system address. Integrated circuit U9 may be type " 74HCT373 integrated circuits; U8 may be type 74HCT374. A bi-directional 8-bit data bus 101 connects the 8 individual data bits, ADO through AD7 , between microprocessor U3 and corresponding data bits from the ROM memory U4 , U5 , to and from the RAM memory U6 , and to the address latch U9. Also, a 16-bit address bus 103 interconnects the microprocessor U3 to the ROM U4 , U5 and RAM U6 memories. Specifically, address bits A0 through A14 of latch U9 and microprocessor U3 are connected to corresponding pins A0 through A14 of ROM U4 and ROM U5. Address bit A15 which is generated on pin 28 of microprocessor U3 , is connected to the CE input, pin 20 of U4 , and the input to inverter U16. The output of inverter U16 is the inverted bit A15 and is connected to the CE input, pin 20 of ROM U5. Thus, the CE inputs function as the highest order address bit to select the upper or lower 256K bits of ROM memory.
The lower 8 bits of the address bus 103, ADO through AD7 , are the outputs 1Q through 8Q respectively from latch U9. The output OE pin 1 of U9 is connected to ground potential. The eight-bit input, ID through 7D of the latch U9 is the data bits ADO through AD7 respectively of the data bus 101. The ALE signal on p-in 30 of microprocessor U3 causes the data bits ADO through AD7 from the data buss 101 to be stored in latch U9 as the lower 8 bits A0 through A7 to the address bus 103. The address bits A8 through A14 on address bus 103 are generated by microprocessor U3. The RAM memory U6 receives only the lower 13 bits A0 through A12 of the address bus 103 on corresponding address input pins.
Control of the microprocessor memory RAM U6 and ROM U4, U5 is provided by the RD, WR, and PSEN control lines on pins 17, 16 and 29,- respectively of microprocessor U3. The PSEN signal is applied to the OE inputs (pin 22) of ROM U4 and ROM U5 which active state determines when a ROM memory access will occur. The PSEN control line is not active when the RAM memory is being selected. In such event, one of the WR or RD lines is active depending upon whether the operation is a write or a read operation. NAND gate U21 and NAND gate U22 provide a CS signal to pin 20 of RAM U6 which selects the RAM whenever there is either a read or a write operation being performed. The WR and the RD control lines are also connected to the WE pin 27 and the OE pin 22, respectively of RAM U6 to select either a write or a read operation respectively. As indicated above, the spelling check module of the present invention is inserted between the connector from the keyboard and the connector from the controller, or data processor, of the electronic typewriter. As can be seen in Figure 3, a straight-through connection between input connector 18 from the keyboard and output connector 12 to the controller is made for each individual respective pin on such connectors. Each keystroke from the keyboard is represented by an 8-bit code on key 0 through key 7. An 8-bit bus 105 connects the key 0 through key 7 pins to the respective 8-bit data input ID through 8D to latch U8. Three individual signals (A0 , NCS, and NRD) on pin 24, 16 and 22 respectively of connectors 18 and 12 are used to indicate the presence of a valid keystroke character on the keystroke data bus 105. Pins 24, 16 and 22 of the connectors 18 and 12 are connected to the input of inverters U14, U13 and U12, respectively. The outputs of U14, U13, and U12 are connected to the respective inputs of a three input NAND gate U23. The output of U23 is connected to the data strobe input pin 11 of latch U8. The OE pin 1 of latch U5 is connected to ground potential. The output of U23 is further connected to the input of inverter U15 , the output of inverter U15 is connected to the clock input of a flip-flop U7. The data input and the set input of flip-flop U7 are connected to the 5-volt supply. The inverted Q output of flip-flop U7 is connected to the interrupt line (INT 1) pin 13 of microprocessor U3. A second interrupt pin 12 is unused and is connected to the 5-volt supply. The reset input pin 1 of flip flop U7 is connected to an output of microprocessor U3 on pin 14-. The system reset signal on pin 21 of connectors U18 and U12 is connected through inverter Ul to the reset input of microprocessor U3 on pi'iϊ 9. The power source for the spelling check module is provided by the power available on the connectors 18 and 12. Speci ically, a 5-volt source is provided on pin 1, and a_9-volt source is provided on pin 26. A ground connection is provided on pins 3, 4, 20, and 25. A filter capacitor C3 for the 5-volt supply is connected between the 5-volt source and system ground. A 12 MHz crystal for system clock timing is provided between pins 18 and 19 of the microprocessor U3. Capacitors Cl and C2 are connected respectively between pins 19 and 18 of microprocessor U3 and system ground. A speaker SP1 is included for providing an audible beep to indicate the misspelling of a typed word. Output bit TI on pin 15 of microprocessor U3 is connected through resistor Rl to the base electrode of transistor Ql . The emitter of transistor Ql is connected to ground and the connector of transistor Ql is connected to one terminal of speaker SP1 , the other terminal of speaker SP1 being connected to the 9 volt power supply. A diode Dl is connected across the inductive coil of speaker SP1 to protect transistor Ql from adverse overvoltage conditions . In operation, keystrokes entered at the keyboard cause corresponding digital codes to appear on keystroke bus 105. At the same time, pins 24, 16 and 22 of connectors 18 and 12 will go low, providing all high inputs to NAND gate 23 from inverters U12 , U13 , and U14. The changing output of NAND gate U23 causes latch U5 to store the keystroke data, key 0 through key 7. The data output of latch U8 , key 0 through key 7, is input to the microprocessor through input P10 through P17, on pins 1 through 8 respectively. Also, the output of inverter U15 causes flip-flop U7 to go into a set condition. The Q output of flip-flop
U7 provides an interrupt to microprocessor U3 on
'pin 13. After the keystroke data is read by the microprocessor U3 , an acknowledge signal is provided on output pin 14 of microprocessor U3 to the R input of U7 which resets flip-flop U7. In such manner, the spelling check microprocessor U3 reads and acknowledges each keystroke provided between the keyboard connector 18 and the controller, or data processor connector 12 of the electronic typewriter. When a spelling error is detected, the microprocessor U3 provides an audio frequency signal on ouptut TI which is amplified in transistor Ql and applied to speaker SP1 which provides an audible indication to the operator. Thus, spell checking occurs in real time with audible feedback to the operator as each word is typed. Figures 5 and 6 show a flow chart of the control program performed by the microprocessor U3. It is desirable to control the spelling check module, and at the same time not adversely affect the operation of the PC or electronic typewriter. For this purpose, the spelling check module recognizes certain combinations of non-printing, non-control keys. A non-printing, non-control key means a key which will not result in a printed character nor which will result in a control function of the typewriter being activated. For example, in the Xerox Memorywriter model 620, there are left and right features keys which may be used together and in combination with the left and right shift keys to control the spelling check module and not interfere with the normal operation of the typewriter.
Upon power up, the microprocessor enters the mode previously stored at last power off. If as shown in Figure 5, while holding down the left features key, the operator presses and releases the right features key at step 70, the system will toggle between- on and off mode at step 38.
If the spell check module is in the on mode at step 40, the microprocessor then processes each successive keystroke at step 72. Alpha characters, i.e. the letters A through Z are detected at step 74 and accumulated in a word buffer, or register, at step 42. Also, a line buffer or register having a length equal to one type written line of type which is maintained in memory In order to permit back spacing to a previously typed word. Certain characters, such as auto repeat characters like the underline, and other special function keys such as tabs are ignored. The program re-enters at step 70 and checks the current mode at step 40 before processing the next keystroke at step 72.
The process continues until a word delimiter is encountered which indicates the entry of a completed word at step 44. In general, any printable non-alpha character such as a space, period, comma, quotation mark, asterisk, carriage return, etc., is a word delimiter and indicates the entry of a typed word. For example, any character other than A-Z, a-z, 0-9, /,\> or ' may be deemed a delimiter.. Various special conditions such as a hyphen followed by a carriage return indicates a continuation of a word to the next line. If certain special function keys such as "FIND" are pressed, the program does not spell check the resulting word. In general, techniques for identifying valid word delimiters in a written document are well known in the art. After a word delimiter has been detected in step 44, microprocessor U3 searches for the word in the personal dictionary storage of RAM U6 at step 46 (see Figure 6). If the word is not found in the personal dictionary, the microprocessor searches for the word in the ROM dictionary at step 48. Techniques for searching for a word in a stored dictionary, as well as techniques for providing compressed dictionary storage are also well known in the art. If the typed word was not .found in the personal dictionary or ROM dictionary at steps 46 and 48, an audible indication in the form of two beeps is provided at step 56. A pair of beeps indicates to the operator that the word is misspelled. The operator can then backspace to the misspelled word and edit the word or overtype the correct word, during which time the spelling check module will spell check the corrected word as outlined above, by comparing the pointer position in the device buffer to the keystrokes of the operator, and looking for delimiter characters. Alternatively, the operator may add the word in question to the personal dictionary.
If the word has been found during the search in the personal dictionary at step 46, then a check for a negative version (or negative correct spelling) of the word in the personal dictionary is performed at step 50. A single bit in the data storage format may be used for this purpose.
Alternatively, negative versions of words may be stored in the personal dictionary without the use of any additional storage bits used to differentiate between positive or negative correct spellings. The latter may be achieved by treating a word found In both the ROM dictionary Cat step 46) and also found in the personal dictionary (at step 50) as being a negative version of that word. Therefore, a word is correct if it is found in either the ROM dictionary or the personal dictionary, but not both.
A negative version of the word in the personal dictionary means that the word is to be indicated as misspelled even though it may be in the ROM dictionary. An example of such function is the word "color." In British and Canadian varieties of English, the correct spelling of the word is "colour". In such event, it would be desirable to have a negative version of the spelling "color" stored in the personal dictionary so that the if "color11 is typed by the operator, it would be indicated as a misspelled word. Generally, if a negative version of the word is found in the personal dictionary at step 50, a pair of beeps are generated at step 56.
If the operator desires to add a word not already in the ROM dictionary or the personal dictionary, either features key and the right shift key is pressed at step 58, Figure 5. Then, in Figure 6, the program verifies that the word is not in the personal dictionary at step 84 and causes a e ^ word in the form of positive correct spelling data to be added to the personal dictionary at step 60. If the word is already found in the personal dictionary at step 84, the program returns to the entry in Figure 5.
- If the operator desires to delete a .word, either features key and the left shift key is pressed at step 54. Then, in Figure 6, if the word is found in the personal dictionary at step 80, the word is deleted from the personal dictionary at step 52. If the word is not found in the personal dictionary at step 80, the word is deleted from the personal dictionary at step 52. If the word was not found in the personal dictionary at step 80, but was found in the ROM dictionary at step 82, then a negative entry, or negative correct spelling of the word, is entered into the personal dictionary at step 53. If the -word was not found in the personal dictionary or the ROM dictionary at steps 80 and 82, -no action is necessary, and the program returns to the entry in Figure 5.
Special codes are detected at step 76 and given special processing at step 78. For example, in the Xerox Memorywriter , 'if special codes for turning on communications are detected at step 76, then the spelling check module is turned off at step 78 so as not to confuse the operator by spell checking a communication sign on sequence. Similarly, by detecting the command for a macro at step 76, undesired beeping when a non-word is created as a macro, is avoided. Thus, by tailoring the special processing steps 76, 78, to the specific system environment, the spell check module can be tailored to optimally co-reside with the host. It therefore can be seen that a spelling check feature has b^een added to an electronic typewriter in accordance with the present invention simply by interposing a spelling check module between the keyboard connector and the data processor connector of an electronic typewriter, and that means have been provided to effectively eliminate certain spellings even though they have been entered in a permanent dictionary incorporated in the module. A spelling check module 10a suitable for use in conjunction with a PC is shown in Figure 7 and comprises a housing 16, a first connector PI, and a second connector P2.
Figure 8 shows the spelling check module 10a installed in a PC configuration 30a. The PC 30a includes a data processing section 36a. The PC 30a also includes a keyboard 26 having a keyboard cable 26a terminated by a keyboard connector 28 for transmitting keystroke data and bidirectional control signals. Prior to the installation of the spelling check module of the present invention, the data processor section 36a is mated with connector 28 for normal operation. Keystrokes generated at keyboard 26 are transmitted as digital codes through keyboard cable 26a and connector 28 to the data processor electronics 36a.
To install the spelling check module 10a, connector 28 is disengaged from the data processor section 36a and connected to connector PI of the spelling check module 10a. An additonal cable, 34a, connects the connector P2 of the spelling check module 10a through connector 34b to the data processing section 36a. Thus installed, the spelling check module 10a will enable a PC in con uction with an ordinary word processing progra to check the spelling of words as they are typed.
A schematic diagram of the circuitry of the spelling check module 10a is shown in Figure 9, 10, 11 and 12. The microprocessor U30 is a one chip microcontroller such as the type 80C31. The microprocessor U30 is connected by a suitable address and data bus (103 and 101 respectively) to a read-only memory space comprising a 512K-bit ROM, U40, and a 64K-blt "paging EPROM, U50. ROM U40 may be a type 27C512 integrated circuit, and EPROM U50 may be a type 27513 integrated circuit, both available from Intel Semiconductor Corporation. Also, as in the spelling check module for an electronic typewriter, a 64K-bit memory U6 , and address control logic comprising inverter U7A NAND gates U6A, U6C, and U6D, select the appropriate portion of the memory space based on address bit A15, pin 28 of U30 and the PSEN, WR, and RD control lines on pin 29, 16, and 17 respectively of microprocessor U30. The reset input, pin 9, of microprocessor U30 is connected through resistor R2 to ground and through capacitor Cll to +5 Volts, assuring a reset state of the microprocessor upon power up. The audible signal ouput on pin 15 of microprocessor U30 is provided through resistor Rl to a Darlington connected pair of transistors Ql , Q2 to drive speaker SP1. The operation of the microprocessor and the control memory, ROM dictionary, and personal dictionary memory, is similar to that described for the spelling check module for the electronic typewriter. However, while the data in the spelling check module for the electronic typewriter is transmitted in bit parallel form, in the version for the PC, the data is transmitted in bit serial form. Accordingly, the microprocessor receives data one bit at a time to acquire the successive keystroke codes.
As shown in Figure 12, connector PI receives a keyboard clock (KYBD CLK) on pin 1 thereof, a keyboard data signal (KYB DATA) on pin 2 thereof, and -5 Volts and ground on pins 5 -and 4 respectively. The KYB DCLK and KYBD DATA signals are bidirectional and are both input and ouput to the microprocessor U30. Tri-state buffers U9A, U9B, U9C, and U9D are arranged to provide bidirectional data transfer for the keyboard data out (KDATAOUT), and the keyboard data in
(KDATAIN) , as well as the keyboard clock out (KCLKOUT) and the keyboard request in (KREQIN) to and ^from the microprocessor U30- on pins 7, 8, 6, and 5 respectively. Pullup resistors R5 and R6 are connected to the KYBD DATA and KYBD CLK output lines to the keyboard respectively.
Note that the connector PI to the keyboard is not directly connected to connector P2 to the PC. Accordingly, the microprocessor U30 must transfer data to and from the keyboard and between the PC in order to assure normal operation of the PC and its word processing program.
Connector P2 in Figure 12 provides a PC clock signal (IBM CLK) on pin 1 thereof, a data signal (IBM DATA) on pin 2 thereof, and 5 Volts in ground on pins 5 and 4 respectively. Also, on pin 6 thereof is a configuration signal which discriminates between an XT or an AT configuration of an IBM PC or compatible personal computer. The IBM CLK signals and IBM DATA signals are also bidirectional signals to and from the PC. Tri-state inverters U8A, U8B, U8C and U8D provide for bidirectional data transfer between the microprocessor U30 and the IBM CLK signal and the IBM DATA signal. Specifically, the clock out (CLKOUT) and data out (DATAOUT), request in (REQIN) and data in (DATAIN) are provided on pins 1, 3, 2, and 4 microprocessor U30 respectively. Pull-up resistors R3 and R4 are connected to the IBM DATA and IBM CLK lines at the output of tri-state inverters U8B and U8A respectively.
Two interrupt requests, a keyboard interrupt (KBIRQ) and a PC interrupt (IBMIRQ) are provided on interrupt pins 13 and 12 respectively of microprocessor U30. The KBIRQ and IBMIRQ signals are generated by flip-flops U10A and U10B (Fig. 11) respectively. The data input and the set input of flip-flops U10A and U10B are connected to +5 Volts. The clock input of flip-flop U10A is connected to the KREQIN signal, and the clock input of flip-flop U10B is connected to the REQIN signal. The clear input of flipflop U10A is connected to the clear interrupt request si-gnal (CLRIRQ) on output pin 10 of microprocessor U30. Similarly, the clear input of flip-flop U10B is connected to the clear data channel (CLRDCH) output on pin 14 of microprocessor U30.
In operation, when a keystroke is transmitted form the keyboard, a KREQIN signal transistion on the CLKIN of flip-flop U10A will cause that flip-flop to go to a set condition, providing a KBIRQ interrupt signal output to pin 13 of microprocessor U30. The microprocessor control program- acknowledges the request by inputting the keyboard data bit into the microprocessor and putting out a signal CLRIRQ on pin 10 of microprocessor U30 which resets flip-flop 10A.
Similarly, an REQIN signal on the clock input of flip-flop U10B will cause that flip-flop to go to a set condition, which provides an IBMIRQ signal to interrupt pin 12 of microprocessor U30. The microprocessor control"program acknowledges the interrupt by inputting one data bit from the PC and provides a CLRDCH signal on pin 14 of microprocessor U30 which clears the flip-flop U10B. In such manner, successive bi-directional data bits in the serial transmission between the keyboard and the PC are accumulated inside the microprocessor U30. Successive data bits are accumulated and stored as keystrokes in a line buffer. The operation of the control program of microprocessor U3 on the detected keystrokes is similar to that for the spelling check module utilized in the electronic typewriter, as previously.described. For an XT configuration, data is bit serial with ten data bits with clock for each character.* For an AT configuration, data is also bit serial with eleven data bits with clock for each character. The microprocessor U30 distinguishes between the XT and AT configuration by the connection of the configuration signal (CONFIG) from connector P2 pin 6 to input pin 11 of microprocessor U30.
The microprocessor U30 thus receives clock and data signals from both the keyboard and from the PC. In order to insure proper operation of the PC and its word processing software, the microprocessor U30 is programmed to echo the clock and data signals received from the keyboard to the PC, and also to echo the clock and data signals received from the PC to the keyboard. The microprocessor U30 listens to the keystroke data and control signals from the keyboard and accumulates successive alphanumeric characters and a line buffer to perform the spelling check function as previously described.
The spelling check module for use with a PC is provided with special flexible environment functions keys as shown in Figure 13. Initially, the system is programmed to respond to particular default settings for control of the program. For example, to turn on the spelling check module, the key \CTRL> key and the number zero key are pressed. To add a word to the personal dictionary of the spelling check module, the CTRL) key also and the number 1 is pressed.
To remove a word from the personal dictionary of the spelling check module (or to store a negative version of a word in the ROM dictionary) the CTRL> key and the number 2 key are pressed. These function keys correspond to the special function keys for on/off, add, and delete keys used in the flow chart of Figure 5 at steps 70, 58 and 54. Since each different word processor software product uses different control keys for various editing functions, the spelling check module of the present invention has the ability to flexibly program these special function keys. Specifically, the special editing function keys are: (1) Cursor left, (2) Cursor right, (3) Destructive Backspace (a delete that removes the character to the left of the cursor), (4) Delete (a delete that removes the character at the cursor position), (5) Insert On (overwrite off), and (6) Insert Off (overwrite on). As used in the discussion to follow, a mode is defined as the particular set of keys used to perform the foregoing editing functions. The spelling check module is provided with six preset modes, A through F. For example, to program the editing control keys to that corresponding to WordStar (in which the DELETE key is used for destructive backspace and the (CTRL)G is used for deleting the current character), the operator enters the (CTRL 4) as shown in Figure 13. Normally, the system is initialized for WordStar (mode A) .
The mode setting may be changed to correspond to a different set of editing control keys by pressing the -(CTRL) key and one of the numbers 5, 6,7, 8, or 9 which correspond to'the various word processing software programs shown in Figu-te 13 corresponding to modes B through F_ respectively. For example, CTRL> 8 changes the preset for the editing control keys to mode D, which corresponds to the operation of other programs for the IBM PC such as Sidekick or a modified version of WordStar which is herein identified as WordStar 2 (a version in which the (backspace) key is used for backspacing and the (DELETE) key is used for deleting the current character).
The command keys for the spelling check module do not conflict with most word processing software commands. However, the command keys may be changed to eliminate any conflict or to improve convenience of use. The change command keys are given in Figure 14.
Specifically, to change the on/off command to -(CTRL^x, the operator types chgoff@ <CTRL>x(SPACE) . Thereafter, the command
CTRL x will turn the spelling check module on and off. Similarly, the chgaddS command and the chgre S command m'a~y be used to change the editing control keys for adding or removing words from the personal dictionary. As an example, the add command can be changed to be •'CTRL) (Right shift) by entering the command chgaddδ <CTRL) (Right shift)(SPACE) . When the change commands are used, the text of the change command sequence will appear on the screen and should be deleted after correctly completing the command.
In addition to the modes A through F which change the presets for the editing control keys as described above, there are individual change commands to alter the assignment of the editing control commands to suit any particular word processing program. For example, to change the cursor right key to be CTRL D, the operator would type chgrgt. CTRL D(SPACE). Similarly, the chglft€ command can be used to change the cursor left key. The delete key and the backspace key may be changed by the use of the chgdelδ command and the chgbsp@ command respectively. The insert on key and the insert off key may be changed by the chginlδ and the chgin2@ commands respectively.
If necessary, even the designation for control of the modes A through F may be changed to be other than <TJTRL*>4 through 9 respectively as shown in Figure 13. To change the mode designation, the chgmoxS command is used, where x represents any of the modes A through F. For example, to change the command key for entering mode A to -γALT)a, the operator types the command chgmoaS (ALT)a(SPACE) . Thereafter, the key sequence, <ALT) a will change the spelling check module to mode A. To reset all parameters to the original default condition, the command chgres. (SPACE) is entered. Thus the spelling check module of the present invention is provided with flexible control commands so that the function of the spelling check module may be tailored to optimally coreside with the host word processor software program in the PC.

Claims (13)

CLAIMS Having thus described the invention, what it is desired to CLAIM and thereby protect by Letters Patent is:
1. In a spelling check apparatus having a dictionary means for storing a plurality of first digital of codes corresponding to correctly spelled words in digital form, a personal dictionary memory means for storing a second digital code corresponding to a correctly spelled word in digital form, and means for comparing said first and second digital codes to an individual word in a document to spell check said individual word, an improvement comprising: means for storing a third digital code corresponding to a correctly spelled word in digital form in sai'd personal dictionary memory means; means for identifying said third digital word as being a negative correct spelling of such word; means for comparing said third digital code to said individual word in said document to spell check said individual word; and means responsive to said comparing means for indicating that individual word is misspelled if said third digital word corresponds to a negative correct spelling of said individual word.
2. A spelling check apparatus in accordance with claim 1; wherein said means for identifying ""■" said third digital word as a negative correct spelling comprises: means for setting a designated bit in the digital presentation of said third digital word to a logical condition representing that said third digital word is a negative correct spelling of such word.
3. A spelling check apparatus in accordance with claim 1; wherein said means for identifying said third digital word as a negative correct spelling comprises: means for searching said plurality of first digital codes to determine whether said third digital word is one of said plurality of first digital codes; means for designating said third digital word as a negative correct spelling if said third digital word is also one of said plurality of first digital codes.
4. In a spelling check apparatus having register means responsive to successive keystroke data in digital form for storing successive alphanumeric keystroke data, dictionary means containing a plurality of codes corresponding to correctly spelled words in digital form, control means responsive to said register means for detecting' a typed word, and responsive to said dictionar „means for comparing said detected typed word to the digitally coded contents of said dictionary means and for providing a first output indication corresponding to whether said dictionary means does not contain a digital code corresponding to said detected typed word, indicator means responsive to said first output indication from said control means for indicating that said detected typed word is misspelled, personal dictionary memory means for storing and retrieving data, said control means further responsive to said register means for storing data in said personal dictionary means representing a positive correct spelling of a word in -said register means, wherein said means responsive to ~ said detected typed word in said register means for comparing said detected typed word to said positive correct spelling data is stored in said personal dictionary memory means and for providing a second output indication corresponding to whether said personal dictionary does not contain a digital code corresponding to said detected typed word; said means responsive to said detected typed word in said register means for comparing said detected typed word to said positive correct spelling data stored in said personal ' dictionary memory means and for providing a second output indication corresponding to whether said personal dictionary does not contain a digital code corresponding to said detected typed word, an improvement wherein: said control means further is responsive to said register means for storing data in said personal dictionary memory means representing a negative correct spelling of a word in said register means, means responsive to said detected typed word in said register means for comparing said detected typed word in said negative correct spelling data stored in said personal dictionary memory means for providing a third output indication corresponding to whether said personal dictionary memory means contains a digital code corresponding to said detected typed word; and indicator means responsive to said third output indication from said control means for indicating that said detected typed word is misspelled.
5. A spelling check apparatus in accordance with claim 4, wherein said control means further responsive to said register means for storing data in said personal dictionary memory means representing a negative correct spelling of a word in said register means further comprises: means for setting a designated bit in the digital representation of said detected typed word to a logical condition representing that said detected typed word in said register means is a negative version of said detected typed word, and wherein said means responsive to said detected typed word in said register means for comparing said detected typed word to said negative correct spelling data stored in said personal dictionary memory means and for providing said third output indication corresponding to whether said personal dictionary contains a digital code corresponding to said detected typed word further comprises: means responsive to said designated bit in said digital representation for providing said third output indication;
6. In an apparatus having a keyboard for generating keystroke data and keystroke control signals, and a data processor for receiving said keystroke data and keystroke control signals, said keyboard having a keyboard connector with a plurality of contacts, and said data processor having a data processor connector with a plurality of contacts, wherein said keyboard connector and said data processor connector are normally interconnected for conducting keystroke data and control signals between the keyboard and the data processor, an improvement comprising: a spelling check module having first and second connectors interposed between said keyboard 15 connector and said data processor connector, said first connector being connected to said keyboard connector, and said second connector being connected to said data processor connector; a plurality of connecting means for 20 connecting individual corresponding contacts between said first and second connectors respectively; register means connected to a portion of said plurality of connecting means, said portion of 25 said plurality of connecting means representing successive keystroke data in digital form and control signals for indicating the presence of valid alpha keystroke data, said register means including means for accumulating successive alpha 0 . keystroke data; dictionary means containing a plurality of codes corresponding to correctly spelled words in digital form; control means responsive to said register 5 means and said plurality of connecting means for detecting a typed word, and responsive to said dictionary means for comparing said detected typed word to the digitally coded contents of said dictionary means and for providing a first output 0 indication corresponding to whether said dictionary means does not contain a digital code corresponding to said detected typed word; indicator means responsive to said first output indication from said control means for -5 indicating that said detected typed word is misspelled; personal dictionary memory means for storing and retrieving data; control means responsive to said register means for storing data in said personal dictionary means representing a correct spelling of a word in said register means; said control means further responsive to said register means for storing data in said■personal dictionary memory means representing a negative correct spelling of a word in said register means; means responsive to said detected typed word in said register means for comparing said detected typed word to said correct spelling data stored in said personal dictionary memory means and for providing a second, output indication corresponding to whether said personal dictionary does not contain a digital code corresponding to said detected typed word; means responsive to said detected typed word in said register means for comparing said detected typed word to said negative correct spelling data stored in said personal dictionary memory means and for providing a third output indication corresponding to whether said personal dictionary contains a digital code corresponding to said detected typed word; and indicator means responsive to said second and third output indications from said control means for indicating that said detected typed word is misspelled.
7. A spelling check module in accordance with claim 6 further comprising: means responsive to a first simultaneous combination of two non-printing, non-control keystrokes for storing said positive correct spelling of said detected typed word in said personal dictionary memory means, and a second simultaneous combination of two non-printing, non-control keystrokes for storing said negative correct spelling of said detected typed word in said personal dictionary memory means.
8. A spelling check module in accordance with claim 7, wherein said first simultaneous combination of two nonprinting, non-control keystrokes comprises a features key and a right shift key, and wherein said second simultaneous combination of two nonprinting, non-control keystrokes comprises a features key and a left shift key.
9. In an apparatus having a keyboard for generating keystroke data and keystroke control signals, and a data processor for receiving said keystroke data and keystroke control signals, said keyboard having a keyboard connector with a plurality of contacts, and said data processor having a data processor connector with a plurality of contacts, wherein said keyboard connector and said data processor connector are normally interconnected for conducting keystroke data and control signals between the keyboard and the data processor, an improvement comprising: a spelling check module having first and second connectors interposed between said keyboard connector and said data processor connector, said first connector being connected to said keyboard connector, and said second connector being connected to said data processor connector; control means connected to said plurality of contacts of said keyboard connector for transferring received signals to said plurality of contacts of said data processor connector; said control means also connected to said plurality of contacts of said data processor connector for transferring received signals to said plurality of contacts of said keyboard connector; said control means further including register means connected to said plurality of conductors of said keyboard connector, said plurality of conductors of said keyboard connector including signals representing successive keystroke data in digital form, said register means including means for accumulating successive alphanumeric keystroke data;
dictionary means containing a plurality of codes corresponding to correctly spelled words in digital form; said control means further includes means responsive to said register means and said plurality of connecting means for detecting a typed word, and responsive to said dictionary means for comparing said detected typed word to the digitally coded contents of said dictionary means and for providing a first output indication corresponding to whether said dictionary means does not contain a digital code corresponding to said detected typed word; indicator means responsive to said first output indication from said control means for indicating that said detected typed word is misspelled; personal dictionary memory means for storing and retrieving data; _ said control means further responsive to said register means for storing data in said personal dictionary means representing a positive correct spelling of a word in said register means; said control means further responsive to said register means for storing data in said personal dictionary means representing a negative correct spelling of a word in said register means; means responsive to said detected typed word in said register means for comparing said detected typed word to said positive correct spelling data stored in said personal dictionary memory means and for providing a second output indication corresponding to whether said personal dictionary does not contain a digital code corresponding to said detected typed word; and means responsive to said detected yped word in said register means for comparing said detected typed word to said negative correct spelling data stored in said personal dictionary memory means and for providing a third output indication corresponding to whether said personal dictionary contains a digital code corresponding to said detected typed word; and indicator means responsive to said second and third output indication from said control means for indicating that said detected typed word is misspelled .
10. A spelling check module in accordance with claim 9 further comprising: means responsive to a first simultaneous combination of two non-printing, non-control keystrokes for storing said positive correct spelling of said detected typed word in said personal dictionary memory means, and a second simultaneous combination of two non-printing, non-control keystrokes for storing said negative correct spelling of said detected typed word in said personal dictionary memory means.
11. A spelling check module in accordance with claim 10, wherein said first simultaneous combination of two non-printing, non-control keystrokes comprises a control key and a numeric 5 one key, and said second simultaneous combination of two non-printing, non-control keystrokes comprises a control key and a numeric two key.
12. A spelling check apparatus in accordance with claim 10 further comprising: means responsive to a second change command entered at said keyboard for altering the 5 designation of said first simultaneous combination of two non-printing, non-control keystrokes for storing said positive correct spelling of said detected typed word in said personal dictionary means.
13. A spelling check apparatus in accordance with claim 10 further comprising: means responsive to a third change command entered at said keyboard for altering the 5 designation of said second simultaneous combination of two non-printing, non-control keystrokes for storing said negative correct spelling of said detected typed word in said personal dictionary means.
AU82759/87A 1986-10-20 1987-10-20 Spelling check module for eliminating undesired data from computerized dictionary Abandoned AU8275987A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US06/921,665 US4762572A (en) 1985-10-18 1986-10-20 Process for phosphating electrolytically zinc-coated metals
US921665 1986-10-20

Publications (1)

Publication Number Publication Date
AU8275987A true AU8275987A (en) 1988-05-06

Family

ID=25445780

Family Applications (1)

Application Number Title Priority Date Filing Date
AU82759/87A Abandoned AU8275987A (en) 1986-10-20 1987-10-20 Spelling check module for eliminating undesired data from computerized dictionary

Country Status (1)

Country Link
AU (1) AU8275987A (en)

Similar Documents

Publication Publication Date Title
US5189610A (en) Electronic dictionary with correct and incorrect words
US4829472A (en) Spelling check module
US4689768A (en) Spelling verification system with immediate operator alerts to non-matches between inputted words and words stored in plural dictionary memories
EP0229769A1 (en) Pre-defined character sequence generator
US5481742A (en) Printer control apparatus for remotely modifying local printer by configuration signals from remote host to produce customized printing control codes
CN1107275C (en) Method for inserting capital latin character in non latin files
US5027313A (en) Apparatus for determining maximum usable memory size
US5852798A (en) Machine translation apparatus and method for translating received data during data communication
WO1988002886A1 (en) Spelling check module for eliminating undesired data from computerized dictionary
EP0097818B1 (en) Spelling verification method and typewriter embodying said method
US5030101A (en) Voice output device for use in electronic appliance
AU8275987A (en) Spelling check module for eliminating undesired data from computerized dictionary
US5812390A (en) Apparatus and method for message variable reordering
Cisco editing through format
JPS6217792B2 (en)
Cisco editing through format
JPH1125210A (en) Pen input device
US5386572A (en) Information processing apparatus with discriminating communication and distinguishing display functions
EP0260383A2 (en) Word processor employing automatic relocation of printing point on continuation of document playout
JPH0660053A (en) Input device
KR920004362B1 (en) Ic card omission sensing signal generating circuit
US5597244A (en) Electronic typewriter with spell verify
JPS6190282A (en) Input device using optical character reader
JPS6315633B2 (en)
JP2899281B2 (en) Idiom registration device