Abstract:
An electronic translating unit has switches for inputting a first language or a second language; a memory consisting of a first memory section for storing words of said first language and addresses of sentences associated with said words, a second memory section for storing words of said second language and addresses of sentences associated with said words, and a third memory section for storing said sentences of said first language and said sentences of said second language corresponding thereto; and access controlling device for accessing, upon input of words of one of said languages, words of the other, said language corresponding thereto, and said addresses of said sentences in either of said languages from said memory, sentence selecting device for accessing and selecting said sentences from said third memory section according to said addresses, and display for displaying said sentences.

Description:
This application is a continuation of application Ser. No. 917,249, filed Oct. 8, 1986, now abandoned, which is a continuation of application Ser. No. 778,272, filed Sept. 12, 1985, now abandoned, which is a continuation of application Ser. No. 707,165, filed Feb. 28, 1985, now abandoned, which is a continuation of application Ser. No. 294,862, filed Sept. 1, 1981, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an electronic translating unit capable of translating sentences of different languages and, more particularly, to an electronic translating unit which is capable of searching without delay a translated sentence containing a plurality of selected words. 
     2. Description of the Prior Art 
     Prior art portable electronic translating units generally translate between words of different languages. Therefore, in order to form a translated sentence, select keys    to    or    to   , for example, are assigned to particular sentences. A translated sentence, for example, &#34;I want . . . &#34; may be formed and displayed by combining these select keys, for example, keys    and   . This type of electronic translating unit has thus been extremely inconvenient for a traveller in a foreign country since he or she must be well acquainted with the combinations of the select keys for operation purposes. The electronic translating unit of this type has thus been practically unusable. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide an electronic translating unit which may be operated with a simple procedure by a traveller in a foreign country, for example, and which is capable of searching for a desired sentence and its translated equivalent. 
     It is another object of the present invention to provide an electronic translating unit which sequentially accesses and displays, upon input of a word, sentences which are associated with the input word and which are stored in advance, so that a desired sentence and its translated equivalent may be searched for. 
     It is another object of the present invention to provide an electronic translating unit which displays, upon inputting a plurality of desired words, sentences including these input words so that a desired sentence and its translated equivalent may be searched for without delay. 
    
    
     The above and other objects of the present invention will become apparent from the following description of the preferred embodiment of the present invention when taken in conjunction with the accompanying drawings. 
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a top view showing an example of the arrangement of a control panel of an electronic translating unit according to the present invention; 
     FIG. 2 is a flow chart showing the translating mode of the unit shown in FIG. 1; 
     FIG. 3 is a block diagram showing the circuitry of the unit shown in FIG. 1 and FIG. 3A is a block diagram of the comparator of the present invention; and 
     FIGS. 4A through 4C are diagrams showing how words and sentences are stored in the respective memory circuits of the unit shown in FIG. 1. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     The present invention will now be described in more detail referring to the accompanying drawings. 
     An example of the arrangement of a control panel of an electronic translating unit according to the present invention is shown in FIG. 1. The control panel shown in FIG. 1 has a keyboard 21 with character keys for selection and input of letters, kana or the like by a key operation to be described later, and function keys for controlling translating operations of various kinds; and a display 22 which has liquid crystal display elements of dot type, for example, to display a sentence consisting of a number of characters. The functions of the function keys on the keyboard shown in FIG. 1 are as follow: 
     
         ______________________________________ ##STR1## to make each key function as a key of the character such as     kana indicated above the frame of the key. ##STR2## to make each key function as a key of the letter, numeral or     the like indicated within the frame of the key. ##STR3## to separate words or numerals. For example, to separate &#34;12&#34;     from &#34;36&#34; as in &#34;12·36&#34;. ##STR4## to sequentially display words or sentences for the purpose of     search. ##STR5## to designate translation into an English word or an English     sentence. ##STR6## to designate translation into a Japanese word or a Japanese     sentence. ##STR7## to designate translation into a French word or a French     sentence. ##STR8## to designate translation into a German word or a German     sentence.Name      to designate input of a proper noun.Time (  ) to designate input of a time.Way (  )  to designate input of a way.Much (   )     to designate input of amount, price, etc.Yes (  )  to designate a positive response upon a     single operation.No (   )  to designate a negative response upon a     single operation.______________________________________ 
    
     According to this arrangement, words which are frequently used in general conversation may be input by a single key operation in order to save the trouble of correctly spelling these words each time. 
     The mode of operation of the electronic translating unit of the present invention will now be described with reference to the flow chart shown in FIG. 2, with the operation of the control panel assuming that translation is to be made from Japanese into English. 
     When the power switch at the upper right corner of the keyboard 21 is turned on (S1), the electronic translating unit may be operated. When the key    below the power switch is depressed (S2), the respective keys will function as kana keys (indicated above each key) thereafter. When the kana keys are depressed for &#34;   &#34; (station) (S3) for translation of this word into an English word as a Japanese to English dictionary, the display displays &#34;   &#34; in Japanese (S4). The key    is then depressed so that each key may now function as a key of the character within the frame. Upon depression of the key    (S6), an English word &#34;station&#34; corresponding to &#34;   &#34; is displayed (S7) at the display 22. The electronic translating unit thus functions as a Japanese to English dictionary. 
     In order to search for an English sentence including a particular word with the electronic translating unit shown in FIG. 1, the key     is depressed while &#34;   &#34; is displayed (S4). When keys    and    are depressed next (S5 and S8), examples of Japanese sentences associated with &#34;   &#34; are first sequentially displayed (S9): 
     &#34;               &#34; (Where is the station?) 
     &#34;                           &#34; (Where can I purchase the ticket?) 
     &#34;                             &#34; (Which platform does the train for . . . leave?) 
     &#34;                             &#34; (What time does the train leave?) 
     &#34;                     &#34; (What time does the train arrive?) 
     When the operator depresses the key    (S10) when the desired Japanese sentence is displayed, the English sentence corresponding to the displayed Japanese sentence is displayed at the display 22. When the key    is depressed for translation of &#34;                             &#34;, &#34;What time does the train leave?&#34; is displayed (S11). 
     However, if the sentences associated with &#34;   &#34;, for example, are too numerous, the search for the desired English sentence may become very cumbersome. In order to prevent this problem, with the electronic translating unit of the present invention, a plurality of desired words are simultaneously input to allow search of sentences associated with all of these input words. In the example described above, the key    is depressed (S5) while &#34;   &#34; is displayed (S4). Additionally, the word &#34;   &#34; (when) or &#34;     &#34; (time) associated with time is input as a key word (S12). In this embodiment, up to three key words may be input and the key   is depressed every time a key word is input. For example, after operating keys for inputting &#34;   &#34;, the key   , keys for inputting &#34;   &#34;, the key   , keys for inputting &#34;           &#34;, and the key   , the key is depressed to return the function of each key to that within the frame of the key and key    is depressed (S15). Then, the Japanese sentence &#34;                       &#34; is immediately displayed (S16). In the manner as described earlier, when the key    is then depressed (S17), the English sentence &#34;What time does the train leave?&#34; corresponding to the Japanese sentence is displayed at the display 22. 
     An example of the circuit configuration of the electronic translation unit operated by the key operations as described above is shown in FIG. 3. In FIG. 3, reference numeral 1 denotes a multi-digit liquid crystal display of dot type and 2 denotes a driver circuit for the liquid crystal display. Reference numeral 3 denotes a semiconductor circuit which serves as access controlling means comprising a random access memory (RAM) 4, a central processing unit (CPU) 5, and a read-only memory (ROM) 6. The RAM 4 is a temporary memory circuit which stores necessary data such as data input by the key operations, data from a read-only memory semiconductor circuit 8 to be described hereinafter, and data to be displayed at the display 22. The CPU controls data transfer, data processing, data comparison and so on of the overall electronic translating unit. The ROM 6 stores in advance the control data for commanding the control operation of the CPU 5. 
     Reference numeral 7 denotes a keyboard matrix circuit which serves as a data input device and as a sentence selection and translation instruction means (see below), comprising keys as shown in FIG. 1. Reference numeral 8 denotes the read-only memory semiconductor circuit which stores, in advance, words of a foreign language; for example, English words, Japanese words, and examples of sentences of both languages. Connecting wires 9 to 14 connect the respective elements of the circuit. Reference numeral 15 denotes a semiconductor circuit which is to be described hereinafter and is shown in FIGS. 4A and 4B; it is a word memory circuit which stores with indices Japanese words and words of a foreign language, for example, English words. Reference numeral 16 denotes a semiconductor circuit which is shown in FIG. 4C and which stores examples of English and Japanese sentences in correspondence with each other; it is a sentence memory circuit. Reference numeral 17 denotes a power switch and 18 denotes a small, built-in type battery. 
     The electronic translation unit, with the respective parts as described above and shown in FIG. 3, operates in the manner to be described below. 
     When the power switch 17 is turned on, the electronic translation unit may be operated. When the keyboard matrix circuit 7 operates as described above upon operation of the keyboard on the control panel, the input data selected by the key operations is stored in the temporary memory circuit 4. Code signals are assigned to the letter keys, kana keys, and function keys arranged on the keyboard. For example, binary code signals are assigned as 
     
         ______________________________________   A            00001   B            00010   C            00011   . . .        . . .______________________________________ 
    
     and so on up to &#34;Z&#34;; and further binary code signals are assigned as 
     
         ______________________________________                100001                100010                100011   . . .        . . .______________________________________ 
    
     and so on up to &#34; &#34; 
     Therefore, when &#34;   &#34; is input by the key operations, binary code signals 
     100100 for &#34; &#34; and 
     100111 for &#34; &#34; 
     are stored in the temporary memory circuit (RAM) 4. 
     On the other hand, the binary code signals &#34;100100&#34; and &#34;100111&#34; corresponding to the kana &#34; &#34; and &#34; &#34; are similarly stored in the read-only memory semiconductor circuit 8. From the time a function key such as    or    is depressed, the central processing unit (CPU) 5 starts comparing the contents in the temporary memory circuit 4 with the contents as shown in FIG. 4B in the word memory circuit 15. Various measures may be taken to shorten the period of time required for such a comparison. However, describing the basic configuration of the comparing means, as shown in FIG. 4B, a series of words starting with &#34;   &#34; are supplied to the central processing unit 5. The data from the temporary memory circuit (RAM) 4 and the data from the word memory circuit 15 are supplied to an AND gate, the output of which is written in a register, as shown in FIG. 3A. The comparator thus sequentially detects the coincidence of both data. When the coincidence is detected for the binary code signals &#34;100100&#34; and &#34;100111&#34; corresponding to &#34;   &#34; with every digit coinciding, an address X7 stored in item β in FIG. 4B corresponding to the Japanese word &#34;   &#34; which in turn corresponds to this combination of binary code signals is read out from the word memory circuit 15 to indicate the address of the corresponding foreign word. This address is written in the temporary memory (RAM) 4. Simultaneously with this, an address 101 read out from item γ in FIG. 4B which stores the sentence associated with this word is written in the temporary memory circuit (RAM) 4. 
     If the function key which has been depressed is the key   , the series of binary code signals corresponding to the English word &#34;station&#34; at the address X7 which is written in the temporary memory circuit (RAM) 4 in this manner is written in the temporary memory circuit (RAM) 4 through the central processing unit (CPU) 5 and is then supplied to the display 1. The series of binary code signals representing the English word is decoded into a series of character signals which is supplied to the display 1 for display of the English word &#34;station&#34;. Thus, the translation operation in response to the depression of the key    is completed. 
     On the other hand, if the key    as the function key is depressed after &#34; &#34; is input by the operation of the keyboard, the address X7 of the foreign word and the address 101 of the sentence associated with this word are read out from the read-only memory semiconductor circuit 8 and the unit holds this condition until the next kana key or key    for searching sentences is depressed. Each time the key    is subsequently depressed, according to the address 101 of the associated sentences which is stored in the temporary memory circuit (RAM) 4, sentences corresponding to &#34;101&#34; which in turn corresponds to &#34;   &#34; in item β in FIG. 4C are sequentially written, through the central processing unit (CPU) 5, in the temporary memory circuit (RAM) 4 in the order stored at this address from the sentence memory circuit 16 storing the sentences in the form shown in FIG. 4C. Then, in the same manner described above, the series of binary code signals are sequentially decoded into sentences and displayed at the display 1. When the key    is depressed as the desired sentence is displayed during this search procedure, the English sentence corresponding to the selected sentence is decoded and displayed in a similar manner. 
     When the key    is depressed after the input of the word &#34;   &#34; and then another word is input by depression of kana keys, the data associated with &#34;   &#34; described above, that is, the address X7 of the corresponding English word and the addresses 101 of the sentences associated therewith are all written from the word memory circuit 15 to the temporary memory circuit 4 as shown in FIG. 4B. &#34;   &#34; is displayed at the display 1, and the kana keys are depressed to input another word &#34;     &#34; (time), for example. Then, when the function keys such as the key    and the key are depressed, the data thus input is compared with the data as shown in FIG. 4B which is in the word memory circuit 15. As a result of this comparison, the address X6 of the English word corresponding to &#34;     &#34; (time) is read out and written in the temporary memory circuit 4. The input data is also compared with the data as shown in FIG. 4C which is stored in the sentence memory circuit 16, and the address 1 of item α for storing the sentences associated with &#34;     &#34; (time) are read out and are also written in the temporary memory circuit (RAM) 4. When the search key    is subsequently depressed, the series of binary code signals corresponding to sentences with which the item α corresponding to &#34;    &#34; (time) is &#34;1&#34; and the item β corresponding to &#34;   &#34; (station) is &#34;101&#34; are sequentially read out from the sentence memory circuit 16 and are written in the temporary memory circuit 4. These code signals are then sequentially decoded into sentences and displayed at the display 1 for search. When the key    is depressed when the desired sentence (for example, &#34;                             &#34;) is displayed during this search period, the corresponding English sentence (&#34;What time does the train arrive at?&#34;) is displayed, thus completing the translation of a sentence based on a plurality of words as key words for search.