Claims
- 1. A typewriter, comprising:
- a dictionary memory having a multiplicity of data memory locations identified by respective addresses, each of said data memory locations including
- a word-data memory location which stores word data representative of a respective word of one language, and
- a related-data memory location for storing related data representing associated information associated with said word in the corresponding word-data memory location, said associated information being selected from a group consisting of a synonym, an antonym, and an equivalent word in another language, of the word in said corresponding word-data memory location,
- said word data in the word-data memory location at each one of said addresses comprising at least one character code each representing a letter of said word, or at least one of said character codes and at least one special code each representing a combination of at least two adjacent letters of said word which are identical with corresponding adjacent letters of a word represented by respective word data in the word-data memory location at an adjacent address which is adjacent to said each one of said addresses, said word data stored in said word-data memory locations being arranged in alphabetical order;
- a keyboard having a multiplicity of character keys operable to enter letters of a selected word of said one language, a call key, and a print-commanding key;
- control means connected to said dictionary memory and said keyboard, and having retrieval means for retrieving upon operation of said call key said associated information associated with said entered word;
- a working memory, connected to said keyboard and said retrieval means, for storing said entered word and the retrieved associated information;
- display means operable under the control of said control means; and
- a printing device operable under the control of said control means;
- said control means being
- responsive to said character keys for commanding said display means to indicate said entered word,
- responsive to said call key for commanding said display means to indicate said entered word, along with the respective associated information when said entered word is the same as a word represented by word-data in a respective word-data memory location, and
- responsive to said print-commanding key for commanding said printing device to print said entered word if said print-commanding key is operated when said display means displays no retrieved associated information responsive to said call key for the respective entered word displayed, and to print said retrieved associated information if said print-commanding key is operated when respective retrieved associated information is indicated on said display means along with the respective entered word responsive to the call key; and
- said retrieval means of said control means for retrieving said associated information being operable to search for said entered word by a process which includes
- defining a first range of said word-data memory locations for said searching for said entered word in said dictionary memory depending upon the first letter of said entered word,
- determining one of said word-data memory locations in said dictionary memory that is in the middle of said first range, and determining between which one of said word-data memory locations defining said first range and said middle worddata memory location said entered word would lie if stored in a respective one of said data memory locations, and defining a smaller range between the respective one of said word-data memory locations defining said first range and said middle word-data memory location, and
- repeating said determining of a middle word-data memory location for said smaller range and of between which one of the word-data memory locations defining the smaller range and the middle word-data memory location said entered word would lie if stored in said word-data memory, for successively smaller ranges in said word-data memory, until the entered word is located in said word data memory or it is determined that said entered word is not stored in said word-data memory.
- 2. A typewriter according to claim 1, wherein said print-commanding key is a space bar.
- 3. The typewriter of claim 1, wherein
- said word data representing words in said word-data memory comprise a plurality of character codes, each said character code representing a respective different plurality of letters of said language which are the same for respective letters of adjacent ones of said represented words, and
- when one of said character codes is in a respective position of said word-data for each said determining of a middle word-data memory location of a respective range, said character code is converted to the respective combination of adjacent letters for said determining of whether the entered word lies above or below said middle word-data memory location.
- 4. A typewriter, comprising:
- a dictionary memory having a multiplicity of data memory locations identified by respective addresses, each of said data memory locations including
- a word-data memory location which stores word data representative of a respective word of one language,
- a related-data memory location for storing related data representing associated information associated with said word in the corresponding word-data memory location, said associated information being selected from a group consisting of a synonym, an antonym, and an equivalent word in another language, of the word in said corresponding word-data memory location, and
- a flag-data memory location which stores flag data indicative of one end of a range of search of said respective addresses in which a search is effected,
- said word data in the word-data memory location at each one of said addresses comprising at least one character code each representing a letter of said word, or at least one of said character codes and at least one special code each representing a combination of at least two adjacent letters of said word which are identical with corresponding adjacent letters of a word represented by respective word data in the word-data memory location at an adjacent address which is adjacent to said each one of said addresses;
- a keyboard having a multiplicity of character keys operable to enter letters of a selected word of said one language, a call key, and print-commanding key;
- control means connected to said dictionary memory and said keyboard, and including retrieval means for retrieving, upon operation of said call key, each said character code and each said special code of the word data stored in the respective word-data memory location, and further retrieving said associated information associated with said entered word when the entered word is the same as the word stored in said respective word-data memory location;
- a working memory, connected to said keyboard and said retrieval means, for storing said entered word and the retrieved associated information;
- display means operable under the control of said control means; and
- a printing device operable under the control of said control means;
- said control means further including converting means for converting each retrieved special code into plural character codes which represent the respective combination of adjacent letters, an checking means for checking if the retrieved word data consisting of said at least one character code, and each of said plural character codes converted from each said special code, is identical with said character data of said entered word stored in said working memory;
- said control means being
- responsive to said character keys to command said display means to indicate said entered word,
- responsive to said call key for commanding said display means to indicate said entered word, along with the respective associated information when said entered word is the same as a word represented by word-data in a respective word-data memory location, and
- responsive to said print-commanding key for commanding said printing device to print said entered word if said print-commanding key is operated when said display means displays no retrieved associated information responsive to said call key for the respective entered word displayed, and to print said retrieved associated information if said print-commanding key is operated when respective retrieved associated information is indicated on said display means along with the respective entered word responsive to the call key; and
- said control means further including means for effecting said search, in response to activation of said call key, to find any data memory location storing the word data representing said entered word, said means for effecting said search being operable for a (a) establishing a flag in said flag-data memory locations of a first and a last one of the consecutive data memory locations which store the word data representing the words which have the first letter identical with a first letter of said entered word, in order to set said range of search, (b) determining the data memory location which is located in the middle of said range of search, and retrieving the word data stored in the determined middle data memory location, (c) checking if the retrieved word data comprises said special code or not, (d) converting said special code, if contained in said retrieved word data, into said plural character codes, (e) checking if successive ones of the character code of the retrieved word data is identical with character data representing said entered word, and, if the retrieved word data is not identical with said character data, checking whether the data memory location which stores word data representing said entered word is before or after said middle data memory location, (f) establishing a flag in the flag-data memory location of said middle data memory location, (g) cancelling the flag established in the flag-data memory location of said last one of said consecutive data memory locations if the data memory location storing the word data representing said entered word precedes said middle data memory location, or cancelling the flag established in the flag-data memory location of said first one of said consecutive data memory locations if the data memory location storing the word data representing said entered word follows said middle data memory location, and (h) repeating the foregoing steps until the word data representing said entered word is retrieved.
- 5. A typewriter according to claim 4, wherein said word data is stored in the respective one of said word-data memory locations of the addressed data memory locations such that first letters of the individual words contained in the dictionary are arranged in a predetermined order of presentation of letters used in said language, second letters of the words being arranged in said predetermined order when said first letters of the adjacent words are identical, third and following letters if any of the words being arranged in said predetermined order when said second and following letters of said adjacent words are identical, said special code being used to represent plural consecutive letters of the word as counted from the first letter thereof when said plural consecutive letters are identical with corresponding letters of an adjacent word.
- 6. A typewriter according to claim 5, wherein a combination of said letters of a first one of said words, in a plurality of consecutive ones of said words each of which has said combination of letters, are represented by the character codes in place of said special code.
- 7. A typewriter according to claim 4, wherein said special code is changed depending upon the number of letters represented by the special code.
Priority Claims (1)
Number |
Date |
Country |
Kind |
58-125139 |
Jul 1983 |
JPX |
|
Parent Case Info
This application is a continuation, of application Ser. No. 628,779, filed July 9, 1984.
US Referenced Citations (12)
Continuations (1)
|
Number |
Date |
Country |
Parent |
628779 |
Jul 1984 |
|