• DocumentCode
    2706022
  • Title

    A Technique for Extracting Keyword Based Rules from a Set of Programs

  • Author

    Dubey, Alpana ; Aggarwal, Sanjeev K. ; Jalote, Pankaj

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Indian Inst. of Technol., Kanpur, India
  • fYear
    2005
  • fDate
    21-23 March 2005
  • Firstpage
    217
  • Lastpage
    225
  • Abstract
    We present a novel technique for extracting a grammar from a set of programs. A grammar is important for generating software analysis and modification tools. Most legacy applications are written in languages which are minor variations (dialects) of the standard language. Normally, we have a grammar of the standard language, but the grammars of dialects are unavailable. In this paper we propose an iterative technique with backtracking for grammar extraction. Our technique extracts keyword based rules. This uses the CYK parsing algorithm and the LR error recovery technique for finding out new production rules. In each iteration a set of possible rules is built and one rule from them is selected. Finally, we get a grammar which parses all programs in the set.
  • Keywords
    grammars; knowledge based systems; program compilers; system recovery; CYK parsing algorithm; LR error recovery technique; backtracking; grammar; grammar extraction; keyword based rule extraction; legacy application; modification tools; software analysis; standard language; Application software; Computer languages; Computer science; Data mining; Iterative algorithms; Natural language processing; Natural languages; Production; Software engineering; Software tools;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering, 2005. CSMR 2005. Ninth European Conference on
  • ISSN
    1534-5351
  • Print_ISBN
    0-7695-2304-8
  • Type

    conf

  • DOI
    10.1109/CSMR.2005.5
  • Filename
    1402134