Menu

Dealing with Logical Forms

Help
JvJ
2012-04-22
2013-04-08
  • JvJ

    JvJ - 2012-04-22

    I'm working on a project that involves converting english sentences to prolog assertions/queries and back.  The logical forms produced by openccg seem perfect for the task.  However, it's a little difficult to decipher the internal structure of LF's, even with the API documentation.  Does anyone know of any kind of guide or documentation for LF's?

    Thanks.

     
  • Michael White

    Michael White - 2012-04-23

    There's some additional documentation in openccg/grammars/hlds.xsd, which is a schema for the xml you get when you save an LF to xml when there are no configured xslt transformations.  For example, if you parse an example in openccg/grammars/tiny and do :2xml myexample.xml, the LF will be in an xml format that should conform to this schema.  (By contrast, the grammar in the sister routes dir has xslt transformations configured in the grammar.xml file which produce more readable xml, though in less direct correspondence to the internal HLDS.)

    There is some discussion in my Research on Language and Computation article which may be of help: see http://www.springerlink.com/content/e1q6xr0u3rr54173/ or http://www.ling.ohio-state.edu/~mwhite/papers/White-RoLC-2004-to-appear.pdf

     

Log in to post a comment.