Menu

openccg

kaya
2015-04-22
2015-04-29
  • kaya

    kaya - 2015-04-22

    Hi,
    there is some one please who can help me how to set my OPENCCG_HOME environment

     
  • Michael White

    Michael White - 2015-04-22

    The main readme has some information on how to do this; beyond that, googling how to set environment variables for your platform should turn up lots of step-by-step instructions.

     
  • kaya

    kaya - 2015-04-27

    Hi
    thank you very much Mr Michael.....Now it working well with me
    can you please told me how can parse a text file or a given sentence because when I give it a sentence the output is
    Unable to retrieve lexical entries:
    Lexicon Exception: am not in lexicon

    Thank you...

     
  • Michael White

    Michael White - 2015-04-27

    Yes, with handcrafted grammars, all words are expected to have lexical entries, so an exception is thrown if one is missing.

    As noted in the README, it makes sense to start at the UT Austin wiki (http://www.utcompling.com/wiki/openccg) to learn about how grammars are specified.

    Alternatively, there's the broad coverage English grammar derived from the CCGbank (see docs/ccgbank-README), which comes with statistical models for predicting the categories of unseen words.

     
  • kaya

    kaya - 2015-04-29

    Hi....Thank you
    when I use the command
    ccg-build -f build-rz.xml test-novel
    more files in the new directory are empty and I have this error in error file
    Erreur : impossible de trouver ou charger la classe principale edu.stanford.nlp.process.Morphology
    that mean impossible to find the principal class edu.stanford.nlp.process.Morphology
    and I have installed the Stanford Core NLP tools

     
  • Michael White

    Michael White - 2015-04-29

    Did you follow the instructions in docs/ccgbank-README in the section "Installing the Stanford Core NLP tools"? It could be that there's some issue with the latest version of the Stanford tools, though others have gotten them to work quite recently.

     

Log in to post a comment.