A DOMAIN AWARE GRAMMAR FOR PARSING REQUIREMENTS INTO TYPED FOL

To document software and business requirements, it is desirable to use natural language text which can be processed by computer (as is done e.g. by RavenFlow software). We argue that requirements and their application domain model (including ontology) are interdependent, and that by using the domain model we can parse and semantically analyze the requirements more effectively. To this end we develop a type system for application domain entities that includes multiple inheritance, as well as specializable and negated types. We integrate it into the HPSG grammar formalism and extend the Minimal Recursion Semantics by adding new predications and constraints. We show how, by informing the parser with criteria to reject sentences on the basis of type mismatch, our system can less ambiguously translate natural language sentences into a Domain-Typed First Order Logic format, through pruning some semantically incorrect options within the search space.

[1]  Johan Nordlander,et al.  Polymorphic subtyping in O'Haskell , 2002, Sci. Comput. Program..

[2]  John C. Mitchell,et al.  Lower bounds on type inference with subtypes , 1995, POPL '95.

[3]  Thom W. Frühwirth,et al.  Theory and Practice of Constraint Handling Rules , 1998, J. Log. Program..

[4]  Norbert E. Fuchs,et al.  Attempto Controlled English (ACE) , 1996, ArXiv.

[5]  J. Fodor,et al.  The structure of a semantic theory , 1963 .

[6]  Peter Bollen SBVR: A Fact-Oriented OMG Standard , 2008, OTM Workshops.

[7]  Kristen Nygaard,et al.  SIMULA: an ALGOL-based simulation language , 1966, CACM.

[8]  Robert B. Grady,et al.  Practical Software Metrics for Project Management and Process Improvement , 1992 .

[9]  Norbert E. Fuchs,et al.  Specifying Logic Programs in Controlled Natural Language , 1995, ArXiv.

[10]  Bárbaro Ferro Castro Eckel, Bruce. Thinking in Java, Ed. Prentice-Hall, 1998 , 1998 .

[11]  Ghan Bir Singh,et al.  Single versus multiple inheritance in object oriented programming , 1995, OOPS.

[12]  Uriel Weinreich,et al.  Explorations in semantic theory , 1972 .

[13]  J. Ross Auxiliaries as main verbs , 1969 .

[14]  Veronica Dahl Incomplete types for logic databases , 1991 .

[15]  Uwe Reyle,et al.  From discourse to logic , 1993 .

[16]  Mary Dalrymple,et al.  Lexical Functional Grammar , 2001 .

[17]  Benno Geißelmann,et al.  Program Design by Informal English Descriptions , 2001 .

[18]  Carl A. Gunter Semantics of programming languages: structures and techniques , 1993, Choice Reviews Online.

[19]  Philip Harrison,et al.  Using Bracketed Parses to evaluate a Grammar Checking Application , 1993, ACL.

[20]  Joachim Niehren,et al.  Minimal Recursion Semantics as Dominance Constraints: Translation, Evaluation, and Analysis , 2004, ACL.

[21]  B. Carpenter,et al.  Type-Logical Semantics , 1997 .

[22]  Craig Larman,et al.  Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition) , 1997 .

[23]  Veronica Dahl,et al.  Reasoning with taxonomies , 1996 .

[24]  Johan Bos,et al.  Learn Prolog Now , 2006 .

[25]  Ralf Schwitter,et al.  ECOLE: a look-ahead editor of controlled language , 2003, EAMT.

[26]  Gerald Penn,et al.  Book Review , 2003, Computational Linguistics.

[27]  Fritz Henglein,et al.  Syntactic Properties of Polymorphic Subtyping , 2009 .

[28]  Hanspeter Mössenböck Twin - A Design Pattern for Modeling Multiple Inheritance , 1999, Ershov Memorial Conference.

[29]  François Pottier,et al.  Simplifying Subtyping Constraints: A Theory , 2001, Inf. Comput..

[30]  Alistair Cockburn,et al.  Writing Effective Use Cases , 2000 .

