1988 Volume 3 Issue 1 Pages 78-85
In the process of doing syntax analysis of the Thai language, we found that GPSG can treat Thai syntactic rules in a very simple and compact way using Immediate Dominance (ID) and Linear Precedence (LP) rule. We built a simple GPSG translator which translates rules written in ID and LP rule format into DCG format. We call the translator 'Translator for ID and LP rule' or simply TIL. Besides the general translating function that is defined in GPSG, TIL provides several special formats which enable users to control the translation at the syntactic rule level. We also show that by using this translator we can reduce the rules to be handled by half.