首页 /研究 /From Grammar Inference to Semantic Inference—An Evolutionary Approach
OTHER

From Grammar Inference to Semantic Inference—An Evolutionary Approach

Željko Kovačević, Marjan Mernik, Miha Ravber, Matej Črepinšek

发表年份
2020
引用次数
15
访问权限
开放获取

摘要

This paper describes a research work on Semantic Inference, which can be regarded as an extension of Grammar Inference. The main task of Grammar Inference is to induce a grammatical structure from a set of positive samples (programs), which can sometimes also be accompanied by a set of negative samples. Successfully applying Grammar Inference can result only in identifying the correct syntax of a language. With the Semantic Inference a further step is realised, namely, towards inducing language semantics. When syntax and semantics can be inferred, a complete compiler/interpreter can be generated solely from samples. In this work Evolutionary Computation was employed to explore and exploit the enormous search space that appears in Semantic Inference. For the purpose of this research work the tool LISA.SI has been developed on the top of the compiler/interpreter generator tool LISA. The first results are encouraging, since we were able to infer the semantics only from samples and their associated meanings for several simple languages, including the Robot language.

关键词

Computer scienceInferenceNatural language processingArtificial intelligenceGrammar inductionProgramming languageGrammarParsingSyntaxSemantics (computer science)

相关论文

查看 OTHER 分类全部论文