US2016306736A1PendingUtilityA1

Translation verification testing

Assignee: IBMPriority: Apr 27, 2012Filed: Jun 29, 2016Published: Oct 20, 2016
Est. expiryApr 27, 2032(~5.8 yrs left)· nominal 20-yr term from priority
G06F 11/3668G06F 11/3604
48
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

An aspect includes a computer system with a widget hierarchical layout correlation parser to: receive widget objects and widget object methods; and generate, based on the widget objects and widget object methods and using a symbol table derived from semantic analysis, a multi-level tree-like widget layout structure including nodes respectively corresponding to the widget objects and relationships between the nodes, with: (i) the relationships between the nodes including relationship types including: siblings, parents, children and self, and (ii) a determination of relationships for each node determines any parent(s), sibling(s) and/or children within one level of the multi-level tree-like widget layout structure. For each given widget object, a resource string reference parser parses source code of the given widget object to: collect setMethods arguments for the given widget object, and trace back to a message key in a resource file associated with the given widget object according to the symbol table.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A computer system comprising:
 a widget hierarchical layout correlation parser structured and/or programmed to:
 receive a plurality of widget objects and a plurality of widget object methods; and 
 generate, based on the plurality of widget objects and the plurality of widget object methods and using a symbol table derived from semantic analysis, a multi-level tree-like widget layout structure including nodes respectively corresponding to the plurality of widget objects and relationships between the nodes, with: (i) the relationships between the nodes including relationship types comprising: siblings, parents, children and self, and (ii) a determination of relationships for each node determines any parent(s), sibling(s) and/or children within one level of the multi-level tree-like widget layout structure; and 
   a resource string reference parser structured and/or programmed to, for each given widget object of the plurality of widget objects, parse source code of the given widget object to: collect setMethods arguments for the given widget object, and trace back to a message key in a resource file associated with the given widget object according to the symbol table;   wherein the parsing includes at least two types of string concatenation as follows: (i) concatenation of a constant string that is the message key in the resource file, and (ii) further concatenation of the strings that are concatenated by concatenation of the constant string.   
     
     
         2 . The computer system of  claim 1  wherein the resource string reference parser is further structured and/or programmed to:
 find the message keys in a recursive way; and 
 determine correlation strength values between the strings using the multi-level tree-like widget layout structure. 
 
     
     
         3 . The computer system of  claim 2  further comprising:
 a context clue determination component structured and/or programmed to determine a set of context clue(s); and 
 a translation component structured and/or programmed to translate a word or phrase in a language resource bundle based, at least in part, upon the set of context clue(s). 
 
     
     
         4 . The computer system of  claim 1  further comprising:
 a context clue determination component structured and/or programmed to determine a set of context clue(s); and 
 a translation component structured and/or programmed to translate a word or phrase in a language resource bundle based, at least in part, upon the set of context clue(s). 
 
     
     
         5 . A computer-implemented method comprising:
 receiving, by a widget hierarchical layout correlation parser, a plurality of widget objects and a plurality of widget object methods;   generating, based on the plurality of widget objects and the plurality of widget object methods and using a symbol table derived from semantic analysis, a multi-level tree-like widget layout structure including nodes respectively corresponding to the plurality of widget objects and relationships between the nodes, with: (i) the relationships between the nodes including relationship types comprising: siblings, parents, children and self, and (ii) a determination of relationships for each node determines any parent(s), sibling(s) and/or children within one level of the multi-level tree-like widget layout structure; and   parsing, by a resource string reference parser, source code of each given widget object of the plurality of widget objects to collect setMethods arguments for the given widget object and trace back to a message key in a resource file associated with the given widget object according to the symbol table, wherein the parsing includes at least two types of string concatenation as follows: (i) concatenation of a constant string that is the message key in the resource file, and (ii) further concatenation of the strings that are concatenated by concatenation of the constant string.   
     
     
         6 . The computer-implemented method of  claim 5 , further comprising:
 finding the message keys in a recursive way; and   determining correlation strength values between the strings using the multi-level tree-like widget layout structure.   
     
     
         7 . The computer-implemented method of  claim 6 , further comprising:
 determining a set of context clue(s); and   translating a word or phrase in a language resource bundle based, at least in part, upon the set of context clue(s).   
     
     
         8 . The computer-implemented method of  claim 5 , further comprising:
 determining a set of context clue(s); and   translating a word or phrase in a language resource bundle based, at least in part, upon the set of context clue(s).   
     
     
         9 . A computer program product comprising:
 a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising computer readable program code configured to:
 receive, by a widget hierarchical layout correlation parser, a plurality of widget objects and a plurality of widget object methods; 
 generate, based on the plurality of widget objects and the plurality of widget object methods and using a symbol table derived from semantic analysis, a multi-level tree-like widget layout structure including nodes respectively corresponding to the plurality of widget objects and relationships between the nodes, with: (i) the relationships between the nodes including relationship types comprising: siblings, parents, children and self, and (ii) a determination of relationships for each node determines any parent(s), sibling(s) and/or children within one level of the multi-level tree-like widget layout structure; and 
 parse, by a resource string reference parser, source code of each given widget object of the plurality of widget objects to collect setMethods arguments for the given widget object and trace back to a message key in a resource file associated with the given widget object according to the symbol table, wherein the parsing includes at least two types of string concatenation as follows: (i) concatenation of a constant string that is the message key in the resource file, and (ii) further concatenation of the strings that are concatenated by concatenation of the constant string. 
   
     
     
         10 . The computer program product of  claim 9 , wherein the computer readable program code is further configured to:
 find the message keys in a recursive way; and   determine correlation strength values between the strings using the multi-level tree-like widget layout structure.   
     
     
         11 . The computer program product of  claim 10 , wherein the computer readable program code is further configured to:
 determine a set of context clue(s); and   translate a word or phrase in a language resource bundle based, at least in part, upon the set of context clue(s).   
     
     
         12 . The computer program product of  claim 9 , wherein the computer readable program code is further configured to:
 determine a set of context clue(s); and   translate a word or phrase in a language resource bundle based, at least in part, upon the set of context clue(s).

Join the waitlist — get patent alerts

Track US2016306736A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.