USRE35464E - Apparatus and method for translating sentences containing punctuation marks - Google Patents

Apparatus and method for translating sentences containing punctuation marks Download PDF

Info

Publication number
USRE35464E
USRE35464E US08/336,199 US33619994A USRE35464E US RE35464 E USRE35464 E US RE35464E US 33619994 A US33619994 A US 33619994A US RE35464 E USRE35464 E US RE35464E
Authority
US
United States
Prior art keywords
sentence
iaddend
iadd
original language
translation
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.)
Expired - Lifetime
Application number
US08/336,199
Inventor
Hitoshi Suzuki
Shinobu Shiotani
Shinji Tokunaga
Tokuyuki Hirai
Yoji Fukumochi
Shuzo Kugimiya
Ichiko Sata
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.)
Sharp Corp
Original Assignee
Sharp 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 JP61284485A external-priority patent/JPS63136262A/en
Priority claimed from JP61284491A external-priority patent/JPS63136268A/en
Priority claimed from JP61284484A external-priority patent/JPS63136261A/en
Priority claimed from US07/126,262 external-priority patent/US4964030A/en
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to US08/336,199 priority Critical patent/USRE35464E/en
Application granted granted Critical
Publication of USRE35464E publication Critical patent/USRE35464E/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language

Definitions

  • the present invention relates to a language translation system which performs translation from one language (original language) to another language (target language) using a computer. More particularly, the present invention relates to a language translation system which can automatically translate a sentence even when it contains one or more colons, semicolons, quotation marks, or parentheses, etc. which are herein generally called insert marks.
  • FIG. 1 A general idea how the computer translation is carried out from one language to another language will be explained.
  • a sentence of the original or source language is processed so that a word-to-word dictionary look-up is obtained, and then the source language is analyzed in the various steps, which are: morphological analysis; syntactic analysis; semantic analysis; and context analysis, to obtain an intermediate language which does not belong to any existing language, but can be understood only by the computer.
  • steps carried out in each analysis will be further understood from Table 1 shown below.
  • the computer forms and generates a sentence in the target language through the steps of: context generation; semantic generation; syntactic generation; and morphological generation, which are similar to the above described analysis.
  • the above described method of the computer translation is called a pivot method in which the procedure follows the steps formulated by solid line arrows shown in FIG. 1 to obtain the intermediate language and then to finally obtaining the target language.
  • Another method is called a transfer method in which the procedure takes a short cut step formulated by one of chain line arrows to complete the translation without obtaining the intermediate language.
  • a problem in the prior art translation apparatuses is that when the sentence of the original language contains one or more inserted marks such as colons, semicolons, quotation marks, or parentheses, the translation procedure becomes very difficult and complicated.
  • the translation machine automatically and uniformly translates each inserted colon or semicolon to a most plausible translation in the target language.
  • the sentences with the colon or semicolon are translated correctly, but in other cases, the translated sentences are meaningless.
  • the operator manually provides proper translations or marks in the target language, thereby reducing the reliability of the translation system.
  • Another example is when the original language sentence contains parentheses.
  • the operator usually deletes the parentheses together with the contents therein, so that the machine can translate the sentence without the parentheses and the contents therein. Then, the operator manually translates the contents within the parentheses and inserts the translated result in the machine translated sentence together with the parentheses. Therefore, it is very difficult to obtain a properly translated sentence having parentheses and the contents thereof inserted in the right place.
  • a further example is when the original language sentence contains quotation marks.
  • each quotation mark is rendered as a word in the translation procedure.
  • the grammar for inserting the quotation marks can be very difficult.
  • the present invention has been developed to substantially solve the above described disadvantages and has for its essential objective to provide an improved translation system which can automatically translate the original language sentence into the target language sentence even when the original language sentence contains one or more inserted marks.
  • a translation system for translating a sentence of an original language into a sentence of a target language includes a computer which has subroutines for pre-treating an insertion mark which is one of quotation mark, colon, semicolon or parenthesis used in the original language sentence, and subroutines for post-treating the insertion mark to provide an appropriate translation of the insertion mark into the target language sentence.
  • FIG. 1 is a diagrammatic view showing the processes for translating from one language to another language
  • FIG. 2 is a block diagram of a translation apparatus according to a preferred embodiment of the present invention.
  • FIG. 3 is a block diagram showing a detail of the translation module shown in FIG. 2;
  • FIG. 4 is a block diagram showing the translation processes employed in the embodiment of the present invention.
  • FIGS. 5a to 5e are diagrammatic views showing the data to be stored in the buffers shown in FIG. 3;
  • FIG. 6 is a main flow chart showing the operation of the language translation according to the present invention.
  • FIG. 7 is a flow chart showing the colon/semicolon pre-treatment subroutine and the colon/semicolon post-treatment subroutine shown in FIG. 6;
  • FIGS. 8a, 8b and 8c are diagrams showing the data to be stored in the buffer
  • FIGS. 9a, 9b and 9c are diagrams showing the tree structure data stored in the buffer
  • FIG. 10 is a schematic view showing the display of the translation results of the sentences containing a semicolon
  • FIG. 11 is a flow chart showing the quotation mark pre-treatment subroutine shown in FIG. 6;
  • FIG. 12 is a flow chart showing the generation subroutine shown in FIG. 6;
  • FIG. 13 is a flow chart showing the phrase generation subroutine shown in FIG. 12;
  • FIG. 14 is a diagrammatic view showing an example of an inputted sentence with quotation maxks
  • FIG. 15 is a diagram showing a tree structure data stored in the buffer
  • FIGS. 16, 17 and 18 are schematic views showing the display of the translation results of the sentences containing quotation, marks;
  • FIG. 19 is a flow chart showing the dictionary lookup subroutine shown in FIG. 6;
  • FIG. 20 is a diagram showing the data to be stored in the buffer.
  • FIG. 2 a block diagram of a language translation apparatus according to a preferred embodiment of the present invention is shown, which performs translation from one language-(original language), such as English, to another language (target language), such as Japanese, using a computer.
  • the translation apparatus comprises a central processing unit (CPU) 1 for carrying out the translation, a main memory 2 for storing programs to be used in CPU 1, a display 3 having a cathode-ray tube (CRT) for displaying the necessary information required for the translation, a keyboard 4 for inputting necessary information required for the translation process, a translation module 5 for storing such information or the like, and a table 6 for storing dictionary, grammar and conversion rules to be used during the conversion between tree structures.
  • CPU central processing unit
  • main memory 2 for storing programs to be used in CPU 1
  • a display 3 having a cathode-ray tube (CRT) for displaying the necessary information required for the translation
  • a keyboard 4 for inputting necessary information required for the translation process
  • a translation module 5 for storing
  • the translation is carried out using the transfer method, as explained above in connection with FIG. 1, with the analysis done as far as the syntactic analysis.
  • the pivot method or the transfer method with the analysis done up to different levels.
  • a hardware structure of the translation module 5 which comprises five buffers B1, B2, B3, B4 and B5, a CPU and a program memory.
  • the five buffers are provided for storing the analysis results of the different levels.
  • a flowchart of the translation module 5 which comprises: a dictionary lookup process 51 for obtaining information for each word using a dictionary stored in the memory upon receipt of the original language (English) sentence; a syntactic analysis process 52 for analyzing the sentence in a tree structure; a semantic analysis process 53 for analyzing the meaning of the sentence; and a sentence generation process 54 for generating a sentence into the target language (Japanese).
  • Buffers B1 and B2 are used for the dictionary look-up process 51.
  • buffer B1 the sentence is separated into words and the words are sequentially stored in different areas, as shown in FIG. 5a.
  • each original word is provided with various word information utilizing a dictionary and grammar text stored in the apparatus.
  • FIG. 5b An example of the data stored in buffer B2 is shown in FIG. 5b.
  • buffer B3 which is used for process 52, stores the sentence in association with a tree construction analysis.
  • Table 2 an analysis shown in Table 2 below is carried out with the necessary information derived from table 6 (FIG. 3), which carries words and the translation and grammatical information.
  • each unit can be analyzed elements.
  • a sentence can be analyzed according to a subject and a predicate.
  • semantic analysis process 53 analysis is carried out in accordance with a conversion from the tree structure based on the English language to the tree structure based on the Japanese language to obtain a new tree structure, as shown in FIG. 5d, which is stored in buffer B4.
  • the language translation system of the present invention is programmed to follow: a quotation mark pre-treatment subroutine I; a colon/semicolon pre-treatment subroutine II; a dictionary look-up subroutine III; a colon/semicolon post-treatment subroutine IV; a syntactic analysis subroutine; a transfer subroutine; and a generation subroutine V, which are carried out in translation module 5.
  • the colons and semicolons are pre-treated and post-treated in subroutines II and IV, respectively, which will be described in detail in connection with FIGS. 7-10.
  • the quotation marks are pre-treated and post-treated in subroutines I and V, respectively, which will be described in detail in connection with FIGS. 11-18.
  • the parentheses are pre-treated and post-treated in subroutines III and V, respectively, which will be described in detail in connection with FIGS. 19, 13 and 20.
  • the colon and semicolon pre-treatment subroutine II includes a step II-1 at which it is detected whether or not the input sentence ends with a colon or semicolon. If the answer is YES, the program goes to step II-2 at which a period is added at the end of the sentence. If the answer is NO, the program goes to the dictionary look-up subroutine.
  • the words in the sentence (A) are analyzed and the result is stored in the buffer, such as shown in FIG. 8a.
  • the sentences (B) and (C) are analyzed and the results are stored in the buffer, such as shown in FIGS. 8b and 8c, respectively.
  • the semicolon is identified as one word and is analyzed either as a punctuation mark, pronoun or conjunction. The same can be said of the colon.
  • the colon and semicolon post-treatment subroutine IV includes a step IV-1 at which it is detected whether or not the input sentence contains a colon or semicolon either within the body of the sentence or at the end of the sentence.
  • the result will be YES, so that the program goes to step IV-2, at which it is detected whether or not the colon or semicolon is located immediately before the period. If YES, such as in the case of examples (A) and (B), the program goes to step IV-3 at which the "conjunction" is deleted from the row defining the semicolon, as shown by parentheses in FIGS. 8a and 8b.
  • the colon or semicolon inserted immediately before the period is defined as a punctuation mark or pronoun.
  • the program goes to step IV-4 at which the "punctuation" and "pronoun” are deleted from the row defining the semicolon, as shown by parentheses in FIG. 8c.
  • the colon or semicolon provided within the body of the sentence is defined as a conjunction.
  • a tree structure is obtained, such as shown in FIGS. 9a, 9b and 9c for the above given three examples, respectively.
  • the analysis for obtaining the tree structure is carried out using a Table 2' as shown below.
  • each unit can be analyzed in elements.
  • a sentence can be analyzed according to a declarative sentence and a punctuation mark, as shown in FIGS. 9a, 9b and 9c.
  • example sentence (A) the semicolon is provided after a transitive verb "explain” which takes an object, as identified in the dictionary look-up subroutine, and, therefore, the semicolon is considered to be the object of the transitive verb "explain” and is finally analyzed as a pronoun, as shown in FIG. 9a. If it is so defined in the dictionary that the semicolon is used as a pronoun means, in Japanese, "" (read as "ika”, meaning "follow”), the example sentence (A) will be translated into Japanese as shown in FIG. 10, row 1, reading a Japanese equivalent of "This chapter explains as follows.”
  • example sentence (B) since the word "these" serves as the object of the transitive verb "explain", the semicolon is finally analyzed as a punctuation mark, i.e., a period.
  • the period added at the end of this sentence at step II-2 will not appear in the tree structure, because it is not necessary to provide more than one period at the end of a sentence. Therefore, the added period will not be used in the translation.
  • the example sentence (B) will be translated into Japanese as shown in FIG. 10, row 2, reading a Japanese equivalent of "This chapter explains these.”
  • example sentence (C) the semicolon is finally analyzed as a conjunction.
  • example sentence (C) is analyzed as a compound sentence separated at the semicolon, and it will be translated into Japanese as shown in FIG. 10, row 3, in which the Japanese translation says ⁇ This chapter explains these; the next chapter explains those. ⁇
  • the quotation mark pre-treatment subroutine I includes a step I-1 at which a pointer for pointing a word to be processed is reset to zero, so as to move the pointer to the first word. Then, at step I-2, a begin quotation mark (") is searched for and, at step I-3, it is detected whether or not the begin quotation mark is found. If YES, the program goes to step I-4 to store a word position of a word accompanying the detected begin quotation mark (") and a begin quotation mark itself. It is to be noted that the words of the input sentence are provided with word position numbers in series starting from zero, such as shown in FIG. 14.
  • step I-5 an end quotation mark (") is searched for.
  • the program goes to step I-6 and further to step I-7 to store the word position of a word accompanying the detected end quotation mark (") and an end quotation mark itself. Thereafter, steps I-2 through I-7 are repeated to find all the quotation marks contained in the input sentence.
  • step I-3 When a begin quotation mark is no longer found, the program goes from step I-3 to step I-9. Also, when an end quotation mark is no longer found, the program goes from step I-6 to step I-8 at which the stored word position of the word with begin quotation mark is cleared, and the program further goes to step I-9. Therefore, the word positions of the words provided with begin and end quotation marks are stored in pairs. At step I-9, the quotation marks at the stored word positions are deleted.
  • step I the word position number "4" is stored together with the begin quotation mark.
  • step I-7 the word position number "6" is stored together with the quotation mark.
  • the reason for storing the word position number "6" instead of "7" is such that, in the case where the sentence ends with a period, the position of a word before the period is stored for expediency sake.
  • step I-3 the program goes to step I-3 for the second time, it jumps to step 1-9 at which the quotation marks provided at the words corresponding to the stored word positions are deleted. Therefore, after the quotation mark pre-treatment subroutine I, such as in the dictionary look-up subroutine III and in the syntactic analysis subroutine, the sentence with no quotation mark is treated. Thus, no special grammar rule is needed to analyze the sentence.
  • a flow chart of the quotation mark post-treatment subroutine V is shown.
  • the program operates with one unit of a phrase at a time and is applied in the order determined by the grammar rule.
  • the phrases shown in the second analyzed level in FIG. 15 are applied and treated in the flow chart of FIG.
  • step V-1 the first and the last word positions of the applied phrase are compared with the stored word positions"4" and "6" as obtained in previous steps I-4 and I-7, respectively, and when they match each other, the program goes to step V-2 at which a flag is set. Then, at step V-3, a begin quotation mark in the target language (for example, in Japanese, the begin quotation mark is expressed by ".left brkt-top.") is generated. Thereafter, at step V-4, the phrase detected at step V-1, in this case the prepositional phrase, is generated into Japanese.
  • a begin quotation mark in the target language for example, in Japanese, the begin quotation mark is expressed by ".left brkt-top.
  • step V-5 since the flag is now set, the program goes to step V-6 at which an end quotation mark in the target language (for example, in Japanese, the end quotation mark is expressed by ".right brkt-bot.") is generated. Then, it is detected at step V-7 whether or not all the phrases are generated. If not, the program goes to step V-8 at which the flag is reset and repeats steps V-1 through V-7 to generate another phrase. When all the phrases are generated, the program completes the translation of the input sentence. The translated result will be displayed, such as in a manner shown in FIG. 16. FIGS. 17 and 18 show other examples of the translated results.
  • FIGS. 17 and 18 show other examples of the translated results.
  • the dictionary look-up subroutine III includes a step III-1 at which a pointer for pointing out a word to be processed is reset to zero, so as to move the pointer to the first word. Then, at step III-2, it is detected whether or not the word is a begin parenthesis [(]. If it is not the begin parenthesis, the program goes to step III-3 at which the word is looked up in the dictionary to find its translation and other information such as its grammatical definition. The obtained information is stored in a buffer. Then, at step III-5, the pointer is moved to the next word and, at step III-6, it is detected whether or not all the words are translated. If not, the program returns to step III-2.
  • step III-2 if it is detected that the word is the begin parenthesis, the program goes to step III-7 at which the number of words within and including the begin and end parentheses is counted. For example, if the input sentence is: I have a pen (I bought it yesterday)., the number of words within and including the begin and end parentheses is "6", as indicated in FIG. 20. The counted result is added to the number of words for the word just before the begin parenthesis. Therefore, the contents in the parentheses together- with the parentheses are defined as belongings of a word immediately before the begin parenthesis.
  • the counted result "6" is added to the word number "1" of the word “pen” just before the begin parenthesis and the sum "7” is stored for the word number of the word “pen", as shown in FIG. 20.
  • the word "pen” is treated as a single noun consisting of seven words.
  • the number of words within and including the begin and end parentheses is counted and is stored.
  • the word number "6" is stored for the word number of the word "(".
  • step III-9 the contents of one buffer are temporarily removed and cleared for use in translating the words within the parentheses, as carried out in step III-10.
  • the translated result is stored in another buffer (step III-11), and the temporarily removed data is returned back to the original buffer.
  • step III-5 the pointer is moved to the word next to the end parenthesis.
  • steps III-9 through III-12 may be skipped.
  • FIG. 13 a detail flow chart of the phrase generation step V-4 contained in FIG. 12 is shown.
  • this phrase generation subroutine V-4 the steps of the parentheses post-treatment are included.
  • step V-4a the translation of each word in the phrase is stored in a buffer. Then, at step V-4b, it is detected whether or not the next word is the begin parenthesis [(]. If YES, the program goes to step V-4c at which the words within and including the parentheses, which are already translated in the target language, are stored in the translation buffer. Then, at step V-4d, it is detected whether or not all the words in the phrase are translated. If not, the program goes to step V-4e to shift the pointer to the next word. In the case where the pointer is pointing the begin parenthesis [(], the next word which will be pointed by the pointer in step V-4e will be the word after the end parenthesis [(]. This can be accomplished by increasing the counter of the pointer by the amount of the word number stored for the begin parenthesis, such as shown in FIG. 20.
  • the input sentence which contains inserted marks such as colons, semicolons, quotation marks, or parentheses, etc.
  • the translation can be done quickly and with less errors.
  • the embodiment herein described is designed to carry out the translation under the transfer method with the analysis done as far as the syntactic analysis.
  • the program may also be so designed as to carry out the translation under the pivot method or the transfer method with the analysis done up to different levels.

Abstract

A translation system for translating a sentence of an original language into a sentence of a target language utilizes a computer which pre-treats insertion marks. These insertion marks can be quotation marks, colons, semicolons or parentheses found in the original language sentence. The computer also post-treats the insertion marks to provide an appropriate translation of the insertion marks into the target language sentence. These translations of the insertion marks are carried out without carrying the insertion marks throughout the whole translation process.

Description

.Iadd.This application is a continuation of application Ser. No. 07/961,575 filed on Oct. 15, 1992, now abandoned, which is a Reissue of U.S. Pat. No. 4,964,030 issued Oct. 16, 1990. .Iaddend.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a language translation system which performs translation from one language (original language) to another language (target language) using a computer. More particularly, the present invention relates to a language translation system which can automatically translate a sentence even when it contains one or more colons, semicolons, quotation marks, or parentheses, etc. which are herein generally called insert marks.
2. Description of the Prior Art
A general idea how the computer translation is carried out from one language to another language will be explained. As shown in FIG. 1, a sentence of the original or source language is processed so that a word-to-word dictionary look-up is obtained, and then the source language is analyzed in the various steps, which are: morphological analysis; syntactic analysis; semantic analysis; and context analysis, to obtain an intermediate language which does not belong to any existing language, but can be understood only by the computer. The steps carried out in each analysis will be further understood from Table 1 shown below.
              TABLE 1                                                     
______________________________________                                    
Analysis Steps                                                            
             Analysis                                                     
______________________________________                                    
Dictionary look-                                                          
             Find a word in a dictionary and pro-                         
up and morpho-                                                            
             vide its translation as well as other                        
logical analysis                                                          
             word information, such as verb, noun,                        
             adverb, adjective, plural, singular,                         
             tense, person, etc, according to the                         
             stored grammar text.                                         
Syntactic    Find a relationship between the words,                       
analysis     clauses and/or phrases to determine                          
             one or more possible sentence con-                           
             structions, each analyzed in a form                          
             of a tree structure.                                         
Semantic analysis                                                         
             Select one sentence construction which                       
             is most appropriate from the viewpoint                       
             of the meaning.                                              
Context analysis                                                          
             Understanding the theme of the sen-                          
             tence and to clarify the vague                               
             expressions.                                                 
______________________________________                                    
After the intermediate language is obtained, the computer forms and generates a sentence in the target language through the steps of: context generation; semantic generation; syntactic generation; and morphological generation, which are similar to the above described analysis.
The above described method of the computer translation is called a pivot method in which the procedure follows the steps formulated by solid line arrows shown in FIG. 1 to obtain the intermediate language and then to finally obtaining the target language.
Another method is called a transfer method in which the procedure takes a short cut step formulated by one of chain line arrows to complete the translation without obtaining the intermediate language.
There have been proposed a number of translation apparatuses which can translate, through either the pivot method or transfer method, an original language, sentence by sentence, to a target language, and the translated result will be displayed on a screen.
A problem in the prior art translation apparatuses is that when the sentence of the original language contains one or more inserted marks such as colons, semicolons, quotation marks, or parentheses, the translation procedure becomes very difficult and complicated.
For example, when the original language sentence contains a colon or semicolon, the translation machine automatically and uniformly translates each inserted colon or semicolon to a most plausible translation in the target language. In some cases, the sentences with the colon or semicolon are translated correctly, but in other cases, the translated sentences are meaningless. In such a case, the operator manually provides proper translations or marks in the target language, thereby reducing the reliability of the translation system.
Another example is when the original language sentence contains parentheses. In this case, the operator usually deletes the parentheses together with the contents therein, so that the machine can translate the sentence without the parentheses and the contents therein. Then, the operator manually translates the contents within the parentheses and inserts the translated result in the machine translated sentence together with the parentheses. Therefore, it is very difficult to obtain a properly translated sentence having parentheses and the contents thereof inserted in the right place.
A further example is when the original language sentence contains quotation marks. In this case, each quotation mark is rendered as a word in the translation procedure. However, since the word order can change between the original and the target languages, the grammar for inserting the quotation marks can be very difficult.
SUMMARY OF THE INVENTION
The present invention has been developed to substantially solve the above described disadvantages and has for its essential objective to provide an improved translation system which can automatically translate the original language sentence into the target language sentence even when the original language sentence contains one or more inserted marks.
In accomplishing these and other, objectives, a translation system for translating a sentence of an original language into a sentence of a target language includes a computer which has subroutines for pre-treating an insertion mark which is one of quotation mark, colon, semicolon or parenthesis used in the original language sentence, and subroutines for post-treating the insertion mark to provide an appropriate translation of the insertion mark into the target language sentence.
BRIEF DESCRIPTION OF THE DRAWINGS
These and other objectives and features of the present invention will become apparent from the following description taken in conjunction with a preferred embodiment thereof with reference to the accompanying drawings, throughout which like parts are designated by like reference numerals, and in which:
FIG. 1 is a diagrammatic view showing the processes for translating from one language to another language;
FIG. 2 is a block diagram of a translation apparatus according to a preferred embodiment of the present invention;
FIG. 3 is a block diagram showing a detail of the translation module shown in FIG. 2;
FIG. 4 is a block diagram showing the translation processes employed in the embodiment of the present invention;
FIGS. 5a to 5e, are diagrammatic views showing the data to be stored in the buffers shown in FIG. 3;
FIG. 6 is a main flow chart showing the operation of the language translation according to the present invention;
FIG. 7 is a flow chart showing the colon/semicolon pre-treatment subroutine and the colon/semicolon post-treatment subroutine shown in FIG. 6;
FIGS. 8a, 8b and 8c are diagrams showing the data to be stored in the buffer;
FIGS. 9a, 9b and 9c are diagrams showing the tree structure data stored in the buffer;
FIG. 10 is a schematic view showing the display of the translation results of the sentences containing a semicolon;
FIG. 11 is a flow chart showing the quotation mark pre-treatment subroutine shown in FIG. 6;
FIG. 12 is a flow chart showing the generation subroutine shown in FIG. 6;
FIG. 13 is a flow chart showing the phrase generation subroutine shown in FIG. 12;
FIG. 14 is a diagrammatic view showing an example of an inputted sentence with quotation maxks;
FIG. 15 is a diagram showing a tree structure data stored in the buffer;
FIGS. 16, 17 and 18 are schematic views showing the display of the translation results of the sentences containing quotation, marks;
FIG. 19 is a flow chart showing the dictionary lookup subroutine shown in FIG. 6; and
FIG. 20 is a diagram showing the data to be stored in the buffer.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Referring to FIG. 2, a block diagram of a language translation apparatus according to a preferred embodiment of the present invention is shown, which performs translation from one language-(original language), such as English, to another language (target language), such as Japanese, using a computer. The translation apparatus comprises a central processing unit (CPU) 1 for carrying out the translation, a main memory 2 for storing programs to be used in CPU 1, a display 3 having a cathode-ray tube (CRT) for displaying the necessary information required for the translation, a keyboard 4 for inputting necessary information required for the translation process, a translation module 5 for storing such information or the like, and a table 6 for storing dictionary, grammar and conversion rules to be used during the conversion between tree structures. It is to be noted that an optical character reader (OCR) may be used as an input means for inputting the original sentences to be translated.
According to the embodiment disclosed herein, the translation is carried out using the transfer method, as explained above in connection with FIG. 1, with the analysis done as far as the syntactic analysis. However, it is possible to use the pivot method or the transfer method with the analysis done up to different levels.
Referring to FIG. 3, a hardware structure of the translation module 5 is shown, which comprises five buffers B1, B2, B3, B4 and B5, a CPU and a program memory. The five buffers are provided for storing the analysis results of the different levels.
Referring to FIG. 4, a flowchart of the translation module 5 is shown which comprises: a dictionary lookup process 51 for obtaining information for each word using a dictionary stored in the memory upon receipt of the original language (English) sentence; a syntactic analysis process 52 for analyzing the sentence in a tree structure; a semantic analysis process 53 for analyzing the meaning of the sentence; and a sentence generation process 54 for generating a sentence into the target language (Japanese).
It is now assumed that an English sentence "This is a pen" is inputted to the apparatus. Buffers B1 and B2 are used for the dictionary look-up process 51. In buffer B1, the sentence is separated into words and the words are sequentially stored in different areas, as shown in FIG. 5a. Then, in buffer B2, each original word is provided with various word information utilizing a dictionary and grammar text stored in the apparatus. An example of the data stored in buffer B2 is shown in FIG. 5b.
Although the word "this" can be either an adjective, a pronoun, or an adverb, it is determined as a pronoun in the syntactic analysis process 52. Thus, buffer B3, which is used for process 52, stores the sentence in association with a tree construction analysis. To obtain the tree structure of FIG. 5c, an analysis shown in Table 2 below is carried out with the necessary information derived from table 6 (FIG. 3), which carries words and the translation and grammatical information.
              TABLE 2                                                     
______________________________________                                    
UNIT        ELEMENTS DEFINING THE UNIT                                    
______________________________________                                    
Sentence    Subject and Predicate                                         
Subject     Noun phrase                                                   
Predicate   Verb and Noun phrase                                          
Noun phrase Pronoun                                                       
Noun phrase Article and Noun                                              
______________________________________                                    
By the above table, each unit can be analyzed elements. For example, a sentence can be analyzed according to a subject and a predicate.
Then, in semantic analysis process 53, analysis is carried out in accordance with a conversion from the tree structure based on the English language to the tree structure based on the Japanese language to obtain a new tree structure, as shown in FIG. 5d, which is stored in buffer B4.
Thereafter, in the sentence generation process 54, postpositional words each functioning as an auxiliary to a main word, according to the Japanese grammar, are added to complete the translation into Japanese. The translation as completed is stored in buffer B5 as shown in FIG. 5e, and is outputted from translation module 5.
Referring to FIG. 6, the language translation system of the present invention is programmed to follow: a quotation mark pre-treatment subroutine I; a colon/semicolon pre-treatment subroutine II; a dictionary look-up subroutine III; a colon/semicolon post-treatment subroutine IV; a syntactic analysis subroutine; a transfer subroutine; and a generation subroutine V, which are carried out in translation module 5.
The colons and semicolons are pre-treated and post-treated in subroutines II and IV, respectively, which will be described in detail in connection with FIGS. 7-10. The quotation marks are pre-treated and post-treated in subroutines I and V, respectively, which will be described in detail in connection with FIGS. 11-18. The parentheses are pre-treated and post-treated in subroutines III and V, respectively, which will be described in detail in connection with FIGS. 19, 13 and 20.
Colons and Semicolons
Referring to FIG. 7, a flow chart of subroutines II and IV for the colon and semicolon pre-treatment and post-treatment is shown. The colon and semicolon pre-treatment subroutine II includes a step II-1 at which it is detected whether or not the input sentence ends with a colon or semicolon. If the answer is YES, the program goes to step II-2 at which a period is added at the end of the sentence. If the answer is NO, the program goes to the dictionary look-up subroutine.
Three different examples are given below.
(A) This chapter explains;
(B) This chapter explains these;
(C) This chapter explains, these; the next chapter explains those.
In the case where the sentence (A) or (B) is inputted, a period is added at the end of the sentence, such as shown below.
(A) This chapter explains;.
Then, in the dictionary look-up subroutine III, the words in the sentence (A) are analyzed and the result is stored in the buffer, such as shown in FIG. 8a. Similarly, the sentences (B) and (C) are analyzed and the results are stored in the buffer, such as shown in FIGS. 8b and 8c, respectively. As apparent from FIGS. 8a, 8b and 8c, the semicolon is identified as one word and is analyzed either as a punctuation mark, pronoun or conjunction. The same can be said of the colon.
The colon and semicolon post-treatment subroutine IV includes a step IV-1 at which it is detected whether or not the input sentence contains a colon or semicolon either within the body of the sentence or at the end of the sentence. In the cases of the above three examples, the result will be YES, so that the program goes to step IV-2, at which it is detected whether or not the colon or semicolon is located immediately before the period. If YES, such as in the case of examples (A) and (B), the program goes to step IV-3 at which the "conjunction" is deleted from the row defining the semicolon, as shown by parentheses in FIGS. 8a and 8b. Thus, the colon or semicolon inserted immediately before the period is defined as a punctuation mark or pronoun. On the contrary, if the answer is NO, meaning that the colon or semicolon is located intermediately within the body of the sentence, such as in the case of example (C), the program goes to step IV-4 at which the "punctuation" and "pronoun" are deleted from the row defining the semicolon, as shown by parentheses in FIG. 8c. Thus, the colon or semicolon provided within the body of the sentence is defined as a conjunction.
Then, in the subroutine for the syntactic analysis, a tree structure is obtained, such as shown in FIGS. 9a, 9b and 9c for the above given three examples, respectively. Under this embodiment, instead of Table 2, the analysis for obtaining the tree structure is carried out using a Table 2' as shown below.
              TABLE 2                                                     
______________________________________                                    
UNIT        ELEMENTS DEFINING THE UNIT                                    
______________________________________                                    
Sentence    Declarative Sentence + Punctuation Mark                       
Declarative Noun phrase + Verb phrase                                     
Sentence                                                                  
Noun phrase Pronoun                                                       
Noun phrase Demonstrative Adjective + Noun                                
Noun phrase Demonstrative Adjective + Adjective +                         
            Noun                                                          
Verb phrase Verb + Noun phrase                                            
Declarative Declarative Sentence + conjunction +                          
Sentence    Declarative Sentence                                          
______________________________________                                    
By the above table, each unit can be analyzed in elements. For example, a sentence can be analyzed according to a declarative sentence and a punctuation mark, as shown in FIGS. 9a, 9b and 9c.
In the case of example sentence (A), the semicolon is provided after a transitive verb "explain" which takes an object, as identified in the dictionary look-up subroutine, and, therefore, the semicolon is considered to be the object of the transitive verb "explain" and is finally analyzed as a pronoun, as shown in FIG. 9a. If it is so defined in the dictionary that the semicolon is used as a pronoun means, in Japanese, "" (read as "ika", meaning "follow"), the example sentence (A) will be translated into Japanese as shown in FIG. 10, row 1, reading a Japanese equivalent of "This chapter explains as follows."
In the case of example sentence (B), since the word "these" serves as the object of the transitive verb "explain", the semicolon is finally analyzed as a punctuation mark, i.e., a period. The period added at the end of this sentence at step II-2 will not appear in the tree structure, because it is not necessary to provide more than one period at the end of a sentence. Therefore, the added period will not be used in the translation. The example sentence (B) will be translated into Japanese as shown in FIG. 10, row 2, reading a Japanese equivalent of "This chapter explains these."
In the case of example sentence (C), the semicolon is finally analyzed as a conjunction. Thus, the example sentence (C) is analyzed as a compound sentence separated at the semicolon, and it will be translated into Japanese as shown in FIG. 10, row 3, in which the Japanese translation says `This chapter explains these; the next chapter explains those.`
Quotation Marks
Referring to FIG. 11, a flow chart of the quotation mark pre-treatment subroutine I is shown. The quotation mark pre-treatment subroutine includes a step I-1 at which a pointer for pointing a word to be processed is reset to zero, so as to move the pointer to the first word. Then, at step I-2, a begin quotation mark (") is searched for and, at step I-3, it is detected whether or not the begin quotation mark is found. If YES, the program goes to step I-4 to store a word position of a word accompanying the detected begin quotation mark (") and a begin quotation mark itself. It is to be noted that the words of the input sentence are provided with word position numbers in series starting from zero, such as shown in FIG. 14. Then, at step I-5, an end quotation mark (") is searched for. When the end quotation mark is found, the program goes to step I-6 and further to step I-7 to store the word position of a word accompanying the detected end quotation mark (") and an end quotation mark itself. Thereafter, steps I-2 through I-7 are repeated to find all the quotation marks contained in the input sentence.
When a begin quotation mark is no longer found, the program goes from step I-3 to step I-9. Also, when an end quotation mark is no longer found, the program goes from step I-6 to step I-8 at which the stored word position of the word with begin quotation mark is cleared, and the program further goes to step I-9. Therefore, the word positions of the words provided with begin and end quotation marks are stored in pairs. At step I-9, the quotation marks at the stored word positions are deleted.
By the above program, a mark similar to or the same as the quotation mark, such as a mark representing the inches, will not be detected and thus, will not be deleted.
It is now assumed that the input sentence is: I bought a car "with 1000 dollars." In this case, each word is given a serial number starting from zero, as shown in FIG. 14 (step I-1). Then, at step I-4, the word position number "4" is stored together with the begin quotation mark. Thereafter, at step I-7, the word position number "6" is stored together with the quotation mark. Here, the reason for storing the word position number "6" instead of "7" is such that, in the case where the sentence ends with a period, the position of a word before the period is stored for expediency sake. Then, when the program goes to step I-3 for the second time, it jumps to step 1-9 at which the quotation marks provided at the words corresponding to the stored word positions are deleted. Therefore, after the quotation mark pre-treatment subroutine I, such as in the dictionary look-up subroutine III and in the syntactic analysis subroutine, the sentence with no quotation mark is treated. Thus, no special grammar rule is needed to analyze the sentence.
Referring to FIG. 12, a flow chart of the quotation mark post-treatment subroutine V is shown. In the quotation mark post-treatment subroutine, the program operates with one unit of a phrase at a time and is applied in the order determined by the grammar rule. Thus, the phrases shown in the second analyzed level in FIG. 15 are applied and treated in the flow chart of FIG. 12 sequentially in the following order: first, the noun phrase "I" which has the first word position of "0" and the last word position of "0" is applied; second, the prepositional phrase "with 1000 dollars" which has the first word position of "4" and the last word position of "6" is applied; third, the noun phrase "a car" which has the first word position of "2" and the last word position of "3" is applied; fourth, the verb phrase "bought" which has the first word position of "1" and the last word position of "1" is applied; and fifth, the sentence end, which is the period, is applied.
At step V-1, the first and the last word positions of the applied phrase are compared with the stored word positions"4" and "6" as obtained in previous steps I-4 and I-7, respectively, and when they match each other, the program goes to step V-2 at which a flag is set. Then, at step V-3, a begin quotation mark in the target language (for example, in Japanese, the begin quotation mark is expressed by ".left brkt-top.") is generated. Thereafter, at step V-4, the phrase detected at step V-1, in this case the prepositional phrase, is generated into Japanese. Then, at step V-5, since the flag is now set, the program goes to step V-6 at which an end quotation mark in the target language (for example, in Japanese, the end quotation mark is expressed by ".right brkt-bot.") is generated. Then, it is detected at step V-7 whether or not all the phrases are generated. If not, the program goes to step V-8 at which the flag is reset and repeats steps V-1 through V-7 to generate another phrase. When all the phrases are generated, the program completes the translation of the input sentence. The translated result will be displayed, such as in a manner shown in FIG. 16. FIGS. 17 and 18 show other examples of the translated results.
Parentheses
Referring to FIG. 19, a flow chart of the dictionary look-up subroutine III, which includes the parentheses pre-treatment, is shown. The dictionary look-up subroutine III includes a step III-1 at which a pointer for pointing out a word to be processed is reset to zero, so as to move the pointer to the first word. Then, at step III-2, it is detected whether or not the word is a begin parenthesis [(]. If it is not the begin parenthesis, the program goes to step III-3 at which the word is looked up in the dictionary to find its translation and other information such as its grammatical definition. The obtained information is stored in a buffer. Then, at step III-5, the pointer is moved to the next word and, at step III-6, it is detected whether or not all the words are translated. If not, the program returns to step III-2.
At step III-2, if it is detected that the word is the begin parenthesis, the program goes to step III-7 at which the number of words within and including the begin and end parentheses is counted. For example, if the input sentence is: I have a pen (I bought it yesterday)., the number of words within and including the begin and end parentheses is "6", as indicated in FIG. 20. The counted result is added to the number of words for the word just before the begin parenthesis. Therefore, the contents in the parentheses together- with the parentheses are defined as belongings of a word immediately before the begin parenthesis. Thus, according to the above example, the counted result "6" is added to the word number "1" of the word "pen" just before the begin parenthesis and the sum "7" is stored for the word number of the word "pen", as shown in FIG. 20. Thus, in the later subroutines, such as in the syntactic analysis subroutine, the word "pen" is treated as a single noun consisting of seven words. Then, at step III-8, the number of words within and including the begin and end parentheses is counted and is stored. Thus, in the example, the word number "6" is stored for the word number of the word "(". Thereafter, at step III-9, the contents of one buffer are temporarily removed and cleared for use in translating the words within the parentheses, as carried out in step III-10. The translated result is stored in another buffer (step III-11), and the temporarily removed data is returned back to the original buffer. Thereafter, at step III-5, the pointer is moved to the word next to the end parenthesis.
In this manner, the words within the parentheses are previously translated. If it is not necessary to translate the words in the parentheses, steps III-9 through III-12 may be skipped.
Referring to FIG. 13, a detail flow chart of the phrase generation step V-4 contained in FIG. 12 is shown. In this phrase generation subroutine V-4, the steps of the parentheses post-treatment are included.
At step V-4a, the translation of each word in the phrase is stored in a buffer. Then, at step V-4b, it is detected whether or not the next word is the begin parenthesis [(]. If YES, the program goes to step V-4c at which the words within and including the parentheses, which are already translated in the target language, are stored in the translation buffer. Then, at step V-4d, it is detected whether or not all the words in the phrase are translated. If not, the program goes to step V-4e to shift the pointer to the next word. In the case where the pointer is pointing the begin parenthesis [(], the next word which will be pointed by the pointer in step V-4e will be the word after the end parenthesis [(]. This can be accomplished by increasing the counter of the pointer by the amount of the word number stored for the begin parenthesis, such as shown in FIG. 20.
As has been fully described above, according to the present invention, since the input sentence which contains inserted marks, such as colons, semicolons, quotation marks, or parentheses, etc., can be translated automatically without employing any sophisticated grammer or program, the translation can be done quickly and with less errors.
The embodiment herein described is designed to carry out the translation under the transfer method with the analysis done as far as the syntactic analysis. However, the program may also be so designed as to carry out the translation under the pivot method or the transfer method with the analysis done up to different levels.
Although the present invention has been fully described in connection with the preferred embodiment thereof with reference to the accompanying drawings, it is to be noted that various changes and modifications are apparent to those skilled in the art. Such changes and modifications are to be understood as included within the scope of the present invention as defined by the appended claims unless they depart therefrom.

Claims (26)

What is claimed is:
1. A .[.translation.]. system for .[.translating a.]. .Iadd.enabling translation of an input .Iaddend.sentence of an original language into a sentence of a target language comprising:
first detecting means for detecting either a colon or semicolon within the original language sentence .Iadd.input into the translation system.Iaddend.;
second detecting means for detecting a position of the detected colon or semicolon in the original language sentence, said position being either at an end of the original language sentence or within the body of the original language sentence; and syntactic analysis .[.mans.]. .Iadd.means .Iaddend.for defining the detected colon or semicolon located at the end of the original language sentence as a punctuation mark or a pronoun and for defining the detected colon or semicolon located within the body of the original language sentence as a conjunction .Iadd., to enable subsequent translation of the input sentence of an original language into the sentence of a target language.Iaddend..
2. A .[.translation.]. system for .[.translating a.]. .Iadd.enabling translation of an input .Iaddend.sentence of an original language into a sentence of a target language comprising:
first detecting means for detecting if a colon or semicolon is positioned at an end of the original language sentence .Iadd.input into the translation system.Iaddend.;
adding means, in response to said first detecting means, for adding a period after said colon or semicolon when said first detecting means detects said position of said colon or semicolon is at the end of the original language sentence to form a modified original language sentence;
second detecting means for detecting if a colon or semicolon is positioned within the body of the original language sentence;
third detecting means for detecting if the detected colon or semicolon is located immediately before the added period of said modified original language sentence or if the detected colon or semicolon is located intermediately within the body of the original language sentence; and
syntactic analysis means for defining said colon or semicolon located immediately before the added period as a punctuation mark when the original language sentence has a transitive verb and an object;
said syntactic analysis means defining said colon or semicolon located immediately before the added period of said modified original language sentence as a pronoun when the original language sentence has a transitive verb but no object;
said syntactic analysis means defining said colon or semicolon located intermediately within the body of the original language sentence as a conjunction.Iadd., to enable subsequent translation of the input sentence of an original language into a sentence of a target language.Iaddend..
3. A translation system for translating .[.a.]. .Iadd.an input .Iaddend.sentence of an original language into a sentence of a target language comprising:
numbering means for .[.providing.]. .Iadd.assigning .Iaddend.a .[.serial number.]. .Iadd.word .Iaddend.position .Iadd.number .Iaddend.to each word in the sentence of the original language .Iadd.input into the translation system.Iaddend.;
detecting means for detecting a pair of .Iadd.first and second .Iaddend.quotation marks within the original language sentence;
storing means for storing said .[.serial number positions.]. .Iadd.word position numbers .Iaddend.of the .Iadd.word immediately subsequent to and the word immediately preceding the .Iaddend.detected .Iadd.first and second .Iaddend.quotation marks.Iadd., respectively, as first and second respective positions.Iaddend.;
deleting means for deleting the detected quotation marks from the original language sentence to create a modified original language sentence;
translation means for translating said modified original language sentence into the target language sentence; and
adding means for .[.adding.]. .Iadd.reinserting the first .Iaddend.quotation .[.marks into the.]. .Iadd.mark, prior to translation, upon detecting a word position number of a word of a phrase to be .Iaddend.translated .[.target language sentence.]. .Iadd.corresponding to the stored first position .Iaddend. .[.at positions.]., .Iadd.and for reinserting the second quotation mark, subsequent to translation, upon detecting word position number of a word of a phrase to be translated .Iaddend.corresponding to the stored .[.serial number positions.]. .Iadd.second position.Iaddend..
4. A translation system for translating .[.a.]. .Iadd.an input .Iaddend.sentence of an original language into a sentence of a target language comprising:
detecting means for detecting a begin parenthesis and an end parenthesis in the original language sentence .Iadd.input into the translation system.Iaddend.; .[.and.].
grouping means for grouping contents within the parentheses together with the parentheses and for designating the grouped contents as a single word .[.to be combined.]. .Iadd.and combining the grouped contents .Iaddend.with a word immediately positioned before said begin parenthesis.Iadd.; and
translation means for translating, together, the combined group contents and the word positioned immediately before the begin parenthesis into the target language sentence.Iaddend..
5. The translation system as claimed in claim 4, further comprising:
translating means for translating the contents in the parentheses into the target language.
6. A method for .[.translating punctuation marks of.]. .Iadd.enabling translation of .Iaddend.an original language .Iadd.sentence .Iaddend.into a target language .[.utilizing.]. .Iadd.sentence in a translation system including .Iaddend.a translation apparatus .[.a.]. .Iadd.and an electronic memory, .Iaddend.comprising the steps of:
(a) detecting a position of a semicolon or colon in a sentence of the original language .Iadd.input into the translation system.Iaddend.;
(b) analyzing .Iadd.and storing in the electronic memory of the translation system, .Iaddend.the position of the semicolon or colon detected in said step (a);
(c) defining the semicolon or colon as a punctuation mark when the position of the semicolon or colon is detected to be at an end of the sentence of the original language in said step (a) and the sentence of the original language has a transitive verb and an object;
(d) defining the semicolon or colon as a pronoun when the position of the semicolon or colon is detected to be at an end of the sentence of the original language in said step (a) and the sentence of the original language has a transitive verb but no object; and
(e) defining the semicolon or colon as a conjunction when the position of the semicolon or colon is detected to be intermediately within the sentence of the original language.Iadd., to enable subsequent translation of the input original language sentence into a target language sentence in the translation apparatus.Iaddend..
7. The method as claimed in claim 6 further comprising the steps of:
(f) adding a period to the end of the sentence of the original language when the position of the semicolon or colon is detected to be at the end of the sentence of the original language in said step (a).
8. A method for translating punctution marks of an original language into a target language .Iadd.in a translation system including a translation apparatus and an electronic memory, .Iaddend.comprising the steps of:
(a) assigning a .[.serial number.]. .Iadd.word .Iaddend.position .Iadd.number .Iaddend.to each word in a sentence of the original language .Iadd.input into the translation system.Iaddend.;
(b) detecting a pair of .Iadd.first and second .Iaddend.quotation marks within the sentence of the original language;
(c) storing the .[.serial number positions corresonding to the.]. .Iadd.word position numbers of the word immediately subsequent to and the word immediately preceding the first and second .Iaddend.quotation marks.Iadd., respectively, .Iaddend.detected in said step (b).Iadd., in the electronic memory of the translation system.Iaddend.;
(d) deleting the detected .Iadd.first and second .Iaddend.quotation marks from the sentence of the original language to create a modified sentence;
(e) translating the modified sentence of said step (d) .Iadd.into a target language sentence in the translation apparatus; .Iaddend.and
(f) .[.adding the.]. .Iadd.reinserting the first .Iaddend.quotation .[.marks into the.]. .Iadd.mark, prior to translation, upon detecting a word position number of a word of a phrase to be translated corresponding to the stored first position, and for reinserting the second quotation mark, subsequent to translation, upon detecting a word position number of a word of a phrase to be .Iaddend.translated .[.sentence of said step (e) at positions.]. corresponding to the stored .[.serial number positions.]. .Iadd.second position.Iaddend..
9. A method for translating .[.punctuation marks of.]. an original language .Iadd.sentence .Iaddend.into a target language .Iadd.sentence in a translation system including a translation apparatus.Iaddend., comprising the steps of:
(a) detecting a begin parenthesis and an end parenthesis in a sentence of the original language .Iadd.input into the translation system.Iaddend.;
(b) grouping contents within the parentheses together with the parentheses;
(c) designating the grouped contents of said step (b) as a single word; .[.and.].
(d) combining the designated word of said step (c) with a word immediately positioned before the begin parenthesis.[...]. .Iadd., and
(e) translating, together, the combined words of step (d) into the target language, in a translation apparatus.Iaddend..
10. The method as claimed in claim 9 further comprising the steps of:
(e) separately translating the grouped contents of the parentheses into the target language. .Iadd.
11. A system for enabling translation of an input sentence of an original language into a sentence of a target language comprising:
first detecting means for detecting an insertion mark within the original language sentence input into the translation system;
second detecting means for detecting a position and type of the detected insertion mark in the original language sentence, said position being either at an end of the original language sentence or within the body of the original language sentence; and
means for defining the detected insertion mark located within the body of the original language sentence as a conjunction, a punctuation mark, or a pronoun based upon the detected position and detected type of the detected insertion mark, to enable subsequent translation of the original language sentence into the target language sentence. .Iaddend..Iadd.12. A system for enabling translation of an input sentence of an original language into a sentence of a target language comprising:
first detecting means for detecting if insertion mark is positioned at an end of the original language sentence input into the translation system;
adding means, in response to said first detecting means, for adding a period after said insertion mark when said first detecting means detects said position of said insertion mark is at the end of the original language sentence to form a modified original language sentence;
second detecting means for detecting if an insertion mark is positioned within the body of the original language sentence;
third detecting means for detecting if the detected insertion mark is located immediately before the added period of said modified original language sentence or if the detected insertion mark is located intermediately within the body of the original language sentence; and
means for defining said insertion mark, in response to the third detecting means detecting the insertion mark as being located intermediately within the body of the original language sentence, as a conjunction, to enable subsequent translation of the original language sentence into the target
language sentence. .Iaddend..Iadd.13. The system as claimed in claim 12, wherein said means for defining the insertion mark is further for defining the detected insertion mark, in response to the first detecting means detecting the insertion mark as being located at the end of the original
language sentence, as a punctuation mark or a pronoun. .Iaddend..Iadd.14. The system as claimed in claim 12, wherein said means for defining further defines said insertion mark, in response to the third detecting means detecting the insertion mark as being located immediately before the added period of said modified original language sentence, as a punctuation mark when the original language sentence has a transitive verb and an object. .Iaddend..Iadd.15. The system as claimed in claim 12 wherein said means for defining further defines said insertion mark, in response to the third detecting means detecting the insertion mark as being located immediately before the added period of said modified original language sentence, as a pronoun when the original language sentence has a transitive verb but no
object. .Iaddend..Iadd.16. A translation system for translating an input sentence of an original language into a sentence of a target language comprising:
numbering means for assigning a word position number to each word in the sentence of the original language input into the translation system;
detecting means for detecting a pair of first and second like insertion marks within the original language sentence;
storing means for storing said word position numbers of the first and second paired like insertion marks, respectively, as first and second respective positions;
deleting means for deleting the detected first and second paired like insertion marks from the input original language sentence to create a modified original language sentence;
translation means for translating said modified original language sentence into the target language sentence; and
adding means for reinserting the first insertion mark, prior to translation, upon detecting a word position number of a word of a phrase to be translated corresponding to the stored first position, and for reinserting the second like insertion mark, subsequent to translation, upon detecting a word position number of a word of a phrase to be translated corresponding to the stored second position.
.Iaddend..Iadd. A translation system for translating an input sentence of an original language into a sentence of a target language comprising:
detecting means for detecting a begin insertion mark and an end insertion mark, of paired like insertion marks, in the input original language sentence;
grouping means for grouping contents within the paired like insertion marks together with the paired insertion marks, for designating the grouped contents as a single word and for combining the grouped contents with a word immediately positioned before the begin insertion mark; and
translation means for translating, together, the combined group contents and word immediately positioned before the begin insertion mark of the
original input sentence, into the translated sentence. .Iaddend..Iadd.18. The translation system as claimed in claim 17, further comprising:
translating means for translating the contents in between the paired like
insertion marks into the target language. .Iaddend..Iadd.19. A method for enabling translation of an input original language sentence into a target language sentence in a system including a translation apparatus and an electronic memory, comprising the steps of:
(a) detecting a position of an insertion mark in a sentence of the original language input into the translation system;
(b) analyzing and storing in the electronic memory of the translation system, the position of the insertion mark detected in said step (a); and
(c) defining the insertion mark as a conjunction when the position of the insertion mark is detected to be intermediately within the sentence of the original language, to enable subsequent translation of the input sentence of the original language into the sentence of the target language in the
translation apparatus. .Iaddend..Iadd.20. The method as claimed in claim 19 further comprising the step of:
(d) defining the insertion mark as a punctuation mark when the position of the insertion mark is detected to be at an end of the sentence of the original language in said step (a) and the sentence of the original
language has a transitive verb and an object. .Iaddend..Iadd.21. The method as claimed in claim 19 further comprising the step of:
(d) defining the detected insertion mark located at the end of the original language sentence as a punctuation mark or a pronoun. .Iaddend..Iadd.22. The method as claimed in claim 19 further comprising the step of:
(d) adding a period to the end of the sentence of the original language when the position of the insertion mark is detected to be at the end of the sentence of the original language in said step (a). .Iaddend..Iadd.23. The method as claimed in claim 19 further comprising the step of:
(d) defining the insertion mark as a pronoun when the position of the insertion mark is detected to be at an end of the sentence of the original language in said step (a) and the sentence of the original language has a
transitive verb but no object. .Iaddend..Iadd.24. A method for translating an input original language sentence into a target language sentence in a translation system including a translation apparatus and an electronic memory, comprising the steps of:
(a) assigning a word position number to each word in a sentence of the original language input into the translation system;
(b) detecting a pair of first and second like insertion marks within the sentence of the original language;
(c) storing the word position numbers of the word immediately subsequent to and the word immediately preceding the paired first and second like insertion marks, respectively, as stored first and second respective positions in the electronic memory of the translation system;
(d) deleting the detected paired first and second like insertion marks from the sentence of the original language to create a modified sentence;
(e) translating the modified sentence of said step (d) into a target language sentence in the translation apparatus; and
(f) reinserting the first paired like insertion mark, prior to translation, upon detecting a word position number of a word of a phrase to be translated corresponding to the stored first position, and for reinserting the second paired like insertion mark, subsequent to translation, upon detecting a word position number of a word of a phrase to be translated
corresponding to the stored second position. .Iaddend..Iadd.25. A method for enabling translation of an input original language sentence into a target language sentence in a system, including a translation apparatus, comprising the steps of:
(a) detecting a first insertion mark of a pair of like insertion marks and a last insertion mark of the pair of like insertion marks in a sentence of the original language input into the translation system;
(b) grouping contents within the paired like insertion marks together with the paired like insertion marks;
(c) designating the grouped contents of said step (b) as a single word;
(d) combining the designated single word of said step (c) with a word immediately positioned before the first insertion mark of the pair of like insertion marks; and
(e) translating, together, the combined words of step (d) into the target language in the translation apparatus. .Iaddend..Iadd.26. The method as claimed in claim 25 further comprising the step of:
(f) separately translating the grouped contents of the paired like insertion marks of step (b) into the target language. .Iaddend..Iadd.27. The system of claim 11, wherein the second detecting means detects types of insertion marks, said types including colons and semicolons.
.Iaddend..Iadd.28. The system of claim 12, wherein said insertion marks
include colons and semicolons. .Iaddend..Iadd.29. The translation system of claim 16 wherein the detecting means is for detecting a pair of like insertion marks, said pair of like insertion marks including a pair of
quotation marks. .Iaddend..Iadd.30. The system of claim 17, wherein the detecting means detects a begin insertion and insertion mark, of paired like insertion marks, said begin insertion mark including a first parenthesis of a pair of parentheses add said end insertion mark including
a second parenthesis of a pair of parentheses. .Iaddend..Iadd.31. The method of claim 19, wherein a position of an insertion mark is detected in step (a), the insertion marks including colons and semicolons.
.Iaddend..Iadd.32. The method of claim 24, wherein a pair of like insertion marks are detected in step (b), the pair of like insertion marks including a pair of quotation marks. .Iaddend..Iadd.33. The method of claim 25, wherein a first insertion mark of a pair of like insertion marks, and a last insertion mark of a pair of like insertion marks is detected in step (a), the pair of like insertion marks including a pair of parentheses. .Iaddend.
US08/336,199 1986-11-28 1994-11-03 Apparatus and method for translating sentences containing punctuation marks Expired - Lifetime USRE35464E (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US08/336,199 USRE35464E (en) 1986-11-28 1994-11-03 Apparatus and method for translating sentences containing punctuation marks

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP61284485A JPS63136262A (en) 1986-11-28 1986-11-28 Translating device
JP61284491A JPS63136268A (en) 1986-11-28 1986-11-28 Mechanical translating device
JP61-284491 1986-11-28
JP61-284484 1986-11-28
JP61-284485 1986-11-28
JP61284484A JPS63136261A (en) 1986-11-28 1986-11-28 Translating device
US07/126,262 US4964030A (en) 1986-11-28 1987-11-27 Apparatus for translating sentences containing punctuation marks
US96157592A 1992-10-15 1992-10-15
US08/336,199 USRE35464E (en) 1986-11-28 1994-11-03 Apparatus and method for translating sentences containing punctuation marks

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
US07/126,262 Reissue US4964030A (en) 1986-11-28 1987-11-27 Apparatus for translating sentences containing punctuation marks
US96157592A Continuation 1986-11-28 1992-10-15

Publications (1)

Publication Number Publication Date
USRE35464E true USRE35464E (en) 1997-02-25

Family

ID=27530736

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/336,199 Expired - Lifetime USRE35464E (en) 1986-11-28 1994-11-03 Apparatus and method for translating sentences containing punctuation marks

Country Status (1)

Country Link
US (1) USRE35464E (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6338033B1 (en) * 1999-04-20 2002-01-08 Alis Technologies, Inc. System and method for network-based teletranslation from one natural language to another
US6385568B1 (en) * 1997-05-28 2002-05-07 Marek Brandon Operator-assisted translation system and method for unconstrained source text
US6446036B1 (en) 1999-04-20 2002-09-03 Alis Technologies, Inc. System and method for enhancing document translatability
US20060150069A1 (en) * 2005-01-03 2006-07-06 Chang Jason S Method for extracting translations from translated texts using punctuation-based sub-sentential alignment
US20060206305A1 (en) * 2005-03-09 2006-09-14 Fuji Xerox Co., Ltd. Translation system, translation method, and program
US20060217956A1 (en) * 2005-03-25 2006-09-28 Fuji Xerox Co., Ltd. Translation processing method, document translation device, and programs
US20100235162A1 (en) * 2009-03-16 2010-09-16 Xerox Corporation Method to preserve the place of parentheses and tags in statistical machine translation systems

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4593356A (en) * 1980-07-23 1986-06-03 Sharp Kabushiki Kaisha Electronic translator for specifying a sentence with at least one key word
US4597055A (en) * 1980-07-31 1986-06-24 Sharp Kabushiki Kaisha Electronic sentence translator
US4633435A (en) * 1980-10-28 1986-12-30 Sharp Kabushiki Kaisha Electronic language translator capable of modifying definite articles or prepositions to correspond to modified related words
EP0230339A2 (en) * 1986-01-14 1987-07-29 Kabushiki Kaisha Toshiba Machine translation system
US4706212A (en) * 1971-08-31 1987-11-10 Toma Peter P Method using a programmed digital computer system for translation between natural languages
US4773009A (en) * 1986-06-06 1988-09-20 Houghton Mifflin Company Method and apparatus for text analysis

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4706212A (en) * 1971-08-31 1987-11-10 Toma Peter P Method using a programmed digital computer system for translation between natural languages
US4593356A (en) * 1980-07-23 1986-06-03 Sharp Kabushiki Kaisha Electronic translator for specifying a sentence with at least one key word
US4597055A (en) * 1980-07-31 1986-06-24 Sharp Kabushiki Kaisha Electronic sentence translator
US4633435A (en) * 1980-10-28 1986-12-30 Sharp Kabushiki Kaisha Electronic language translator capable of modifying definite articles or prepositions to correspond to modified related words
EP0230339A2 (en) * 1986-01-14 1987-07-29 Kabushiki Kaisha Toshiba Machine translation system
US4821230A (en) * 1986-01-14 1989-04-11 Kabushiki Kaisha Toshiba Machine translation system
US4773009A (en) * 1986-06-06 1988-09-20 Houghton Mifflin Company Method and apparatus for text analysis

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Kumano et al., Patent Abstracts of Japan, vol. 12, No. 2, Group No. P652, Abstract No. 62 13173, Jul. 1987. *
Kumano et al., Patent Abstracts of Japan, vol. 12, No. 2, Group No. P652, Abstract No. 62-13173, Jul. 1987.
Patent Abstracts of Japan, vol. 10, No. 57, Abstract No. 01 201467, Abe, Oct. 11, 1985. *
Patent Abstracts of Japan, vol. 10, No. 57, Abstract No. 01-201467, Abe, Oct. 11, 1985.
Patent Abstracts of Japan, vol. 109, No. 162, Abstract No. 61 15274, Hirose, Jan. 23, 1986. *
Patent Abstracts of Japan, vol. 109, No. 162, Abstract No. 61-15274, Hirose, Jan. 23, 1986.

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385568B1 (en) * 1997-05-28 2002-05-07 Marek Brandon Operator-assisted translation system and method for unconstrained source text
US6338033B1 (en) * 1999-04-20 2002-01-08 Alis Technologies, Inc. System and method for network-based teletranslation from one natural language to another
US6446036B1 (en) 1999-04-20 2002-09-03 Alis Technologies, Inc. System and method for enhancing document translatability
US20060150069A1 (en) * 2005-01-03 2006-07-06 Chang Jason S Method for extracting translations from translated texts using punctuation-based sub-sentential alignment
US7774192B2 (en) * 2005-01-03 2010-08-10 Industrial Technology Research Institute Method for extracting translations from translated texts using punctuation-based sub-sentential alignment
US20060206305A1 (en) * 2005-03-09 2006-09-14 Fuji Xerox Co., Ltd. Translation system, translation method, and program
US7797150B2 (en) * 2005-03-09 2010-09-14 Fuji Xerox Co., Ltd. Translation system using a translation database, translation using a translation database, method using a translation database, and program for translation using a translation database
US20060217956A1 (en) * 2005-03-25 2006-09-28 Fuji Xerox Co., Ltd. Translation processing method, document translation device, and programs
US20100235162A1 (en) * 2009-03-16 2010-09-16 Xerox Corporation Method to preserve the place of parentheses and tags in statistical machine translation systems
US8280718B2 (en) * 2009-03-16 2012-10-02 Xerox Corporation Method to preserve the place of parentheses and tags in statistical machine translation systems

Similar Documents

Publication Publication Date Title
US4814987A (en) Translation system
US5161105A (en) Machine translation apparatus having a process function for proper nouns with acronyms
US5495413A (en) Translation machine having a function of deriving two or more syntaxes from one original sentence and giving precedence to a selected one of the syntaxes
US4964030A (en) Apparatus for translating sentences containing punctuation marks
US5895446A (en) Pattern-based translation method and system
US5010486A (en) System and method for language translation including replacement of a selected word for future translation
US5864788A (en) Translation machine having a function of deriving two or more syntaxes from one original sentence and giving precedence to a selected one of the syntaxes
US8423346B2 (en) Device and method for interactive machine translation
US5005127A (en) System including means to translate only selected portions of an input sentence and means to translate selected portions according to distinct rules
KR100911621B1 (en) Method and apparatus for providing hybrid automatic translation
JPS61163467A (en) Translation method
EP0403057B1 (en) Method of translating sentence including adverb phrase by using translating apparatus
US5353221A (en) Translation machine capable of translating sentence with ambiguous parallel disposition of words and/or phrases
USRE35464E (en) Apparatus and method for translating sentences containing punctuation marks
US4860206A (en) Translation system allowing user designation of postpositional words
US20020133331A1 (en) Correcting incomplete negation errors in French language text
JP3285149B2 (en) Foreign language electronic dictionary search method and apparatus
JP4361143B2 (en) Text translation method and apparatus
JP2608384B2 (en) Machine translation apparatus and method
Kaing Towards Morphological And Syntactic Analyses For The Khmer Language
Ozates DEEP LEARNING-BASED DEPENDENCY PARSING FOR TURKISH
JP3300492B2 (en) Dictionary inspection device
JP4361146B2 (en) Text translation device and recording medium
JPH06259466A (en) Machine translation system
JPS6180360A (en) Translation system

Legal Events

Date Code Title Description
FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12