Document Open Access Logo

Lyntax - A grammar-Based Tool for Linguistics

Authors Manuel Gouveia Carneiro de Sousa , Maria João Varanda Pereira , Pedro Rangel Henriques



PDF
Thumbnail PDF

File

OASIcs.SLATE.2021.4.pdf
  • Filesize: 0.87 MB
  • 13 pages

Document Identifiers

Author Details

Manuel Gouveia Carneiro de Sousa
  • University of Minho, Braga, Portugal
Maria João Varanda Pereira
  • Research Centre in Digitalization and Intelligent Robotics, Polythechnic Insitute of Bragança, Portugal
Pedro Rangel Henriques
  • University of Minho, Braga, Portugal

Cite AsGet BibTex

Manuel Gouveia Carneiro de Sousa, Maria João Varanda Pereira, and Pedro Rangel Henriques. Lyntax - A grammar-Based Tool for Linguistics. In 10th Symposium on Languages, Applications and Technologies (SLATE 2021). Open Access Series in Informatics (OASIcs), Volume 94, pp. 4:1-4:13, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2021)
https://doi.org/10.4230/OASIcs.SLATE.2021.4

Abstract

This paper is focused on using the formalism of attribute grammars to create a tool that allows Linguistic teachers to construct automatically their own processors totally adapted to each linguistic exercise. The system developed, named Lyntax, is a compiler for a domain specific language which intends to enable the teacher to specify different kinds of sentence structures, and then, ask the student to test his own sentences against those structures. The processor Lyntax validates the grammar (DSL program) written by the teacher, generating a processor every time the student defines a new sentence. For that ANTLR is used in both steps, generating not only the specialized processor but also the visualization of the syntax tree for analysis purposes. An interface that supports the specification of the language was built, also allowing the use of the processor and the generation of the specific grammar, abstracting the user of any calculations.

Subject Classification

ACM Subject Classification
  • Human-centered computing → Visualization systems and tools
  • Social and professional topics → Computer science education
  • Software and its engineering → Source code generation
Keywords
  • Attribute Grammars
  • Linguistic Rules
  • Pedagogical Linguistic Tools

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Zoltán Alexin. Constructor : a natural language interface based on attribute grammar. Acta Cybernetica, 9(3):247-255, January 1990. URL: https://cyber.bibl.u-szeged.hu/index.php/actcybern/article/view/3371.
  2. Patrícia Amorim Barros, Maria João Varanda Pereira, and Pedro Rangel Henriques. Applying attribute grammars to teach linguistic rules. In 6th Symposium on Languages, Applications and Technologies (SLATE 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017. Google Scholar
  3. Rahmatullah Hafiz. Executable attribute grammars for modular and efficient natural language processing. PhD thesis, University of Windsor, Canada, 2011. Google Scholar
  4. Petra Horáková and Juan Pedro Cabanilles Gomar. La concordancia nominal de género en las oraciones atributivas del español: una descripción formal con gramáticas de atributos. Entrepalavras, 4(1):118-136, 2014. Google Scholar
  5. Donald E. Knuth. The genesis of attribute grammars. In P. Deransart and M. Jourdan, editors, Attribute Grammars and their Applications, pages 1-12, Berlin, Heidelberg, 1990. Springer Berlin Heidelberg. Google Scholar
  6. José Luis Sierra and Alfredo Fernández-Valmayor. A prolog framework for the rapid prototyping of language processors with attribute grammars. Electronic Notes in Theoretical Computer Science, 164(2):19-36, 2006. Google Scholar
  7. Kenneth Slonneger and Barry L Kurtz. Formal syntax and semantics of programming languages, volume 340. Addison-Wesley Reading, 1995. Google Scholar
  8. Krishnaprasad Thirunarayan. Attribute grammars and their applications. In P. Deransart and M. Jourdan, editors, Attribute Grammars and their Applications, Berlin, Heidelberg, 1990. Springer Berlin Heidelberg. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail