SEMCONST - SEMantic CONSTructor

Claire Gardent Yannick Parmentier

TALARIS project - LORIA


Overview

SemConst is a program which aims at building semantic representations for sentences. As an input it takes linguistic resources of 3 kinds:

As an output, SemConst produces a flat semantic representation of the sentence parsed.
Note that this construction can be performed on a whole corpus (ie a set of sentences).

Haut

Documentation

The SEMCONST documentation is available as a wiki here or as a [.pdf].

Moreover we suggest that you read the following papers:

Haut

Requirements

The SEMCONST program is developed in Oz/Mozart, and uses many tools for Natural Language Processing (such as the DyALog system). It is available only for linux platforms. All the tools it uses are freely available, links are given below.

To use SEMCONST, first you require the Oz/Mozart system, which you can download at the following adress:
You also need to install the following softwares (please have a look at the SemConst wiki page for information about their installation) :
NB: Note that the Alpage tools (namely DyALog and forest_utils) can be installed using the alpi installation tool (recommended).

Haut

Download

You can download the last version of the sources from a subversion repository with anonymous access. The command is the following (make sure to be in the directory where you want to put the sources):
svn checkout svn://scm.gforge.inria.fr/svn/paule/trunk/SemConst Alternatively, you can download a tarball of the sources here.

Haut

Installation

Once you have imported the sources, invoke: cd SEMCONST/
chmod a+x install.sh
./install.sh

Haut

Usage

./SemConst.exe --interactive
Opens SEMCONST's GUI for semantic construction in interactive mode.

./SemConst.exe --corp
Opens SEMCONST's GUI for semantic construction in corpus mode, ie to perform semantic construction on a whole corpus (default).

./SemConst.exe --batch
Performs semantic construction on a directory of corpus (batch processing, no GUI).

SemConst's Options

-g METAGRAMMAR_FILE
to set the metagrammar to use (if the metagrammar is splitted in many files, give the valuation file)

-l LEMMAS
to set the lemmas

-m MORPH
to set the morphological lexicon

-c CORPUS
to set the corpus (corp or batch mode, in the latter it must be a directory)

-o OUTPUT
to set the output (corp or batch mode, in the latter it must be a directory)

-h
to print help

-v
verbose mode

-w
to activate semantic construction (default is only syntactic parsing)

Haut

Snapshots

Haut

Related tools

Lexicon convertion

In order to manage a single lexicon format for both parsing and generation, we have developed a converter which takes as an input a relatively intuitive text format and produces XML lexicons for DyALog-made TAG parsers and text lexicons for the Geni surface realiser.
This converter, namely lexConverter (written in Haskell), is available via a Subversion repository with anonymous access using the following command: svn checkout svn://scm.gforge.inria.fr/svn/paule/trunk/lex2all Alternatively, a tarball of the sources is available here.
Once you get the sources, you can compile and install it (assuming you have an Haskell compiler and make) via: cd LEX2ALL
make
sudo make install

Designing real scale TAGs

Generation with TAG

Haut

Contact

If you have any question / comment, please send an email at : claire . gardent _AT_ loria . fr
yannick . parmentier _AT_ univ-orleans . fr

Haut


Claire Gardent Yannick Parmentier - (Last Revised: February 4, 2009)