ECL2 2024 Ex06 SampleSolution Updated
ECL2 2024 Ex06 SampleSolution Updated
ECL II Exercise 6
Repetition
1 Ambiguities
For each sentence, identify the type of ambiguity:
1. Pragmatic ambiguity:
statement vs. request (e.g., Turn the music off!)
2. Syntactic ambiguity:
John catches [the mouse][with cheese]
John catches [the mouse with cheese]
3. Phonetic/phonological ambiguity:
piece vs peace
4. Scope ambiguity:
Each tourist eats their own kiwi. vs. All tourists have to share one
single kiwi.
If you are from New Zealand, there might be another ambiguity, namely
lexical ambiguity between kiwifruit and kiwi bird.
1
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
2 Semantic Relations
Explain the semantic relationship between ’cat’ and the terms listed below
(hyponymy, meronymy, synonymy, etc.).
Cat:
1. Hyponym
2. Hypernym
3. Meronym
4. Synonym
5. Hyponym
3 Transformation of Quantifiers
Transform the following statements in such a way, that you can express the
same ’meaning’ using the opposite quantifier(∃ to ∀ and vice versa). Thus,
the truth conditions must stay constant.
Example: ∀x(Roman(x) → be_crazy(x)) ↔ ¬∃x(Roman(x) ∧
¬be_crazy(x))
Transformed statement 1:
Transformed statement 2:
∃x(boar(x) ∧ ¬delicious(x))
Since we have double negation, we can simplify the original statement to:
Transformed statement 3:
Transformed statement 4:
2
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
3
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
magician(Harry) ∧ ¬magician(Dudley)
3. Slytherin and Gryffindor don’t like each other. (Both solutions are cor-
rect)
6. There is a magician, who likes all witches who are not better than
himself.
4
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
6 Propositional Logic
a: It’s warm.
b: It’s cold.
c: It’s summer.
4.1 If it’s warm, it’s not cold. If it’s summer, it’s warm. It’s summer. Thus,
it’s not cold.
Premise: (a → ¬b) ∧ (c → a) ∧ c
Conclusion: ¬b
Truth Table:
a b c (a → ¬b) ∧ (c → a) ∧ c ¬b
1 1 1 0 0 1 0 1 0
1 1 0 0 0 1 0 0 0
1 0 1 1 1 1 1 1 1
1 0 0 1 1 1 0 0 1
0 1 1 1 0 0 0 1 0
0 1 0 1 1 1 0 0 0
0 0 1 1 0 0 0 1 1
0 0 0 1 1 1 0 0 1
As you can see in row 1.1, we have the only instance of the premise being
true and the conclusion being also true. So, the semantic proof holds.
5
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
4.2 It’s warm, exactly when it’s not cold. If it’s cold, it’s not summer. Thus,
it’s summer, if it’s warm.
Premise: (a ↔ ¬b) ∧ (b → ¬c)
Conclusion: a → c
6
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
7
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
8
Introduction to Computational Linguistics II Spring Semester 2024
Department of Computational Linguistics University of Zürich
Extra comments from us: We hope this helps you practice a bit before the
exam, for more translation exercises, you have quite a lot in the old exam. If
you want to check your results for the exams with no sample solutions, come
ask us in the Q&A session. Good luck!