Abstract
We present an approach to multilingual web content based on multilingual grammars and syntax editing for a controlled language. Content can be edited in any supported language and it is automatically kept within a controlled language fragment. We have implemented a web-based syntax editor for Grammatical Framework (GF) grammars which allows both direct abstract syntax tree manipulation and text input in any of the languages supported by the grammar. With this syntax editor and the GF JavaScript API, GF grammars can be used to build multilingual web applications. As a demonstration, we have implemented an example application in which users can add, edit and review restaurants in English, Spanish and Swedish.
Access provided by Autonomous University of Puebla. Download to read the full chapter text
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
Ranta, A.: Grammatical Framework: A Type-Theoretical Grammar Formalism. Journal of Functional Programming 14(2), 145–189 (2004)
Ranta, A.: Grammars as software libraries. In: Bertot, Y., Huet, G., Lévy, J.J., Plotkin, G. (eds.) From semantics to computer science: essays in honor of Gilles Kahn. Cambridge University Press, Cambridge (2008)
Teitelbaum, T., Reps, T.: The Cornell program synthesizer: a syntax-directed programming environment. Commun. ACM 24(9), 563–573 (1981)
Furuta, R., Quint, V., Andre, J.: Interactively Editing Structured Documents. Electronic Publishing 1(1), 19–44 (1988)
Khegai, J., Nordström, B., Ranta, A.: Multilingual Syntax Editing in GF. In: Gelbukh, A. (ed.) CICLing 2003. LNCS, vol. 2588, pp. 199–204. Springer, Heidelberg (2003)
Bringert, B.: Rapid Development of Dialogue Systems by Grammar Compilation. In: Keizer, S., Bunt, H., Paek, T. (eds.) Proceedings of the 8th SIGdial Workshop on Discourse and Dialogue, Antwerp, Belgium, pp. 223–226 (2007)
Burden, H., Ljunglöf, P.: Parsing Linear Context-Free Rewriting Systems. In: Proceedings of the Ninth International Workshop on Parsing Technology, Vancouver, British Columbia, pp. 11–17. Association for Computational Linguistics (2005)
Angelov, K., Bringert, B., Ranta, A.: PGF: A Portable Run-Time Format for Type-Theoretical Grammars (manuscript, 2008), http://www.cs.chalmers.se/~bringert/publ/pgf/pgf.pdf
Beckert, B., Hähnle, R., Schmitt, P.H. (eds.): Verification of Object-Oriented Software. LNCS (LNAI), vol. 4334. Springer, Heidelberg (2007)
Johannisson, K., Khegai, J., Forsberg, M., Ranta, A.: From Grammars to Gramlets. In: The Joint Winter Meeting of Computing Science and Computer Engineering. Chalmers University of Technology (2003)
Power, R., Scott, D., Evans, R.: What You See Is What You Meant: direct knowledge editings with natural language feedback. In: 13th European Conference on Artificial Intelligence (ECAI 1998), pp. 677–681 (1998)
Cohen, A., Cuypers, H., Poels, K., Spanbroek, M., Verrijzer, R.: WExEd - WebALT Exercise Editor for Multilingual Mathematical Exercises. In: Seppälä, M., Xambo, S., Caprotti, O. (eds.) WebALT 2006, First WebALT Conference and Exhibition, Eindhoven, Netherlands, pp. 141–145 (January 2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Meza Moreno, M.S., Bringert, B. (2008). Interactive Multilingual Web Applications with Grammatical Framework. In: Nordström, B., Ranta, A. (eds) Advances in Natural Language Processing. GoTAL 2008. Lecture Notes in Computer Science(), vol 5221. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-85287-2_32
Download citation
DOI: https://doi.org/10.1007/978-3-540-85287-2_32
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-85286-5
Online ISBN: 978-3-540-85287-2
eBook Packages: Computer ScienceComputer Science (R0)