[31]  Chris Mellish Implementing Systemic Classification by Unification , 1988, Comput. Linguistics.

[32]  Robert F. Hadley A natural language query system for a prolog database , 1983 .

[33]  Terry Winograd,et al.  Procedures As A Representation For Data In A Computer Program For Understanding Natural Language , 1971 .

[34]  Dan Flickinger,et al.  Minimal Recursion Semantics: An Introduction , 2005 .

[35]  S. C. Dik,et al.  The Theory of Functional Grammar. Part I: The Structure of the Clause (second, revised edition, edited by K. Hengeveld) , 1997 .

[36]  Gregor Erbach,et al.  ProFIT: Prolog with Features, Inheritance and Templates , 1995, EACL.

[37]  Ivan A. Sag,et al.  Syntactic Theory: A Formal Introduction , 1999, Computational Linguistics.

[38]  Ivan A. Sag,et al.  Information-Based Syntax and Semantics: Volume 1, Fundamentals , 1987 .

[39]  Bjarne Stroustrup,et al.  The Design and Evolution of C , 1994 .

[40]  Ann Copestake,et al.  Implementing typed feature structure grammars , 2001, CSLI lecture notes series.

[41]  Chris Mellish,et al.  Term-Encodable Description Spaces , 1990, ALPUK.

[42]  Mark H. Linehan SBVR Use Cases , 2008, RuleML.

[43]  Norbert E. Fuchs,et al.  Attempto Controlled English (ACE) A Seemingly Informal Bridgehead in Formal Territory (Poster Abstract) , 1996, JICSLP.

[44]  Roberto Di Cosmo,et al.  Subtyping Recursive Types Modulo Associative Commutative Products , 2005, TLCA.

[45]  John C. Mitchell,et al.  Coercion and type inference , 1984, POPL.

[46]  J. Katz,et al.  An integrated theory of linguistic descriptions , 1964 .

[47]  Alain Colmerauer,et al.  Metamorphosis Grammars , 1978, Natural Language Communication with Computers.

[48]  Richard Montague,et al.  The Proper Treatment of Quantification in Ordinary English , 1973 .

[49]  SWI-Prolog 5.6 Reference Manual , 2004 .

[50]  Gregor Erbach Multi-Dimensional Inheritance , 1994, ArXiv.

[51]  Ivan A. Sag,et al.  Book Reviews: Head-driven Phrase Structure Grammar and German in Head-driven Phrase-structure Grammar , 1996, CL.

[52]  Dan Flickinger,et al.  Translation using Minimal Recursion Semantics , 1995, TMI.

[53]  Bruce Eckel Thinking in Java , 1998 .

[54]  Paul Bennett A course in generalized phrase structure grammar , 1995 .

[55]  Hassan Aït-Kaci,et al.  LOGIN: A Logic Programming Language with Built-In Inheritance , 1986, J. Log. Program..

[56]  Dines Bjørner Software Engineering 2 - Specification of Systems and Languages , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[57]  James Pustejovsky,et al.  The Generative Lexicon , 1995, CL.

[58]  Geoffrey K. Pullum,et al.  Generalized Phrase Structure Grammar , 1985 .

[59]  Verónica Dahl,et al.  On database systems development through logic , 1982, TODS.

[60]  Kaarel Kaljurand,et al.  Attempto Controlled English for Knowledge Representation , 2008, Reasoning Web.

[61]  SinghGhan Bir Single versus multiple inheritance in object oriented programming , 1994 .

[62]  Geoffrey K. Pullum,et al.  Generalized phrase structure grammar : a theoretical synopsis , 1982 .

[63]  Joachim Niehren,et al.  Bridging the Gap Between Underspecification Formalisms: Minimal Recursion Semantics as Dominance Constraints , 2003, ACL.

[64]  Bob Carpenter,et al.  The logic of typed feature structures , 1992 .

[65]  Andreas Podelski,et al.  Towards a Meaning of LIFE , 1991, J. Log. Program..

[66]  Robert D. Borsley,et al.  Modern phrase structure grammar , 1996 .