JBT Journal
Advanced

Raqamli Transformatsiya va Sun’iy Intellekt

N-GRAM TIL MODELI VOSITASIDA O‘ZBEK TILIDA MATN GENERATSIYASI

Botir Elov1, Mastura Primova1

1 Alisher Navoiy nomidagi Toshkent davlat o‘zbek tili va adabiyoti universiteti

Zenodo DOI: 10.5281/zenodo.24464055

Keywords

Perplexity Kneser- Ney N-gram Katz Smoothing NLP Beam search.

Abstract

Ushbu maqolada tilni modellashtirish masalasi klassik statistik yondashuv asosida tadqiq etiladi. Xususan, N-gram modeli yordamida matn generatsiya qilish jarayoni hamda ushbu jarayonni BPMN notatsiyasi orqali modellashtirish masalalari tahlil qilinadi. Tadqiqot doirasida modelning ishlash tamoyillari, ehtimolliklarni hisoblash mexanizmlari va jarayon bosqichlarining formal tasviri batafsil yoritiladi.
Model samaradorligini oshirish maqsadida Kneser–Ney silliqlash usuli qo‘llanildi va turli tartibli N-gram modellarining perpleksiya ko‘rsatkichlari taqqoslandi. Tajriba natijalariga ko‘ra, Unigrаm model eng yuqori - taxminan 950 atrofida, bigram modelda perpleksiya darhol keskin yaxshilanib 180 gacha tushdi va 3-gram modelda perpleksiya qiymati 121, 5-gramda 114, 7-gramda 112 va 9-gramda 108 ni tashkil etdi. Qo‘shimcha tahlillar trigram modelida perpleksiyaning 120 gacha pasayganini ko‘rsatdi. N=4 va N=5 konfiguratsiyalarda esa ko‘rsatkich mos ravishda 110 va 105 atrofida qayd etildi. Eng past perpleksiya natijasi 5-gram modelda kuzatilib, uning nisbatan yuqori bashorat aniqligini namoyon etdi.
Olingan natijalar N-gram modelining amaliy qo‘llanishdagi ustun jihatlari bilan bir qatorda uning statistik tabiatidan kelib chiqadigan cheklovlarini ham aniqlash imkonini berdi.

Views: 8 Published: 2026-10-28 Pages: 176-183 Volume: 4 Issue: 5-Special-Issues

References

  1. This article investigates the problem of language modeling based on a classical statistical approach. In particular, it analyzes the process of text generation using the N-gram model, as well as the modeling of this process using the BPMN notation. Within the scope of the study, the operating principles of the model, the mechanisms for calculating probabilities, and the formal representation of the process stages are described in detail.
  2. The obtained results made it possible to identify not only the advantages of the N-gram model in practical applications but also its limitations arising from its statistical nature.
  3. To improve model performance, the Kneser–Ney smoothing method was applied, and the perplexity values of N-gram models of different orders were compared. According to the experimental results, the Unigram model demonstrated the highest perplexity, at approximately 950, while the perplexity of the Bigram model improved significantly, decreasing to 180. For the 3-gram model, the perplexity value was 121, while the values for the 5-gram, 7-gram, and 9-gram models were 114, 112, and 108, respectively. Additional analysis showed that the perplexity of the Trigram model decreased to approximately 120. For the N=4 and N=5 configurations, the corresponding values were approximately 110 and 105, respectively. The lowest perplexity was observed for the 5-gram model, demonstrating its relatively higher predictive performance.