File size: 16,155 Bytes
429308b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
# translations/recommendations.py

# Recomendaciones en español
RECOMMENDATIONS_ES = {
    'vocabulary': {
        'low': [
            "Amplía tu vocabulario utilizando sinónimos para palabras repetidas.",
            "Incorpora terminología específica relacionada con el tema.",
            "Lee textos similares para familiarizarte con el vocabulario del campo."
        ],
        'medium': [
            "Mejora la precisión léxica usando términos más específicos.",
            "Considera incluir algunos términos técnicos relevantes.",
            "Evita repeticiones innecesarias usando sinónimos."
        ],
        'high': [
            "Mantén el excelente nivel de vocabulario.",
            "Asegúrate de que los términos técnicos sean comprensibles para tu audiencia."
        ]
    },
    'structure': {
        'low': [
            "Simplifica tus oraciones largas dividiéndolas en varias más cortas.",
            "Varía la estructura de tus oraciones para mantener el interés.",
            "Organiza tus ideas siguiendo una secuencia lógica (introducción, desarrollo, conclusión)."
        ],
        'medium': [
            "Equilibra oraciones simples y compuestas para mejorar el ritmo.",
            "Asegúrate de que cada párrafo desarrolle una idea central.",
            "Considera usar conectores para transiciones más suaves entre ideas."
        ],
        'high': [
            "Mantén la excelente estructura de tu texto.",
            "Considera ocasionalmente variar el ritmo con alguna oración más breve o más compleja."
        ]
    },
    'cohesion': {
        'low': [
            "Añade conectores (además, sin embargo, por lo tanto) para relacionar ideas.",
            "Mantén la consistencia temática entre párrafos.",
            "Usa referencias explícitas a ideas mencionadas anteriormente."
        ],
        'medium': [
            "Mejora las transiciones entre párrafos para una progresión más fluida.",
            "Utiliza términos del mismo campo semántico para reforzar la unidad temática.",
            "Considera usar palabras clave de forma recurrente."
        ],
        'high': [
            "Mantén la excelente cohesión de tu texto.",
            "Asegúrate de que las referencias a conceptos previos sean claras."
        ]
    },
    'clarity': {
        'low': [
            "Acorta las oraciones demasiado largas o complejas.",
            "Evita ambigüedades usando términos precisos.",
            "Añade ejemplos concretos para ilustrar conceptos abstractos."
        ],
        'medium': [
            "Elimina información innecesaria que pueda distraer.",
            "Ordena las ideas de lo más simple a lo más complejo.",
            "Utiliza un lenguaje directo y evita circunloquios."
        ],
        'high': [
            "Mantén la excelente claridad de tu texto.",
            "Considera si algún término técnico podría necesitar una breve explicación."
        ]
    },
    'academic_article': [
        "Asegúrate de fundamentar tus afirmaciones con evidencia.",
        "Mantén un tono formal y objetivo.",
        "Incluye referencias bibliográficas para apoyar tus argumentos."
    ],
    'student_essay': [
        "Asegúrate de tener una tesis clara y argumentos que la apoyen.",
        "Conecta tus ideas con lo aprendido en clase o lecturas asignadas.",
        "Concluye sintetizando tus principales puntos y su relevancia."
    ],
    'general_communication': [
        "Adapta tu lenguaje a la audiencia específica.",
        "Mantén un equilibrio entre ser informativo y mantener el interés.",
        "Considera incluir algún elemento visual si es apropiado."
    ],
    'priority_intro': "Esta es el área donde puedes enfocar tus esfuerzos para mejorar más rápidamente.",
    'detailed_recommendations': "Recomendaciones detalladas",
    'save_button': "Guardar análisis y recomendaciones",
    'save_success': "Análisis y recomendaciones guardados correctamente",
    'save_error': "No se pudo guardar el análisis y recomendaciones",
    'area_priority': "Área prioritaria",
    'dimension_names': {
        'vocabulary': 'Vocabulario',
        'structure': 'Estructura',
        'cohesion': 'Cohesión',
        'clarity': 'Claridad',
        'general': 'General'
    },
    'text_types': {
        'academic_article': 'Artículo Académico',
        'student_essay': 'Trabajo Universitario',
        'general_communication': 'Comunicación General'
    }
}

