MRG parser for visual languages
نویسندگان
چکیده
The theory of visual programming languages (VPLs) is very crucial for understanding the visual programming approach. It includes basically formal models for specifying VPLs and the corresponding parsing algorithms. This paper presents a grammatical formalism and an ecient parsing algorithm for visual languages. The proposed formalism, called modi®ed relation grammar (MRG), is a restricted form of the relation grammar (RG). MRG restricts the form of productions and distributes the evaluation rules among various production rules, which makes the grammar more readable. The paper also presents an ecient O n parsing algorithm for MRG. The paper includes a number of examples to demonstrate the proposed formalism. It also includes a discussion on the expressive power of the proposed grammar and the cor-rectness of its parsing algorithm. Finally, the paper compares the proposed grammar and its parsing algorithm with a similar restricted form of the RG.
منابع مشابه
Feature Engineering in Persian Dependency Parser
Dependency parser is one of the most important fundamental tools in the natural language processing, which extracts structure of sentences and determines the relations between words based on the dependency grammar. The dependency parser is proper for free order languages, such as Persian. In this paper, data-driven dependency parser has been developed with the help of phrase-structure parser fo...
متن کاملTransforming Meaning Representation Grammars to Improve Semantic Parsing
A semantic parser learning system learns to map natural language sentences into their domain-specific formal meaning representations, but if the constructs of the meaning representation language do not correspond well with the natural language then the system may not learn a good semantic parser. This paper presents approaches for automatically transforming a meaning representation grammar (MRG...
متن کاملVisual Language Editors Based on Lr Parsing Techniques
Visual language editors should provide a user-friendly environment where users are supported in an effective way in the construction of visual sentences. In this paper, we propose an approach for the construction of syntax-directed visual language editors by integrating incremental parsers into freehand editors. The approach combines the LR-based techniques for parsing visual languages with the...
متن کاملConstraint Relation Multiset Grammars for Visual Languages
This paper proposes grammars for visual languages. The proposed grammars introduce relations into the constraint multiset grammars[4J. Relations are the constraints on the relationships among symbols in visual languages. The proposed grammars. which are called constraint relation multiset grammars. have the relations as the first class citizens of the grammars because the relationships among sy...
متن کاملStudying impressive parameters on the performance of Persian probabilistic context free grammar parser
In linguistics, a tree bank is a parsed text corpus that annotates syntactic or semantic sentence structure. The exploitation of tree bank data has been important ever since the first large-scale tree bank, The Penn Treebank, was published. However, although originating in computational linguistics, the value of tree bank is becoming more widely appreciated in linguistics research as a whole. F...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Sci.
دوره 131 شماره
صفحات -
تاریخ انتشار 2001