Implementing equivalences in server mode for Utool

Hi,
I am using Utool for displaying MRS dominance graphs. This works nicely but it does not eliminate spurious scopings. It can do this from the command line but this functionality is somehow not availible in server mode with the GUI. I guess it is simple to integrate this, but it was never done. (Well maybe it was but then I do not know how to use it.)

So question: Is there somebody who can integrate this into the GUI?

I would pay for this.

Best

Stefan

Hi @Stefan,

Are you using the version of utool at https://github.com/coli-saar/utool and are you trying to get LKB-FOS to interface to it using the code written by Alexander Koller in the directory tools/lkb/? If so, I might be able to help since I’m slightly familiar with this setup.

John

I am trying to connect to the Utool server from Prolog. But if this is possible in Lisp already this should help me to get it work. I looked at the code, but it seems to write the MRS output to a file. Is it just calling the Utool program directly without using it in server mode? Does it take the equivalence file into account? I could not find this in the lisp code.

Thanks for your help!

I advise following the approach in the utool manual https://www.coli.uni-saarland.de/projects/chorus/utool/docs/3.1.1/manual/0006.html, section 5.3 “Integration with the LKB Workbench”. In the current utool distribution, the supplied file tools/lkb/lkb-utool.lisp contains code to start up utool and communicate with the LKB via a unix socket.

There is a facility built in to the LKB to run utool, devised to work with utool 2.0.1 (the last C++ version), which didn’t have a server mode. That still works in LKB-FOS – I’ve just tried it. However, I recommend you use the newer approach above.

The code in tools/lkb/lkb-utool.lisp doesn’t quite work with LKB-FOS, since it relies on undocumented LKB internals. If you contact me via email I can send you a version that does work.