Abstract:
An inventive indexing scheme to index phrases and sub-phrases for advanced leveraging for translation is presented. The scheme provides ways to match at various levels, and allows approximate matches. The system and method comprises an index structure comprising at least one phrasal marker and/or at least one sub-phrasal marker, the index structure performing advanced leveraging for translation by matching to previously stored index structures. The index structure can be a tree structure. The markers can contain constituent names, values, and a level number. Each marker can be obtained by parsing a target string, so that the parsing identifies the constituents and levels in the target string.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates generally to translation and more specifically to a system and method for enhancing translation processes. 
       BACKGROUND OF THE INVENTION 
       [0002]    Current localization systems having leveraging capability, such as translation memory (TM) systems, most often apply methodology based on string to string match. The types of fuzzy matches available are based on “levenstein edit distance algorithm” which, in most cases of leveraging, does not work well. For example, even minimal changes in the source string cause leverage failures and require re-translation afresh. These systems do not take into consideration language syntactic and/or semantics. 
         [0003]    On the other hand, systems and methods reflecting language and its characteristics are already being used in Machine Translation (MT) systems. Such MT systems have been developed to perform automatic translation, but these systems are costly and require additional investments of time and human resources to train and maintain them. Also such systems use, generally, unstructured ways to fetch/get translations from parallel corpora. Hence there is a need for a translation system incorporating advanced leveraging capabilities to improve the localization infrastructure&#39;s overall efficiency. 
       SUMMARY OF THE INVENTION 
       [0004]    An inventive indexing scheme to index phrases and sub-phrases for improving leveraging capability is presented. The inventive scheme enhances translation processes by doing it more efficiently, effectively and quickly through the use of proposed indexing scheme for translation leverage. Since this is an indexing scheme, it can be used by any Data-base application (Standard like Oracle/SQL Server or Custom XML based databases). This indexing scheme is XML based and provides ways to match at various levels. It can be known as nth-phrasal Indexing. Movement can occur down the XML tree dynamically, e.g., in the order of priority from level-1 to subsequent lower levels, depending upon whether matches are round at the main phrase level (level-1) or at sub-phrases levels (level-2, level-3, . . . ) for better efficiency. This indexing scheme also allows for approximate matches. 
         [0005]    The present invention advantageously provides a system and method for translation comprising an index structure comprising at least one phrasal marker and/or at least one sub-phrasal marker, the index structure performing advanced leveraging for translation by matching to previously stored index structures. The index structure can be a tree structure. The markers can contain constituent names, values, and a level number. Each marker can be obtained by parsing a target string, so that the parsing identifies the constituents and levels in the target string. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0006]    The invention is further described in the detailed description that follows, by reference to the noted drawings by way of non-limiting illustrative embodiments of the invention, in which like reference numerals represent similar parts throughout the drawings. As should be understood, however, the invention is not limited to the precise arrangements and instrumentalities shown. In the drawings: 
           [0007]      FIG. 1  is a flow diagram of the inventive method; 
           [0008]      FIG. 2  is an example of indexed text in accordance with the present invention; 
           [0009]      FIG. 3  is a flow diagram of the create function of the inventive method; 
           [0010]      FIG. 4  is a flow diagram of the search function of the inventive method; 
           [0011]      FIG. 5  is another example of indexed text in accordance with the present invention; and 
           [0012]      FIG. 6  illustrates the translation process enhanced by the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0013]    An inventive solution is presented to the need for a system and method to enhance the translation process by advantageously leveraging the information in TM. As shown in  FIG. 1 , the inventive method comprises three functions, create F 1 , search F 2  and obtain F 3 . The Create function F 1  creates, using an inventive indexing scheme, and stores in a file and/or in cache memory, a parsed, indexed version of an input text. The Search function F 2  searches the indexed text in the file and/or cache memory to obtain a translation. The Obtain function F 3  obtains the translation in accordance with the results of the Search function F 2 . 
         [0014]    The indexing scheme facilitates leverage at phrase and sub-phrase levels. The unique index structure contains phrasal markers of all sub-sentences for both English and localized sentences based on their language syntactic to help matching at the lower levels to higher levels if matches are not found with capability of approximate matches. The phrases and sub-phrases are structured to increase the speed and efficiency of search and sort operations, such that the constituents or parts of speech (POS) of sentences can be stored in a tree-like order. These POS can include, for example, nouns (N), verbs (V), pronouns (P), prepositions (Pr), articles (D), verb phrases (VP), noun phrases (NP), adjective phrases (AP), prepositional phrases (PrP), etc. 
         [0015]    The index can be tree-structured, and can be performed incrementally over all English and translated strings. Each input string can be represented in a tree form. All data leaves can be numbered from left to right according to depth-first visit of the source and target strings. In one embodiment, this number is an index_entry_range. This numbering will help in uniquely identifying the data leaves referenced by respective indexes. 
         [0016]      FIG. 2  illustrates an indexed tree structure in accordance with the present invention. In the Create function, a parts of speech (POS) tagger tags the parts of speech of the elements of a sentence.  FIG. 2  shows the sentence “He buys book on math” in the tree structure after it has been parsed and tagged. In particular, the VP node contains “He buys” and the P subnode of the VP node contains “He” while the V subnode of the VP node contains “buys”. The NP node contains “book on math”; its N node contains “book” and its PrP node comprises subnode N containing “math” and subnode Pr containing “on” 
         [0017]    In addition to tagging or labeling each node regarding its part of speech, each node or data leaf is numbered from left to right according to depth-first visit of the source and target strings, as discussed above. At the end of the Create function, the tagged string is stored as the index structure in an XML file, and can also be stored in cache memory. Using cache memory improves access time to the index structure. 
         [0018]      FIG. 3  is a flow diagram of the Create feature, including the parser algorithm, in accordance with one embodiment of the inventive method. Initially, in step S 1 , information, e.g., files, is read from a TM. While reading TM, for each TM string, the parser algorithm is performed in step S 2 . The parser algorithm is shown in steps S 3 -S 5 . In step S 3 , the constituent of a string is identified. This constituent is stored along with its name and an index_entry_range in step S 4 . The constituent level for the string is identified in step S 5 . 
         [0019]      FIG. 4  is a flow diagram of the Search algorithm of the Search function. In step S 6 , the string to be translated is parsed. The respective constituents are looked up in top-down order in the root tree in step S 7 . 
         [0020]    The following example illustrates the translation process in accordance with the inventive system and method. 
         [0000]    
       
         
               
             
           
               
                   
               
             
             
               
                   &lt;translation_store&gt; 
               
               
                   &lt;source_string id=1&gt; He buys a notebook&lt;/source_string&gt; 
               
               
                   &lt;translated_string id=1&gt;Kare wa noto o kau&lt;/translated_string&gt; 
               
               
                   &lt;source_string id=2&gt; I read a book on international 
               
               
                   politics&lt;/source_string&gt; 
               
               
                   &lt;translated_string id=2&gt;Watashi wa kokusai seiji nitsuite 
               
               
                   kakareta ho o yomu 
               
               
                 &lt;/translated_string&gt; 
               
               
                   &lt;/translation_store&gt; 
               
               
                   
               
             
          
         
       
     
         [0021]    Using the Create feature, in this example two strings are parsed, indexed and stored in the inventive indexed structure (translation store) in an XML file. The first string is “He buys a Notebook”, and the second string is “I read a book on international politics”.  FIG. 5  shows source_string id  1  (S 1 ) having VP and NP. VP comprises P containing the word “He” and the level or number “1” and V containing “buys” and “2”. NP comprises D containing “a” and “3” and N containing “Notebook” and “4”. The source_string id  2  (S 2 ) also has VP and NP. The VP of S 2  comprises P containing “I” and “5” and V containing “read” and “6”. The NP of S 2  comprises D containing “a” and “3” and an additional sub-tree of NP, which comprises N containing “book” and “8”. This additional NP sub-tree of S 2  further comprises sub-tree PrP comprising Pr containing “on” and “9” and N containing “international politics” and “10”. 
         [0022]      FIG. 6  shows the index structure and illustrates the Search function.  FIG. 6  illustrates two target strings to be searched for. Target string  1  is “He buys book on International Politics” and target string  2  is “He reads book on Politics”. The Search function operates as follows. 
         [0023]    Each target string is parsed and its index structure is created in accordance with the Create function. As shown in the upper right of  FIG. 6 , the index structure of target string  1  has VP comprising “He buys” and NP comprising “book on International Politics”. Target string  2 , shown in the lower left of  FIG. 6 , has an index structure comprising VP of “He reads” and NP of “book on Politics”. 
         [0024]    The upper left index structure in  FIG. 6  illustrates the inventive index structure or translation store. It comprises VP of two phrases: “He buys” and “I read”, and NP of two phrases “a notebook” and “a book on International Politics”. 
         [0025]    For target string  1 , the inventive method recognizes that its VP is found in the translation store, so that a match is made in the first phrasal level. However, the NP of target string  1  is not found in this first phrasal level. At the next phrasal level, the translation store includes NP comprising D of “a” (referring to both noun phrases, each beginning with “a”) and NP of both “notebook” and “book on International Politics”. The inventive method matches at this second phrasal level the NP of “book on International Politics” with the NP of target string  1 . Note that the translation store contains a third phrasal level, created from the NP of phrasal level two, comprising N of “notebook” and “book” and PrP of “on International Politics”. 
         [0026]    For target string  2 , nothing matches at phrasal level one. However, at phrasal level two, with the VP of “He reads” of target string  2 , P of “he” matches and V of “reads” is recognized or understood as matching V “read”. A morphological analyzer can be used to obtain the correct verb form. In this example, “read” is recognized as a verb form of “reads”. Another important feature is the dynamic parsing of a target string into its sub-phrases, whenever needed. If the match is found at the very first level of target string, the respective sub-phrase will not be parsed further. But if match is not found at a given sub-phrase level, that sub-phrase will be parsed into its atomic constituents further down one layer. This goes on until the translation (complete or approximate) is found. 
         [0027]    As discussed above, phrasal level two of the translation store contains NP of “book on International Politics”. Target string  2  has NP of “book on Politics”. Using an approximate match, the inventive method matches the NP of phrasal level two to the NP of target string  2 . 
         [0028]    The Search function further determines the following. “He” in target string  1  matches P containing “He” “1” and “He” “5”. “buys” in the target string matches V containing “buys” “2”. “book” in this target string matches N containing “book” “8”. “on International Politics” in this target string matches PrP “on International Politics” “9,10”. In this example, for target string  1 , the index structure returns an exact match with respect to the phrasal hierarchy. In particular, the structure of target string  1  is node VP with leaves P and V, and node NP with leaf N and node PrP. If an exact match is not available, such as for target string  2 , an approximate match can be returned. 
         [0029]    Once the search is complete and the phrasal hierarchy is obtained, the translation can be obtained. In the above example, the VP “He buys” is translated as “Kare wa . . . O kau” and the NP “book on International Politics” is translated as “kokusai seiji nitsuite kakareta hon”. Thus target string  1  “He buys book on International Politics” is translated as “Kare was kokusai seiji nitsuite kakareta hon O kau”. 
         [0030]    The invention can be implemented as computer software or a computer readable program for operating on a computer. The computer program can be stored on computer readable medium. Various aspects of the present disclosure may be embodied as a program, software, or computer instructions embodied in a computer or machine usable or readable medium, which causes the computer or machine to perform the steps of the method when executed on the computer, processor, and/or machine. 
         [0031]    System and method of the present disclosure may be implemented and run on a general-purpose computer or special-purpose computer system. The computer system may be any type of known or will be known systems and may typically include a processor, memory device, a storage device, input/output devices, internal buses, and/or a communications interface for communicating with other computer systems in conjunction with communication hardware and software, etc. 
         [0032]    The terms “computer system” and “computer network” as may be used in the present application may include a variety of combinations of fixed and/or portable computer hardware, software, peripherals, and storage devices. The computer system may include a plurality of individual components that are networked or otherwise linked to perform collaboratively, or may include one or more stand-alone components. The hardware and software components of the computer system of the present application may include and may be included within fixed and portable devices such as desktop, laptop, and/or server. A module may be a component of a device, software, program, or system that implements some “functionality”, which can be embodied as software, hardware, firmware, electronic circuitry, or etc. 
         [0033]    While the present invention has been described in particular embodiments, it should be appreciated that the present invention should not be construed as limited by such embodiments, but rather construed according to the below claims.