Kragujevac J. Math. 24 (2002) 179-192.
Mirjana M. Lazic
Department of Mathematics, Faculty of Science, University of Kragujevac, P. O. Box 60, 34000 Kragujevac, Yugoslavia.
(Received March 8, 2002)
Abstract. This paper is about a PROLOG program for analysis and synthesis of typical sentences taken from advertisements. That program checks grammatical accuracy of a sentence, i.e. it is used as a syntactic analyzer of a chosen fragment of natural language. On the other hand, the same program is used as a generator of the fragment of language.