The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Mar. 18, 2014
Filed:
Jun. 28, 2011
Pankaj Dhoolia, Dadri, IN;
Mangala G. Nanda, New Delhi, IN;
Krishna Nandivada Venkata, Bangalore, IN;
Diptikalyan Saha, Kolkata, IN;
Pankaj Dhoolia, Dadri, IN;
Mangala G. Nanda, New Delhi, IN;
Krishna Nandivada Venkata, Bangalore, IN;
Diptikalyan Saha, Kolkata, IN;
International Business Machines Corporation, Armonk, NY (US);
Abstract
The embodiments provide for automatic incremental learning of programming language grammar. A corpus (i.e., a text file of software code written in a particular programming language) is parsed based on a set of grammar rules. An unparsed statement from the corpus is identified along with a section thereof, which did not match any of the grammar rules in the set. A subset of the set of grammar rules at fault for the parsing failure is identified. Groups of new grammar rules are developed such that each group comprises at least one new grammar rule, such that each group can parse the unparsed statement, and such that each new grammar rule is a modification of grammar rule(s) in the subset. One specific group can then be selected for possible incorporation into the set of grammar rules. Optionally, before a specific group is selected, the groups can be heuristically pruned and/or ranked.