# Recomendaciones en inglés
RECOMMENDATIONS_EN = {
    'vocabulary': {
        'low': [
            "Expand your vocabulary by using synonyms for repeated words.",
            "Incorporate specific terminology related to the topic.",
            "Read similar texts to familiarize yourself with the field's vocabulary."
        ],
        'medium': [
            "Improve lexical precision by using more specific terms.",
            "Consider including some relevant technical terms.",
            "Avoid unnecessary repetitions by using synonyms."
        ],
        'high': [
            "Maintain the excellent vocabulary level.",
            "Ensure that technical terms are understandable for your audience."
        ]
    },
    'structure': {
        'low': [
            "Simplify your long sentences by dividing them into shorter ones.",
            "Vary your sentence structure to maintain interest.",
            "Organize your ideas following a logical sequence (introduction, development, conclusion)."
        ],
        'medium': [
            "Balance simple and compound sentences to improve rhythm.",
            "Make sure each paragraph develops a central idea.",
            "Consider using connectors for smoother transitions between ideas."
        ],
        'high': [
            "Maintain the excellent structure of your text.",
            "Consider occasionally varying the rhythm with shorter or more complex sentences."
        ]
    },
    'cohesion': {
        'low': [
            "Add connectors (additionally, however, therefore) to relate ideas.",
            "Maintain thematic consistency between paragraphs.",
            "Use explicit references to previously mentioned ideas."
        ],
        'medium': [
            "Improve transitions between paragraphs for a more fluid progression.",
            "Use terms from the same semantic field to reinforce thematic unity.",
            "Consider using key words recurrently."
        ],
        'high': [
            "Maintain the excellent cohesion of your text.",
            "Ensure that references to previous concepts are clear."
        ]
    },
    'clarity': {
        'low': [
            "Shorten overly long or complex sentences.",
            "Avoid ambiguities by using precise terms.",
            "Add concrete examples to illustrate abstract concepts."
        ],
        'medium': [
            "Eliminate unnecessary information that may distract.",
            "Order ideas from simplest to most complex.",
            "Use direct language and avoid circumlocutions."
        ],
        'high': [
            "Maintain the excellent clarity of your text.",
            "Consider whether any technical term might need a brief explanation."
        ]
    },
    'academic_article': [
        "Make sure to support your claims with evidence.",
        "Maintain a formal and objective tone.",
        "Include bibliographic references to support your arguments."
    ],
    'student_essay': [
        "Make sure you have a clear thesis and arguments that support it.",
        "Connect your ideas with what you've learned in class or assigned readings.",
        "Conclude by synthesizing your main points and their relevance."
    ],
    'general_communication': [
        "Adapt your language to the specific audience.",
        "Maintain a balance between being informative and maintaining interest.",
        "Consider including a visual element if appropriate."
    ],
    'priority_intro': "This is the area where you can focus your efforts to improve more quickly.",
    'detailed_recommendations': "Detailed recommendations",
    'save_button': "Save analysis and recommendations",
    'save_success': "Analysis and recommendations saved successfully",
    'save_error': "Could not save the analysis and recommendations",
    'area_priority': "Priority area",
    'dimension_names': {
        'vocabulary': 'Vocabulary',
        'structure': 'Structure',
        'cohesion': 'Cohesion',
        'clarity': 'Clarity',
        'general': 'General'
    },
    'text_types': {
        'academic_article': 'Academic Article',
        'student_essay': 'Student Essay',
        'general_communication': 'General Communication'
    }
}

