ویرگول
ورودثبت نام
parsa
parsa
parsa
parsa
خواندن ۲ دقیقه·۱ ماه پیش

# Emotional TypeYar

# Emotional TypeYar
# Emotional TypeYar

# Emotional TypeYar

## A Human-Centered Approach to Typo Correction in Persian

Authors: Parsa & Copilot

---

### Introduction

In Persian digital communication, typos are common and often inevitable. However, correcting these mistakes should not rely solely on rigid grammatical rules. The Emotional TypeYar project proposes a human-centered algorithm that respects the tone, writing style, and emotional context of the writer when offering corrections.

---

### Purpose

To present a prototype algorithm that corrects Persian typos without erasing the emotional or stylistic essence of the sentence. Instead of enforcing a single correction, the algorithm offers adaptive suggestions aligned with the writer’s tone and intent.

---

### Core Logic of the Algorithm

#### 1. Detecting Common Persian Typos

Identifying frequent errors such as “میخام” (I want), “نمبینی” (you don’t see), or “خستم” (I’m tired), and offering appropriate corrections.

#### 2. Analyzing Sentence Tone

Using emotional keywords, punctuation, and stylistic cues to detect tone—formal, casual, poetic, tired, or expressive.

#### 3. Adaptive Correction

Rather than enforcing a single fix, the algorithm offers multiple suggestions: formal, colloquial, or tone-preserving.

#### 4. Preserving Ritualized Expressions (Jets)

If the sentence contains personal or poetic expressions (Jets), the algorithm avoids automatic correction and instead offers gentle suggestions.

#### 5. Learning from the User

By reviewing previous writing patterns, the algorithm adapts to the user’s style and common typo patterns over time.

---

### Sample Cases

#### Example 1

Input:

خیلی خستم ولی میخام بنویسم یه چیزی که شاید کسی نفهمه 😞

("I'm really tired but I want to write something that maybe no one will understand 😞")

Tone Analysis:

Tired, introspective, emotional

Suggested Corrections:

- خیلی خسته‌ام ولی می‌خوام بنویسم... (Formal)

- خیلی خستم ولی می‌خوام بنویسم... (Colloquial)

- خیلی خستم ولی میخام بنویسم... (Tone-preserving)

---

#### Example 2

Input:

نمبینی چقد دلم گرفته؟

("Don’t you see how heavy my heart feels?")

Tone Analysis:

Emotional, expressive

Suggested Corrections:

- نمی‌بینی چقدر دلم گرفته؟

- نمیبینی چقد دلم گرفته؟

- نمبینی چقد دلم گرفته؟ (Tone-preserving)

---

#### Example 3

Input:

میخام فقط یه پتو دیجیتالی باشه دورم، بی‌صدا...

("I just want a digital blanket around me, in silence...")

Tone Analysis:

Poetic, introspective

Suggested Corrections:

- می‌خوام فقط یه پتو دیجیتالی باشه... (Formal)

- میخام فقط یه پتو دیجیتالی باشه... (Poetic tone preserved)

---

### Conclusion

The Emotional TypeYar prototype demonstrates that typo correction can go beyond grammar and embrace the human essence of writing. This algorithm lays the foundation for future Persian smart tools that prioritize understanding over enforcement.

---

هوش مصنوعیaitype
۱
۰
parsa
parsa
شاید از این پست‌ها خوشتان بیاید