Menu

How should I interface with OpenCCG from an external application?

Help
2014-07-28
2014-07-29
  • Michael Lane

    Michael Lane - 2014-07-28

    Hey CCGers,

    I have an application, written in C++, that needs the output of the parser, i.e. the list of categories and their respective LFs. In the other direction, the application will send an LF to the realizer to, well, realize. What is the best way to interface with OpenCCG? I've researched lots of possible solutions, but I wonder what your guys' recommendations are.

    Thanks a bunch

     
  • Michael White

    Michael White - 2014-07-29

    Depending on what you're doing, you can look at the programs listed below as starting points, or at the build files in ccgbank/build*.xml mentioned in docs/ccgbank-README ...

    src/opennlp/ccg/TextCCG.java
    src/opennlp/ccg/Parse.java
    src/opennlp/ccg/Realize.java
    src/opennlp/ccg/test/Regression.java

     

Log in to post a comment.