Internals of GF
Inari Listenmaa
GF Summer School
22th August 2025, Göteborg
GF
PMCFG
Do you need to know the internals of GF in order to write application grammars?
Do you need to know the internals of GF in order to write application grammars?
Do you need to know the internals of GF in order to write resource grammars?
make a
Do you?
Sometimes the pizza oven overheats, and the instruction manual is only in Italian.
Do you?
You want to become the next pizza oven maintainer.
Do you?
You simply love pizza so much that you want to learn everything about it.
GF to PMCFG
“Parallel Multiple Context-Free Grammar”
aka. the low-level format GF is compiled to
Concrete categories
Concrete categories
One for each combination of inherent parameters
KindMasc
KindFem
Concrete categories
Tables flatten
C5 -> F27[C7,C5]
==
F27 : C7 -> C5 -> C5 ;
Concrete functions
One for each combination of
concrete categories
Arguments
Arguments
Arguments
Recap
Recap
GF grammar
Recap
GF grammar
Recap
GF grammar
PMCFG
Recap
GF grammar
PMCFG
Recap
GF grammar
PMCFG
Recap
GF grammar
PMCFG
Recap
GF grammar
PMCFG
Learn more
Expressivity and Complexity of Grammatical Framework (Ljunglöf, 2004)
The Mechanics of the Grammatical Framework (Angelov, 2011)
This talk in a blog post with slightly fewer jokes about pizza (Listenmaa, 2018)
#1: index of argument
#1: index of argument
#1: index of argument
#2: text field of #1
A selection of pizza lovers