Abstract
A Computational Grammar for a language is a very useful resource for carrying out various language processing tasks for that language such as Grammar checking, Machine Translation and Question Answering. As is the case in most South Indian Languages, Sinhala is a highly inflected language with three gender forms and two number forms among other grammatical features. While piecemeal descriptions of Sinhala grammar is reported in the literature, no comprehensive effort to develop a context-free grammar (CFG) has been made that has been able to account for any significant coverage of the language. This paper describes the development of a feature-based CFG for non-trivial sentences in Sinhala. The resulting grammar covers a significant subset of Sinhala as described in a well-known grammar book. A parser for producing the appropriate parse tree(s) of input sentences was also developed using the NLTK toolkit. The grammar also detects and so rejects ungrammatical sentences. Two hundred sample sentences taken from primary grade Sinhala grammar books were used to test the grammar. The grammar accounted for 60% of the coverage over these sentences.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Abhayasinghe, A.A.: Sinhala bhashave sarala vakya vibagaya (1998)
Ayesha Binte Mosaddeque, A.B., Haque, N.: Context-Free Grammar for Bangla. BRAC University, Dhaka
Bird, S., Klein, E., Loper, E.: Natural Language Processing with Python: Analyzing Text with the Natural Language Toolkit. O’Reilly Media (2009)
Disanayaka, J.B.: Bashavaka rata samudaya. Lake house investment Co. Ltd., Colombo 2 (1969)
Fairbanks, G.H., Gair, J.W., Silva, M.W.S.D.: Colloquial Sinhalese. Cornell University, New York (1968)
Gair, J.W., Karunatilaka, W.S.: Literary Sinhala inflected forms: A Synopsis with a Translation Guide to Sinhala script. Cornell University, New York
Gair, J.W., Karunatilaka, W.S.: Literary Sinhala. Cornell University, New York (1974)
Gunasekara, A.M.: A Comprehensive Grammar of the Sinhalese Language. Godage International Publishers (PVT) Ltd. (2008)
Hettige, B., Karunananda, A.S.: Computational Model of Grammar for English to Sinhala Machine Translation. In: Proceedings of the International Conference on Advances in ICT for Emerging Regions (2011)
Jayawardhane, T.: The surface case system in Sinhala. KALYANI, pp. 264–277. University of Kelaniya (1996)
Kariyakarawana, S.M.: The Syntax of Focus and Wh-Questions in Sinhala. Karunaratne & Sons Ltd. (1998)
Karunatilaka, W.S.: Sinhala bhasha vyakaranaya. M. D. Gunasena & Co. Ltd. (2009)
Kekulawala, S.L.: The future tense in Sinhalese – an ‘unorthodox’ point of view. Journal of the Vidyalankara University of Ceylon (1972)
Khan, N., Khan, M.: Developing a Computational Grammar for Bengali Using the HPSG Formalism. In: Proceedings of the 9th International Conference on Computer and Information Technology, ICCIT 2006 (2006)
Rajapaksha, D.: Sinhala bhashave pada bedima saha virama lakshana bhavithaya (2008)
Sagar, B.M., Shobha, G., Kumar, R.: Context Free Grammar (CFG) Analysis for simple Kannada sentences. In: Proceedings of the International Conference [ACCTA-2010] on Special Issue of IJCCT, vol. 1(2, 3, 4) (2010)
Sagar, B.M., Shobha, G., Kumar, R.: Solving the Noun Phrase and Verb Phrase Agreement in Kannada Sentences. International Journal of Computer Theory and Engineering 1(3) (August 2009)
Wikipedia (English), http://en.wikipedia.org/wiki/Sinhala_language
Dasanayaka, A.E.S.: Kumara rachanaya; Grade 4. M. D. Gunasena & Co. Ltd. (1990)
Dasanayaka, A.E.S.: Kumara rachanaya; Grade 5, M. D. Gunasena & Co. Ltd. (2005)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Liyanage, C., Pushpananda, R., Herath, D.L., Weerasinghe, R. (2012). A Computational Grammar of Sinhala. In: Gelbukh, A. (eds) Computational Linguistics and Intelligent Text Processing. CICLing 2012. Lecture Notes in Computer Science, vol 7181. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-28604-9_16
Download citation
DOI: https://doi.org/10.1007/978-3-642-28604-9_16
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-28603-2
Online ISBN: 978-3-642-28604-9
eBook Packages: Computer ScienceComputer Science (R0)