Abstract: Sentiment analysis is one of the most important and interesting tasks in natural languages. A number of resources and tools have been developed for sentiment analysis of English, Turkish, Russian and other languages. Unfortunately, there were no data and tools available for sentiment analysis in Kazakh. The Dictionary of Kazakh sentiment words has been created during this study. In this work, we described the rule-based method using a dictionary of emotional words for sentiment analysis of texts in the Kazakh language, based on the morphological rules and ontological model. We studied the texts in Kazakh and determined the parts of speech that define the text mood. Based on the conducted studies, a lot of phrases were identified as determining the text polarity. This paper is an extended version of the paper published in [in: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), LNCS, 2017, pp. 669–677]. In addition to the original material, the paper includes additional rules for determining sentiment on a 5-point scale.