Skip to content
davidarps edited this page Jun 13, 2018 · 4 revisions

Welcome to the TuLiPA-frames wiki!

Getting started

When you cloned the repository, you can start the parser with the example grammar by running run/test.sh.

To run the parser with your own grammar, download TuLiPA-frames.jar and run

java -jar TuLiPA-frames.jar

To get more information on the execution modes, download TuLiPA-frames.jar and run java -jar TuLiPA-frames.jar -h, or see below.

Test Grammar

The example grammar parses sentences like John loves Mary and John sleeps. The axiom is s. Example Grammars are stored in the folder 'resources/test_grammar'. The syntactic information and the frames are stored in one file, verbs_frames.xml. The type hierarchy with respect to which the frames are unified is stored in more.mac. The lexical information processed by TuLiPA is 2-layered. The morphological lexicon maps inflected tokens to their lemma, storing morphological information in a feature structure. The lemmas are stored among with semantic information and the tree families to which the lemmas can be anchored.

To see an example of adjunction, run run/test_adj.sh. This grammar parses sentences like John really loves Mary.

Clone this wiki locally