Yhteystiedot
Yleisen kielitieteen laitos
PL 9 (Siltavuorenpenger 20 A)
00014 HELSINGIN YLIOPISTO
Puhelin +358 (09) 1911 (vaihde)
Faksi +358 (09) 191 29307
|
|
13. Cuts and Negation.
- Lecture Notes
- Further reading
- Practical work.
-
Do the first part of
Practical Session 10 from Learn Prolog Now!
Use tracing to try out all three versions of the max/3
predicate (the cut-free version, the green cut version,
and the red cut version).
- Lecture Notes
- Further reading
- Practical work.
-
Practical Session 9 from Learn Prolog Now!
Write a predicate pptree/1 that takes a complex term
representing a tree such as
s(np(det(a),n(man)),vp(v(shoots),np(det(a),n(woman))))
as its argument and "pretty prints" a nicely indented
format for the tree.
Assignment 6.
Assignment 7 (Optional).
© 2002-2007 Graham Wilcock
|