The XMG compiler is installed in the AFS. You should still have the following line on top of your ~/.bashrc:
$ test -r /afs/sfs/lehre/wmaier/tag-seminar/.bashrc && . /afs/sfs/lehre/wmaier/tag-seminar/.bashrcIf this line is present, you should be able to run the metagrammar compiler by typing
$ MetaTAG
/afs/sfs/lehre/wmaier/tag-seminar/xmg/small.mginto your home directory and open it in xemacs.
It contains a small metagrammar for french, consisting of two trees. They respresent a transitive verb, either with a canonical subject or a subject in relative position.
In the first section, principles, types, properties and features are specified.
We still need to combine the fragments. This can be achieved with the transitive class. The transitive class combines conjunctively three classes, being
Now we invoke the combination with
value transitiveThis creates a button in the GUI. On click, the metagrammar compiler tries to find all possible solutions for the query. In our case, there are the two desired ones: a transitive verb, either with a canonical subject or a subject in relative position.
$ MetaTAG ~/small.mgYou should see now a graphical user interface.