Duygu-Turk: إطار تحليل المشاعر الواعي بالسياق للغة التركية، استنادًا إلى نموذج عواطف بلوتشيك
Duygu-Turk: A Context-Aware Sentiment Analysis Framework for Turkish, Based on Plutchik’s Emotion Model

شارك:
المجلة: JUCS – Journal of Universal Computer Science، المجلد: 32، العدد: 4
DOI: https://doi.org/10.3897/jucs.160588
تاريخ النشر: 2026-04-23
المؤلف: Rabia Tintin وآخرون
الموضوع الرئيسي: تحليل المشاعر واستخراج الآراء

نظرة عامة

تقدم هذه الدراسة Duygu-Turk، وهو إطار تحليل مشاعر قائم على التعلم العميق مصمم خصيصًا للغة التركية، المعروفة بطبيعتها المورفولوجية المعقدة والمركبة. على عكس نماذج تحليل المشاعر التقليدية التي تصنف المشاعر عادة إلى فئات واسعة (إيجابية، سلبية، محايدة)، يستخدم Duygu-Turk نظام تصنيف دقيق يعتمد على عجلة بلوتشيك للعواطف، حيث يحدد ثمانية مشاعر أساسية وثمانية مشاعر ثانوية مع درجات متفاوتة من شدة المشاعر. كما يتضمن النموذج آلية منطق غير أحادي لالتقاط المشاعر الشرطية، مما يعزز حساسية السياق. لدعم تطويره، تم إنشاء مجموعة بيانات جديدة تحتوي على 136,000 جملة تركية مشروحة، مما يتيح تدريبًا وتحققًا قويين.

تشير النتائج التجريبية إلى أن Duygu-Turk يتفوق بشكل كبير على النماذج المعتمدة على المحولات المعروفة، مثل BERT وDistilBERT وELECTRA، حيث حقق درجات F1 تبلغ 0.99 لتصنيف القطبية و0.90 لتصنيف المشاعر متعددة الفئات. تصميم النموذج يعالج القيود في الأساليب الحالية من خلال دمج ميزات لغوية خاصة باللغة التركية، بما في ذلك العناصر المورفوسيمانتية والتعبيرات الاصطلاحية، والتي غالبًا ما يتم تجاهلها في الأبحاث السابقة. تشير النتائج إلى أن Duygu-Turk لا يوفر فقط تصنيفًا أكثر دقة للمشاعر ولكنه أيضًا يضع معيارًا جديدًا لتحليل المشاعر في اللغات ذات الموارد المحدودة، مما يظهر كفاءة حسابية والتحقق التجريبي في أدائه.

مقدمة

تسلط المقدمة الضوء على أهمية تحليل المشاعر في سياق معالجة اللغة الطبيعية (NLP)، خاصة للغات الغنية مورفولوجيًا وذات الموارد المحدودة مثل التركية. تؤكد على فائدة تحليل المشاعر في مجالات متنوعة مثل التسويق، والسياسة العامة، والرعاية الصحية، بينما تتناول أيضًا دورها في مكافحة المعلومات المضللة. على الرغم من الأهمية المتزايدة لهذا المجال، فإن الأبحاث الحالية تركز بشكل أساسي على اللغات ذات الموارد العالية، مما يترك تحليل المشاعر باللغة التركية غير مستكشف بشكل كاف. اعتمدت المنهجيات الحالية إلى حد كبير على الأساليب المعتمدة على المعاجم ونماذج المحولات، والتي، على الرغم من فعاليتها في الإعدادات ذات الموارد العالية، تواجه قيودًا في التعامل مع الميزات اللغوية الفريدة للتركية وتعقيدها العاطفي.

لمعالجة هذه الفجوات، تقدم الدراسة Duygu-Turk، وهو إطار تحليل مشاعر قائم على التعلم العميق مصمم خصيصًا للتركية. يصنف هذا النموذج المشاعر إلى 16 فئة متميزة بناءً على عجلة بلوتشيك للعواطف، مما يسمح بفهم أكثر دقة لشدة المشاعر مقارنةً بالتصنيفات الثنائية أو الثلاثية التقليدية. يتضمن Duygu-Turk الخصائص اللغوية الأساسية للتركية، مثل اللواحق المورفوسيمانتية والتعبيرات الاصطلاحية، ويستخدم منطقًا غير أحادي لالتقاط حالات المشاعر المعتمدة على السياق. من خلال تعزيز القابلية للتفسير والتعبير، يهدف Duygu-Turk إلى تقديم حل أكثر دقة وكفاءة من حيث الموارد لتحليل المشاعر باللغة التركية، مما يوسع من قابليته للتطبيق في سيناريوهات معالجة اللغة الطبيعية في العالم الحقيقي.

الطرق

تقدم الدراسة نموذج تحليل مشاعر، يسمى Duygu-Turk، والذي يستند إلى عجلة بلوتشيك للعواطف ومصمم خصيصًا للنصوص المكتوبة باللغة التركية. يحدد هذا النموذج بفعالية ثمانية مشاعر أساسية—الفرح، والثقة، والخوف، والمفاجأة، والحزن، والاشمئزاز، والغضب، والتوقع—بالإضافة إلى ثمانية مشاعر ثانوية تنشأ من تركيباتها، بما في ذلك التفاؤل، والحب، والخضوع، والدهشة، وخيبة الأمل، والندم، والاحتقار، والعدوانية. بالإضافة إلى ذلك، يقيم النموذج شدة هذه المشاعر. تم تقديم مخطط تدفق يوضح بنية النموذج في الشكل 2.

تتناول قسم الطرق العمليات المعنية في النموذج، موضحة خطوات التسمية، والتوجيه، ووحدات الذاكرة طويلة وقصيرة الأجل (LSTM) التي تشكل إطار Duygu-Turk. هذه المكونات ضرورية لقدرة النموذج على تحليل وتفسير المحتوى العاطفي في النصوص التركية بدقة.

النتائج

تكشف نتائج البحث من نموذج Duygu-Turk عن تقدم كبير في تصنيف المشاعر من خلال نهج المنطق غير الأحادي. يحدد هذا النموذج ليس فقط التسميات الإيجابية والسلبية ولكن أيضًا التسميات الإيجابية الشرطية والسلبية الشرطية والتسميات المحايدة، مما يؤدي إلى تصنيف شامل لثمانية مشاعر أساسية وثمانية مشاعر ثانوية بناءً على مستويات شدتها كما هو موضح في عجلة بلوتشيك للعواطف. تم تدريب النموذج والتحقق منه باستخدام مجموعة بيانات تحتوي على 100,000 جملة، مع استخدام نظام تحقق متقاطع بخمسة أضعاف لضمان القوة.

تشير مقاييس الأداء إلى دقة تصنيف عالية، حيث حقق النموذج متوسط درجة F1 العامة بنسبة 93% ومتوسط درجة F1 الموزونة بنسبة 92%. من الجدير بالذكر أن أعلى أداء لوحظ في فئات “الإيجابية الشرطية” و”السلبية الشرطية”، مما يشير إلى أن تضمين اللواحق الشرطية (“-سا، -سي”) يعزز بشكل كبير قدرة النموذج على التقاط المشاعر المعتمدة على السياق. بالإضافة إلى ذلك، أظهرت أداء التصنيف للمشاعر الأساسية نتائج قوية، حيث كانت دقة المتوسط العام، والدقة، والاسترجاع، ودرجات F1 باستمرار فوق 0.85 عبر جميع الفئات، مما يبرز فعالية النموذج في التعرف على المشاعر.

النقاش

تستعرض قسم النقاش دراسات متنوعة حول تحليل المشاعر باللغة التركية، مع تسليط الضوء على منهجياتها ونتائجها وقيودها. من الجدير بالذكر أن أويار أوغلو أكدنز وسبجي استخدموا مصنفات التعلم الآلي، محققين دقة قصوى تبلغ 92% باستخدام نايف بايز، لكن تحليلهم للمشاعر كان محدودًا بفئات إيجابية وسلبية دون النظر إلى الشدة أو تعقيدات اللغة التركية. دراسات أخرى، مثل دراسة بوزويلا، قارنت بين الطرق التقليدية وطرق التعلم العميق، حيث حقق BERTurk درجة F1 تبلغ 95.1%، ومع ذلك، قيدت أيضًا تصنيف المشاعر بثلاث فئات أساسية. تكشف التحليلات عن اتجاه شائع عبر الدراسات: تركيز كبير على تصنيفات المشاعر الثنائية أو الثلاثية، مع تجاهل شدة المشاعر والبنية المورفولوجية الغنية للتركية.

تؤكد القسم أيضًا على الحاجة إلى نهج أكثر دقة لتحليل المشاعر يتضمن مجموعة أوسع من المشاعر وشدتها. يهدف Duygu-Turk، وهو نموذج مقترح يعتمد على عجلة بلوتشيك للعواطف، إلى معالجة هذه الفجوات من خلال تحديد المشاعر الأساسية والثانوية، بالإضافة إلى الحالات الإيجابية والسلبية الشرطية. لا يوسع هذا النموذج إطار تصنيف المشاعر فحسب، بل يتضمن أيضًا ميزات لغوية خاصة باللغة التركية، مما يعزز دقة وعمق تحليل المشاعر في اللغة التركية. كما تم تسليط الضوء على تطوير مجموعة بيانات شاملة للمشاعر، والتي تشمل مجموعة متنوعة من التعبيرات العاطفية، كإسهام كبير في هذا المجال، مما يعالج قيود مجموعات البيانات الحالية.

القيود

ت stem القيود في البحث الحالي بشكل أساسي من الاعتماد الأولي على مجموعة بيانات مشروحة يدويًا لتحليل المشاعر باللغة التركية، والتي تم التخفيف منها منذ ذلك الحين من خلال تنفيذ آلية تسمية تلقائية. لقد سهل هذا التقدم، الذي يستخدم مجموعات أدبية كبيرة وموارد اصطلاحية، التوسع شبه المراقب والتعيين التلقائي للمتجهات، مما يعزز القابلية للتوسع ويقلل من الحاجة إلى التدخل اليدوي. على الرغم من هذه التحسينات، لا تزال فعالية النموذج في معالجة اللغة غير الرسمية للغاية والمتطورة، خاصة في سياقات وسائل التواصل الاجتماعي، غير مستكشفة بشكل كاف.

سيركز العمل المستقبلي على تطوير بنية LSTM القائم على القواعد الحالية إلى إطار هجين يتضمن نماذج قائمة على المحولات مثل BERT أو RoBERTa. من المتوقع أن يعزز هذا الانتقال من فهم النموذج للسياق وقدرته على إدارة الهياكل النحوية المعقدة، بينما يزيد أيضًا من مرونته تجاه الأنماط اللغوية غير الرسمية أو الجديدة. بالإضافة إلى ذلك، من المتوقع أن يؤدي دمج التضمينات السياقية إلى تحسين اكتشاف المشاعر، خاصة في السيناريوهات الصعبة التي تتضمن السخرية، أو التعبيرات الاصطلاحية، أو التعدد الدلالي.

Journal: JUCS – Journal of Universal Computer Science, Volume: 32, Issue: 4
DOI: https://doi.org/10.3897/jucs.160588
Publication Date: 2026-04-23
Author(s): Rabia Tintin et al.
Primary Topic: Sentiment Analysis and Opinion Mining

Overview

This study introduces Duygu-Turk, a deep learning-based sentiment analysis framework tailored for the Turkish language, which is known for its agglutinative and morphologically complex nature. Unlike traditional sentiment analysis models that typically categorize sentiments into broad classes (positive, negative, neutral), Duygu-Turk employs a fine-grained classification system based on Plutchik’s Wheel of Emotions, identifying eight primary and eight secondary emotions along with varying degrees of emotional intensity. The model also incorporates a non-monotonic logic mechanism to capture conditional sentiments, enhancing context sensitivity. To support its development, a new sentiment corpus of 136,000 annotated Turkish sentences was created, enabling robust training and validation.

Experimental results indicate that Duygu-Turk significantly outperforms established transformer-based models, such as BERT, DistilBERT, and ELECTRA, achieving F1 scores of 0.99 for polarity classification and 0.90 for multi-class emotion classification. The model’s design addresses limitations in existing approaches by integrating Turkish-specific linguistic features, including morpho-semantic elements and idiomatic expressions, which are often neglected in prior research. The findings suggest that Duygu-Turk not only provides a more nuanced sentiment classification but also establishes a new benchmark for sentiment analysis in low-resource languages, demonstrating both computational efficiency and empirical validation in its performance.

Introduction

The introduction highlights the significance of sentiment analysis in the context of natural language processing (NLP), particularly for morphologically rich and low-resource languages like Turkish. It emphasizes the utility of sentiment analysis in various domains such as marketing, public policy, and healthcare, while also addressing its role in combating misinformation. Despite the growing importance of this field, existing research has predominantly focused on high-resource languages, leaving Turkish sentiment analysis underexplored. Current methodologies have largely relied on lexicon-based approaches and transformer models, which, while effective in high-resource settings, face limitations in handling Turkish’s unique linguistic features and emotional complexity.

To address these gaps, the study presents Duygu-Turk, a deep learning-based sentiment analysis framework specifically designed for Turkish. This model categorizes sentiment into 16 distinct classes based on Plutchik’s wheel of emotions, allowing for a more nuanced understanding of emotional intensity compared to traditional binary or ternary classifications. Duygu-Turk incorporates essential linguistic characteristics of Turkish, such as morpho-semantic suffixes and idiomatic expressions, and utilizes non-monotonic logic to capture context-dependent sentiment states. By enhancing interpretability and expressiveness, Duygu-Turk aims to provide a more accurate and resource-efficient solution for sentiment analysis in Turkish, thereby broadening its applicability in real-world NLP scenarios.

Methods

The study introduces a sentiment analysis model, termed Duygu-Turk, which is grounded in Plutchik’s Wheel of Emotions and specifically designed for Turkish written texts. This model effectively identifies eight primary emotions—Joy, Trust, Fear, Surprise, Sadness, Disgust, Anger, and Anticipation—as well as eight secondary emotions that arise from their combinations, including Optimism, Love, Submission, Awe, Disappointment, Remorse, Contempt, and Aggressiveness. Additionally, the model assesses the intensity of these emotions. A flow diagram illustrating the model’s architecture is provided in Figure 2.

The Methods section elaborates on the processes involved in the model, detailing the steps of labeling, vectorization, and the Long Short-Term Memory (LSTM) modules that constitute the Duygu-Turk framework. These components are crucial for the model’s ability to analyze and interpret emotional content in Turkish texts accurately.

Results

The research findings from the Duygu-Turk model reveal significant advancements in emotion classification through a non-monotonic logic approach. This model identifies not only positive and negative labels but also conditional positive, conditional negative, and neutral labels, leading to a comprehensive classification of eight primary and eight secondary emotions based on their intensity levels as depicted in Plutchik’s wheel of emotions. The model was trained and validated using a sentiment corpus consisting of 100,000 sentences, with a fivefold cross-validation scheme employed to ensure robustness.

The performance metrics indicate high classification accuracy, with the model achieving a macro average F1 score of 93% and a weighted average F1 score of 92%. Notably, the highest performance was observed in the “conditionally positive” and “conditionally negative” categories, suggesting that the inclusion of conditional suffixes (“-sa, -se”) significantly enhances the model’s ability to capture context-dependent emotions. Additionally, the classification performance for primary emotions demonstrated strong results, with macro average accuracy, precision, recall, and F1 scores consistently above 0.85 across all categories, underscoring the model’s effectiveness in emotion recognition.

Discussion

The discussion section reviews various studies on sentiment analysis in Turkish, highlighting their methodologies, findings, and limitations. Notably, Uyaroğlu Akdeniz and Cebeci utilized machine learning classifiers, achieving a maximum accuracy of 92% with Naïve Bayes, but their sentiment analysis was limited to positive and negative categories without considering intensity or the complexities of the Turkish language. Other studies, such as Bozuyla’s, compared traditional and deep learning methods, with BERTurk achieving an F1 score of 95.1%, yet they similarly restricted sentiment classification to three basic categories. The analysis reveals a common trend across studies: a predominant focus on binary or ternary sentiment classifications, neglecting sentiment intensity and the rich morphological structure of Turkish.

The section further emphasizes the need for a more nuanced approach to sentiment analysis that incorporates a broader range of emotions and their intensities. Duygu-Turk, a proposed model based on Plutchik’s Wheel of Emotions, aims to address these gaps by identifying primary and secondary emotions, as well as conditionally positive and negative states. This model not only expands the sentiment classification framework but also incorporates Turkish-specific linguistic features, thereby enhancing the accuracy and depth of sentiment analysis in the Turkish language. The development of a comprehensive sentiment corpus, which includes a diverse array of emotional expressions, is also highlighted as a significant contribution to the field, addressing the limitations of existing datasets.

Limitations

The limitations of the current research primarily stem from the initial reliance on a manually annotated corpus for Turkish sentiment analysis, which has since been mitigated by the implementation of an automatic labeling mechanism. This advancement, utilizing large-scale literary corpora and idiomatic resources, has facilitated semi-supervised expansion and automatic vector assignment, thereby enhancing scalability and reducing the need for manual intervention. Despite these improvements, the model’s efficacy in processing highly informal and evolving language, particularly in social media contexts, remains underexplored.

Future work will focus on evolving the existing rule-based LSTM architecture into a hybrid framework that incorporates transformer-based models such as BERT or RoBERTa. This transition is anticipated to bolster the model’s contextual understanding and its ability to manage complex syntactic structures, while also increasing resilience to informal or novel linguistic patterns. Additionally, the integration of contextual embeddings is expected to refine sentiment detection, particularly in challenging scenarios involving sarcasm, idiomatic expressions, or polysemy.