German adjective agreement in Prolog

Sylvie Thouësny

screen capture

screen capture

screen capture

Abstract

This is a piece of software I implemented when I was student at the University of Franche-Comté, Besançon, France.
After entering a determinant, adjective and noun, the program computes the adjective endings for cases in German depending on the adjective itself and the type of determinant.


Listing

COMBINAI.PRO
/*Sylvie THOUESNY - 01/05/2000 */
code=8000
project “accord”
include “globdef.pro”
goal
go.
clauses
/*
*******************
détail des fenêtres
*******************
window(1) : bandeau supérieur
window(2) : demande cas genre nombre
window(3) : bandeau inférieur noir
window(4) : bandeau inférieur erreur saisie
window(5) : accueil
window(6) : bandeau recommencer recherche
window(7) : final
~~~~~~~~~~~~~~~~~~~~
*/
go:-
   clearwindow,
   makewindow(1,113,14,"",0,0,5,80),
   makewindow(2,14,0,"",5,0,17,80),
   makewindow(4,4,0,"",22,0,3,80),
   write(“ Erreur dans la saisie, “),
   write(“recommencez s’il vous plait !”),
   makewindow(3,14,0,””,22,0,3,80),
   makewindow(5,14,0,””,5,0,17,80),
   départ.

Départ:-
   repete,
  shiftwindow(3),

[more... pdf]

Creative Commons License View Sylvie Thouësny's profile on LinkedIn

Last revised on August 2017 - Copyright © 2007 onwards, Sylvie THOUËSNY, all rights reserved
All the content of this website is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 Unported License