Menu

Lexicon Exception

Help
gaiwancha
2012-08-21
2013-04-08
  • gaiwancha

    gaiwancha - 2012-08-21

    Hello,

    I followed the README.txt to set up, but no matter what I input to parse, I got the same error message "Lexicon Exception". Below is an example.

    Could you please help me out?

    Thanks,

    Gai


    openccg/grammars/tiny> tccg

    Loading grammar from URL: file: openccg/grammars/tiny/grammar.xml
    Grammar 'tiny' loaded.

    Enter strings to parse.
    Type ':r' to realize selected reading of previous parse.
    Type ':h' for help on display options and ':q' to quit.
    You can use the tab key for command completion,
    Ctrl-P (prev) and Ctrl-N (next) to access the command history,
    and emacs-style control keys to edit the line.

    tccg> I am trying it out.
    Unable to retrieve lexical entries:
            Lexicon Exception: am not in lexicon
    tccg>

     
  • Michael White

    Michael White - 2012-08-22

    The small, handcrafted grammars are intentionally closed vocabulary; see morph.xml for the known words.  The broad coverage grammar is open vocabulary, but is not currently set up to run in tccg; see docs/ccgbank-README.

    Mike

     

Log in to post a comment.