Lab1UK / translations /recommendations.py
AIdeaText's picture
Upload 6 files
429308b verified
raw
history blame
16.2 kB
# 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
}