File size: 3,424 Bytes
0222c4e
 
 
 
 
 
3137028
0222c4e
 
 
 
9fcbc0a
0222c4e
9fcbc0a
0222c4e
9fcbc0a
 
 
 
 
 
0222c4e
9fcbc0a
0222c4e
 
 
 
 
9fcbc0a
 
 
 
0222c4e
9fcbc0a
0222c4e
 
 
 
 
 
9fcbc0a
1cf3e36
9fcbc0a
0222c4e
9fcbc0a
0222c4e
 
 
 
9fcbc0a
0222c4e
 
1cf3e36
0222c4e
9fcbc0a
0222c4e
 
9fcbc0a
0222c4e
 
 
306cb36
 
 
 
 
0222c4e
306cb36
0222c4e
 
 
 
 
 
306cb36
0222c4e
306cb36
 
 
 
 
0222c4e
 
 
 
 
306cb36
 
 
 
 
0222c4e
 
 
 
 
306cb36
0222c4e
306cb36
0222c4e
 
 
 
306cb36
0222c4e
 
 
 
 
 
 
306cb36
0222c4e
 
 
306cb36
0222c4e
 
306cb36
0222c4e
 
 
 
306cb36
 
 
0222c4e
306cb36
 
 
 
 
 
 
0222c4e
306cb36
0222c4e
 
 
 
 
306cb36
 
 
 
 
0222c4e
2876b98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
---
title: E&C Model Interactive Platform
emoji: ๐Ÿง 
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
---

# ๐Ÿง  E&C Model Interactive Platform  
### Entrenchment & Conventionalization Visual Demonstration

This Space provides an interactive visualization of **Hans-Jรถrg Schmidโ€™s Entrenchment & Conventionalization (E&C) Model**, showing how **individual cognition (Entrenchment)** and **community diffusion (Conventionalization)** jointly shape linguistic behavior.

---

# ๐ŸŒŸ Features

### ๐Ÿ”น 1. Single-Expression Analysis  
Enter any expression (e.g., *kind of*, *ๅ†…ๅท*, *sort of*) to visualize:

- Entrenchment curve (E)  
- Conventionalization curve (C)  
- Frequency-driven curve transformation  
- Automatic linguistic explanation  
- Summary based on Schmidโ€™s E&C theory  

---

### ๐Ÿ”น 2. Two-Expression Comparison  
Compare two expressions:

- Overlaid Entrenchment curves  
- Overlaid Conventionalization curves  
- E-curve heatmap difference  
- Auto-generated expert interpretation  

This helps visualize how **usage frequency** affects cognitive automation and social adoption.

---

# ๐Ÿ“Š Visual Components

- Sigmoid-shaped Entrenchment curves  
- Logistic adoption curves for Conventionalization  
- Heatmap showing differential entrenchment  
- Clean card-style UI with gradient background  

> **Note**: The current version uses *mock frequencies* for stable execution.  
A real-corpus version (Wikipedia/BookCorpus/OSCAR) can be added later.

---

# ๐Ÿ“ธ Screenshot (Optional)
Add your screenshot here in the future:

```
[ Insert Screenshot Here ]
```

---

# ๐ŸŽฏ Purpose

This app is designed for:

- Cognitive linguistics courses  
- Usage-based grammar visualization  
- Pragmatics & discourse analysis  
- Translation studies  
- Educational presentations  
- Linguistic research demonstrations  

It shows how **usage โ†’ entrenchment โ†’ conventionalization โ†’ linguistic stability**.

---

# ๐Ÿ› ๏ธ Tech Stack

- Python  
- Gradio 3.x  
- Matplotlib  
- NumPy  
- Custom CSS  

---

# ๐Ÿ“ File Structure

```
app.py              # Main Gradio application
requirements.txt    # Dependencies
README.md           # This documentation
```

(Optional future files)

```
data/
    word_freq.csv   # Optional: real corpus frequencies
```

---

# ๐Ÿ“˜ Theory: E&C Model Overview

### **Entrenchment (E)** โ€” Individual level  
- Increased automaticity through repeated use  
- Higher frequency โ†’ steeper curve  

### **Conventionalization (C)** โ€” Community level  
- Social diffusion and shared acceptance  
- Faster rise โ†’ quicker normalization  

### **Dynamic Loop**  
According to Schmid:

> **Individual repetition strengthens social convention;  
> social convention increases repetition.**  

This feedback loop stabilizes linguistic structures.

---

# ๐Ÿ“š Reference

Schmid, H.-J. (2020).  
**The Dynamics of the Linguistic System: Usage, Conventionalization, and Entrenchment.**  
Oxford University Press.

---

# ๐Ÿš€ Future Extensions

- Real-corpus frequency mode  
- Historical diffusion curves (Google Ngram)  
- Collostruction analysis  
- Semantic similarity comparison  
- Language evolution simulation  

---

# โค๏ธ Acknowledgements

This tool was created for linguistic visualization, cognitive linguistics education, and research demonstration.  
Thank you for exploring the E&C Model Interactive Platform!