25
pages
English
Documents
Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus
Découvre YouScribe en t'inscrivant gratuitement
Découvre YouScribe en t'inscrivant gratuitement
25
pages
English
Documents
Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus
A Comparative Introduction to XDG: The
Immediate Dominance Dimension in Action
Ralph Debusmann
and
Denys Duchier
Programming Systems Lab, Saarland University, Saarbruc¤ ken, Germany
and
·
Equipe Calligramme, LORIA, Nancy, France
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.1This presentation
introduce the XDG Development Kit (XDK)
the XDK provides:
facilities to cook your own multi-dimensional grammar
formalism
metagrammar facilities to organize the lexicon effectively
implement an example grammar fragment made up of the
dimensions id and lex
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.2XDK: Making life easy
for grammar writers
adopts a software engineering perspective to ease grammar
engineering:
modules (dimensions, principles, lexical abstractions)
re-usability
composition
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.3Structuring the lexicon
unfeasible to write the individual lexical entries directly
abstractions: lexical classes
combining the descriptions:
conjunction (inheritance)
disjunction (alternations)
descriptions compiled into individual lexical entries
two goals:
improve grammar engineering
enable the statement of linguistic generalizations
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.4De ning a dimension
defdim id f
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% define types
...
%%%%%%%%%%%%%%%
%% use principles
...
g
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.5De ning types
XDK: provides static typing to ensure the coherence of the
grammar, ease debugging:
need to de ne types
for each dimension
e.g. domains, type constructors for sets, records etc.
three special types picked out for each dimension:
edge labels
lexical entry record
node attributes record
each node:
" #
entry : :::
attrs : :::
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.6De ning types contd.
XDK: multi-dimensional
i.e. for each node:
" #
2 3
entry : :::
dim :
1
6 7
6 attrs : ::: 7
6 7
6 7
:::
6 7
" #
6 7
entry : :::
4 5
dim :
n
attrs : :::
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.7De ning domain types
deftype "id.label" fdet subj obj vbse vprt vinf part rootg
deftype "id.agr" fnom accg
root: additional root node for convenience:
einen roman maria zu schreiben verspricht .
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.8
subj
obj
vinf
par
t
det
rootDe ning valency types
valency("id.label")
specialized type constructor for the valency principle
(subcategorization):
" #
in : fsubj?;obj?;iobj?g
Roman :
out : fdet!;adj;prep?;rel?g
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.9De ning set types
idea: having two sets, how to combine them? (inheritance)
two natural possibilities:
intersection
union
we want both possibilities for different kinds of sets:
intersective sets
accumulative sets
A Comparative Introduction to XDG: The Immediate Dominance Dimension in Action ? p.10