Analyze and Translate: AI App for Contextual Translation and Review_GPT-4o

Descripción

This combination of AI apps allows for the analysis and translation of text. It follows a step-by-step process to analyze the context, identify text type, target audience, tone, and cultural elements. The text is then preprocessed and key terms and idioms are extracted. Next, the translation occurs by translating each sentence and refining it based on the text type and audience. Cultural elements are adapted, and a final translation is generated. Quality check is performed, and if needed, revisions are made. The resulting translation is then provided.

Flujo de Trabajo

Input
VAR_1-INPUT 0
1. Split TextLogic

Input:

VAR_1

Split Method:

token

Chunk Size:

4000 tokens

Output:

1: Split Text
2. Loop / ReduceLoop

Input:

1: Split Text

Internal Module:

Korean Text Translation Analysis Framework

Model: gpt-4o

Analyze and translate Loop Item provided in the input variable. Follow this pseudo-code algorithm:

```pseudo
function analyze_and_translate(input):
// Step 1: Context Analysis
context = extract_context(input)
text_type = identify_text_type(input)
audience = identify_target_audience(input)
tone = determine_tone(input)
cultural_elements = identify_cultural_elements(input)

// Step 2: Preparatory Processing
preprocessed_text = preprocess(input)
terms = extract_key_terms(preprocessed_text)
idioms = identify_idioms(preprocessed_text)

// Step 3: Translation
translation = initialize_translation()
for sentence in preprocessed_text:
translated_sentence = translate_sentence(sentence, context, tone)
translation.append(translated_sentence)

// Step 4: Post-processing
refined_translation = refine_translation(translation, text_type, audience)
cultural_adaptations = adapt_cultural_elements(refined_translation, cultural_elements)
final_translation = apply_adaptations(refined_translation, cultural_adaptations)

// Step 5: Quality Check
if quality_check(final_translation, input):
return final_translation
else:
return revise_translation(final_translation, input)

// Main Execution
korean_text = input
english_translation = analyze_and_translate(korean_text)

// Output
print "Context Analysis:"
print context, text_type, audience, tone, cultural_elements

print "English Translation:"
print english_translation

```

Provide your translation and explanatory notes based on the pseudo-code algorithm above.

Output:

2: Loop / Reduce
Analyze and Translate: AI App for Contextual Translation and Review_GPT-4o
Plantilla de Salida Final
module_8865839901615_individual

Información

Creador: Sung Lee

80

Ejecuciones

0

Favoritos

16335.00s

Tiempo Promedio

$0.05

Costo Promedio

Ejemplos (0)