# Recomendaciones en ucraniano
RECOMMENDATIONS_UK = {
    'vocabulary': {
        'low': [
            "Розширте свій словниковий запас, використовуючи синоніми для повторюваних слів.",
            "Включіть спеціальну термінологію, пов'язану з темою.",
            "Читайте подібні тексти, щоб ознайомитися зі словниковим запасом у цій галузі."
        ],
        'medium': [
            "Покращіть лексичну точність, використовуючи більш специфічні терміни.",
            "Розгляньте можливість включення деяких відповідних технічних термінів.",
            "Уникайте непотрібних повторень, використовуючи синоніми."
        ],
        'high': [
            "Підтримуйте відмінний рівень словникового запасу.",
            "Переконайтеся, що технічні терміни зрозумілі для вашої аудиторії."
        ]
    },
    'structure': {
        'low': [
            "Спростіть довгі речення, розділивши їх на коротші.",
            "Змінюйте структуру речень, щоб підтримувати інтерес.",
            "Організуйте свої ідеї, дотримуючись логічної послідовності (вступ, розвиток, висновок)."
        ],
        'medium': [
            "Збалансуйте прості та складні речення для покращення ритму.",
            "Переконайтеся, що кожен абзац розвиває центральну ідею.",
            "Розгляньте можливість використання сполучників для плавніших переходів між ідеями."
        ],
        'high': [
            "Підтримуйте відмінну структуру вашого тексту.",
            "Розгляньте можливість іноді змінювати ритм з коротшими або складнішими реченнями."
        ]
    },
    'cohesion': {
        'low': [
            "Додайте сполучники (крім того, однак, тому) для зв'язку ідей.",
            "Підтримуйте тематичну послідовність між абзацами.",
            "Використовуйте явні посилання на раніше згадані ідеї."
        ],
        'medium': [
            "Покращіть переходи між абзацами для більш плавної прогресії.",
            "Використовуйте терміни з одного семантичного поля для підсилення тематичної єдності.",
            "Розгляньте можливість повторного використання ключових слів."
        ],
        'high': [
            "Підтримуйте відмінну згуртованість вашого тексту.",
            "Переконайтеся, що посилання на попередні концепції є чіткими."
        ]
    },
    'clarity': {
        'low': [
            "Скоротіть надто довгі або складні речення.",
            "Уникайте двозначностей, використовуючи точні терміни.",
            "Додайте конкретні приклади для ілюстрації абстрактних понять."
        ],
        'medium': [
            "Усуньте непотрібну інформацію, яка може відволікати.",
            "Розташуйте ідеї від найпростіших до найскладніших.",
            "Використовуйте пряму мову та уникайте багатослів'я."
        ],
        'high': [
            "Підтримуйте відмінну ясність вашого тексту.",
            "Розгляньте, чи потребує якийсь технічний термін короткого пояснення."
        ]
    },
    'academic_article': [
        "Обов'язково підтверджуйте свої твердження доказами.",
        "Підтримуйте формальний та об'єктивний тон.",
        "Включайте бібліографічні посилання для підтримки ваших аргументів."
    ],
    'student_essay': [
        "Переконайтеся, що у вас є чітка теза та аргументи, які її підтримують.",
        "Пов'яжіть свої ідеї з тим, що ви вивчили на заняттях або в заданих читаннях.",
        "Завершіть, синтезуючи ваші основні тези та їх актуальність."
    ],
    'general_communication': [
        "Адаптуйте свою мову до конкретної аудиторії.",
        "Підтримуйте баланс між інформативністю та підтриманням інтересу.",
        "Розгляньте можливість включення візуального елемента, якщо це доречно."
    ],
    'priority_intro': "Це область, де ви можете зосередити свої зусилля, щоб покращитися швидше.",
    'detailed_recommendations': "Детальні рекомендації",
    'save_button': "Зберегти аналіз та рекомендації",
    'save_success': "Аналіз та рекомендації успішно збережено",
    'save_error': "Не вдалося зберегти аналіз та рекомендації",
    'area_priority': "Пріоритетна область",
    'dimension_names': {
        'vocabulary': 'Словниковий запас',
        'structure': 'Структура',
        'cohesion': 'Зв\'язність',
        'clarity': 'Ясність',
        'general': 'Загальне'
    },
    'text_types': {
        'academic_article': 'Академічна стаття',
        'student_essay': 'Студентське есе',
        'general_communication': 'Загальна комунікація'
    }
}

# Diccionario que mapea los códigos de idioma a sus respectivas recomendaciones
RECOMMENDATIONS = {
    'es': RECOMMENDATIONS_ES,
    'en': RECOMMENDATIONS_EN,
    'uk': RECOMMENDATIONS_UK
}