Title: Kakia Chatsiou
1Introduction Demo Grammar References
XLE Tutorial Demo
Kakia Chatsiou Department of Language and
Linguistics University of Essex achats_at_essex.ac.uk
LG517. Introduction to LFG
1
2Introduction Demo Grammar References
Outline
- Introduction
- Whats XLE?
- The basic Grammar file
- Examining a rule
- Examining a lexical entry
- Demo Grammar
- Assumptions
- Coverage
- Demonstration
- References
Aikaterini K. Chatsiou
2
3Introduction Demo Grammar References
Outline
- Introduction
- Whats XLE?
- The basic Grammar file
- Examining a rule
- Examining a lexical entry
- Demo Grammar
- Assumptions
- Coverage
- Demonstration
- References
Aikaterini K. Chatsiou
3
4Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
- Whats XLE?
- Xerox Linguistics Environment
- A computational environment developed to
facilitate the writing and debugging of Lexical
Functional Grammars - C-structure, f-structure, s-structure, and
further projections can be defined - Includes other activities related to grammar
development analysing performance, test suites,
generation, treebanks and other.
Aikaterini K. Chatsiou
4
5Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Aikaterini K. Chatsiou
5
6Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Grammar Version ID
Aikaterini K. Chatsiou
6
7Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Language ID
Aikaterini K. Chatsiou
7
8Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Component ID
Aikaterini K. Chatsiou
8
9Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
XLE version Number
Aikaterini K. Chatsiou
9
10Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
4 dashes signal the end of each section / file
Aikaterini K. Chatsiou
10
11Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
here it is S(entence)
The default category when parsing
Aikaterini K. Chatsiou
11
12Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
here no files are included
the list of files to be included, ending
in .lfg
Aikaterini K. Chatsiou
12
13Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
here precedence is given to the grammar with
version ID TOY and language ID Ellinika
specification of which lexical entries, rules
and templates are given precedence
Aikaterini K. Chatsiou
13
14Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
list of the grammatical relations which must
be subcategorised for in order to appear in
the argument list of of the PRED
Aikaterini K. Chatsiou
14
15Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
list of attributes whose values must contain
a PRED
Aikaterini K. Chatsiou
15
16Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
list of attributes which do not distribute
when coordinated
Aikaterini K. Chatsiou
16
17Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
the category which is covert in
the c-structure (empty string)
Aikaterini K. Chatsiou
17
18Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
The ranking of optimality constraints
Aikaterini K. Chatsiou
18
19Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Category
Aikaterini K. Chatsiou
19
20Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Category
Schema
Aikaterini K. Chatsiou
20
21Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Defining equality
Aikaterini K. Chatsiou
21
22Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Defining equality
Disjunction
Aikaterini K. Chatsiou
22
23Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
?
Aikaterini K. Chatsiou
23
24Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
?
?
Aikaterini K. Chatsiou
24
25Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Shuffle operator
Aikaterini K. Chatsiou
25
26Introduction Demo Grammar References
Whats XLE? The basic grammar file Examining a
rule Examining a lexical entry
Introduction
Shuffle operator
Comment
Aikaterini K. Chatsiou
26
27Introduction Demo Grammar References
What is XLE? The basic Grammar file Examining a
rule Examining a lexical entry
Introduction
- Examining a lexical entry
grammatical category
Aikaterini K. Chatsiou
27
28Introduction Demo Grammar References
What is XLE? The basic Grammar file Examining a
rule Examining a lexical entry
Introduction
- Examining a lexical entry
Morphological marker
Aikaterini K. Chatsiou
28
29Introduction Demo Grammar References
What is XLE? The basic Grammar file Examining a
rule Examining a lexical entry
Introduction
- Examining a lexical entry
Template (shortcuts)
Aikaterini K. Chatsiou
29
30Introduction Demo Grammar References
Assumptions Coverage Demonstration
Demo Grammar
- toy-gre7.lfg
- Assumptions
- Coverage
- Demonstration
Aikaterini K. Chatsiou
30
31Introduction Demo Grammar References
Assumptions Coverage Demonstration
Demo Grammar
- Assumptions
- All four possible Modern Greek word orders (VSO,
SVO, OSV and OVS) are equally acceptable and
grammatical - Modern Greek Word order is represented
non-configurationally (Tzanidaki, 1996
Alexopoulou, 1999 among others) - No morphology. For each word there is a separate
lexical entry for each case, gender and number.
Aikaterini K. Chatsiou
31
32Introduction Demo Grammar References
Assumptions Coverage Demonstration
Demo Grammar
- Coverage
- All 4 word orders (ex.1-4)
- Pro-drop character of the language (empty string
node e as a disjunction in the subject NP
c-structure node) (ex.5-6) - Subcategorization frames of intransitive,
transitive and ditransitive verbs (including the
realisation of the OBL object of ditransitive
verbs either through an NP in GEN or a PPse (ex
7-10), successfully ruling out sentences like
(11) - successful assignment of the appropriate
grammatical functions to constituents according
to their case (NOM?SUBJ, ACC?OBJ, GEN?OBL) (ex.
12), ruling out ex.13 - number, case and gender assignment among the
constituents of an NP or a PP (ex.14-17)
Aikaterini K. Chatsiou
32
33Introduction Demo Grammar References
Assumptions Coverage Demonstration
Demo Grammar
Aikaterini K. Chatsiou
33
34Introduction Demo Grammar References
References
- XLE walkthrough.
- http//www2.parc.com/istl/groups/nltt/xle/doc/walk
through.html - Tzanidaki, Dimitra Irini. 1996.
Configurationality and Greek Clause structure.
UCL Working Papers in Linguistics. - Alexopoulou, Theodora. 1999. The syntax of
Discourse functions in Greek a non
configurational approach. PhD thesis, University
of Edinburg.
Aikaterini K. Chatsiou
34