1 of 31

Grammar blowup

or “Sometimes the pizza oven overheats”

Inari Listenmaa

GF Summer School

5th August 2021, Singapore

2 of 31

Does this ever happen to you?

3 of 31

The problem

  • Amount of concrete categories and functions
  • Size of concrete categories
  • Variants
  • All of the above

4 of 31

Variants

👍 Easy to fix

👎 Hard to suspect

  • Amount of concrete categories and functions
  • Size of concrete categories
  • Variants
  • All of the above

5 of 31

Variants

6 of 31

Variants

7 of 31

Variants

8 of 31

Variants

9 of 31

Variants

10 of 31

Amount of concrete categories and functions

👍 Not outrageously hard to recognise

👎 Often hard to figure out how to fix

  • Amount of concrete categories and functions
  • Size of concrete categories
  • Variants
  • All of the above

11 of 31

Amount of concrete categories and functions

The number of inherent parameters

12 of 31

Amount of concrete categories and functions

The number of inherent parameters

Pre- and postmodifier adjectives implemented with a parameter

13 of 31

Pre- and postmodifier adjectives implemented without a parameter

14 of 31

Amount of concrete categories and functions

With a parameter

With a field

15 of 31

Basque DetCN

DetCN det cn = {

s = det.pre ++ cn.heavyMod ++ cn.noun ++ cn.lightMod ++ det.post

} ;

“your” “in the house” “blue” “the”

16 of 31

Slash categories are dangerous

You won’t believe the change that removed 35000 concrete categories

17 of 31

18 of 31

19 of 31

How to detect

  1. Compile your grammar with -v

> gf -v LangEus.gf

20 of 31

How to detect

  1. Use gftest

21 of 31

How to detect

2) Use gftest

22 of 31

How to detect

2) Use gftest

23 of 31

How to detect

  • Time travel back to 2011

24 of 31

Size of concrete categories and functions

👍 Easy to recognise

👎 Tedious to fix

👎 Often hard to get right

❓Sometimes needs linguistic insight

  • Amount of concrete categories and functions
  • Size of concrete categories and functions
  • Variants
  • All of the above

25 of 31

Size of concrete categories and functions

The number of variable parameters

26 of 31

Size of concrete categories and functions

The number of variable parameters

Standard Average European

27 of 31

Perfectly spherical cow in a vacuum

28 of 31

Closer to reality

  • 1-10 stems
  • 1-5 allomorphs

If the result has fewer forms than in your original table, you’re still winning

29 of 31

Basque, obviously

30 of 31

The answer

  • Amount of concrete categories and functions
  • Size of concrete categories
  • Variants
  • All of the above

31 of 31

Learn more

This talk in a blog post

A friendly goat in Helsinki