Semantic-Syntax-Directed Translation

This paper examines the role which “semantics” can play in language translation. When formally defined at all, the meanings of sentences have been used in the past only to prove properties about translators (usually “correctness”). A new family of semantic-syntax-directed translators is presented here which “actively” use semantic information at translation time to help induce the translation. The family members display properties quite distinct from those of purely syntax-directed translators, with some semantic-syntax-directed translators enumerating every “correct” translation of a source sentence. Translations are defined between a general form of “phrase-structure language” which has both an underlying context-free grammar and a function-theoretic semantics based on Knuth's attributed grammar and Buttelmann's phrase-structure semantics. “Semantic deviance” is applied to syntax-directed methods for the first time. Both strings and their parses may be deviant; i.e., meaningless. The translators “filter” deviant strings and parse trees form entering or leaving the tree transducer of the translator. A second form of semantic-syntax-directed translator maps parse trees of source sentences to parse trees of sentences in the target language as a function of both the syntactic structure of the source parse tree and the values of attributes of its nodes.

[1]  Arthur B. Pyster,et al.  Context-dependent Tree Automata , 1978, Inf. Control..

[2]  Art Pyster Formal translation of phrase-structure languages / , 1975 .

[3]  Alfred V. Aho,et al.  Properties of Syntax Directed Translations , 1969, J. Comput. Syst. Sci..

[4]  Noam Chomsky,et al.  Three models for the description of language , 1956, IRE Trans. Inf. Theory.

[5]  Noam Chomsky,et al.  वाक्यविन्यास का सैद्धान्तिक पक्ष = Aspects of the theory of syntax , 1965 .

[6]  Noam Chomsky,et al.  On Certain Formal Properties of Grammars , 1959, Inf. Control..

[7]  H. William Buttelmann,et al.  On the Syntactic Structures of Unrestricted Grammars I. Generative Grammars and Phrase Structure Grammars , 1975, Inf. Control..

[8]  Dana S. Scott,et al.  Finite Automata and Their Decision Problems , 1959, IBM J. Res. Dev..

[9]  Ramachandran Krishnaswamy Methodology and generation of language translators. , 1976 .

[10]  Alfred V. Aho,et al.  Translations on a Context-Free Grammar , 1971, Inf. Control..

[11]  James W. Thatcher,et al.  Characterizing Derivation Trees of Context-Free Grammars through a Generalization of Finite Automata Theory , 1967, J. Comput. Syst. Sci..

[12]  Donald E. Knuth,et al.  Examples of formal semantics , 1971, Symposium on Semantics of Algorithmic Languages.

[13]  Daniel J. Rosenkrantz,et al.  Attributed Translations , 1974, J. Comput. Syst. Sci..

[14]  Daniel J. Rosenkrantz,et al.  Compiler design theory , 1976 .