ترجمه متن با chatGPT

مهمترین موضوع برای ترجمه با chatGPT این است که زبان و سبک مدنظر را به آن تفهیم کنیم. اگر لازم باشد باید معادل دقیق بعضی کلمات کلیدی را به آن بدهیم.

اگر با یک متن تخصصی سر و کار داشته باشیم، انجام این کار ضروری است.

۱- مشخص کردن کانتکست

Translate [text to translate in Filipino] to English from the perspective of a native Persian speaker

Translate [text to translate] to English from the perspective of someone discussing the COVID-19 pandemic

Translate [text to translate] to English. The text discusses a battle during WWII

بهتر:

To determine the context of a text for translation in multiple steps using ChatGPT-4, you'll want to gather specific information about the text. Here’s a structured prompt to help you with this:

Step 1: Determining Context
Prompt:

Hello! I need to determine the context of a text for translation. Please provide the following details:

Book Title: What is the title of the book or document?
Book Link: Can you share a link to the book or document for reference?
Sample Text: Please provide a sample of the text (a paragraph or two) that needs to be translated.
Instruction: What specific instructions do you have for this translation? (e.g., focus on preserving technical terms, adapt cultural references, maintain a formal tone, etc.)
Example:

Book Title: "Floortime Strategies to Promote Development in Children"
Book Link: https://www.amazon.com/Floortime-Strategies-Promote-Development-Children/dp/1598577344
Sample Text: "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
Instruction: Ensure the translation maintains the developmental and educational terminology and remains accessible to parents and educators.
Once I have this information, I can better understand the context and proceed with the translation process.

کاملتر:

## Context Determination for Translation

## Introduction

- **YOU ARE** a **TRANSLATION SPECIALIST** tasked with ensuring accurate and contextually appropriate translations.

(Context: "Your expertise ensures that translations are precise and culturally relevant, maintaining the integrity of the original text.")

## Task Description

- **YOUR TASK** is to **GATHER** specific details about the text to be translated, which will help in understanding its context and requirements.

(Context: "Understanding the context is crucial for providing high-quality translations that meet the user's needs.")

## Information Needed

### Book Title

- **PROVIDE** the title of the book or document.

### Book Link

- **SHARE** a link to the book or document for reference.

### Sample Text

- **SUBMIT** a sample of the text (a paragraph or two) that needs to be translated.

### Translation Instructions

- **SPECIFY** any particular instructions for the translation. Examples include:
  - Preserving technical terms
  - Adapting cultural references
  - Maintaining a formal tone

## Example

- **Book Title:** "Floortime Strategies to Promote Development in Children"
- **Book Link:** [Floortime Strategies](https://www.amazon.com/Floortime-Strategies-Promote-Development-Children/dp/1598577344)
- **Sample Text:** "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
- **Instruction:** Ensure the translation maintains the developmental and educational terminology and remains accessible to parents and educators.

## Outcome Expectations

- **ENSURE** the provided information is detailed and accurate to aid in the translation process.

(Context: "Complete and detailed information will enable precise translations that respect the original text's intent and nuances.")

## IMPORTANT

- "Your attention to detail in gathering this information is crucial for achieving high-quality translations. Let's ensure every translation is perfect!"

**EXAMPLES of required response**

<examples>

<example1>

Book Title: "Floortime Strategies to Promote Development in Children"
Book Link: https://www.amazon.com/Floortime-Strategies-Promote-Development-Children/dp/1598577344
Sample Text: "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
Instruction: Ensure the translation maintains the developmental and educational terminology and remains accessible to parents and educators.

</example1>

<example2>

Book Title: "The Art of Computer Programming"
Book Link: https://www.amazon.com/Art-Computer-Programming-Boxed-Set/dp/0201485419
Sample Text: "The Art of Computer Programming is a comprehensive monograph written by Donald Knuth that covers many kinds of programming algorithms and their analysis."
Instruction: Maintain the technical terminology and ensure the translation is accessible to computer science professionals.

</example2>

<example3>

Book Title: "Cultural Anthropology: A Global Perspective"
Book Link: https://www.amazon.com/Cultural-Anthropology-Perspective-Raymond-Scupin/dp/0134419076
Sample Text: "Cultural Anthropology: A Global Perspective provides students with an introduction to cultural anthropology through a global perspective."
Instruction: Adapt cultural references appropriately while maintaining academic rigor.

</example3>

</examples>

۲- مشخص کردن نوع متن

Translate [text to translate] to English. The text discusses a battle during WWII

Translate [text to translate] to [target language]. The text to be translated is a [military report | medical document | drug prescription]

بهتر:

Step 2: Defining Subject and Field
Prompt:

Hello again! To ensure accurate translation, I need to define the subject and field of the text. Based on the information you provided in Step 1, please answer the following:

Subject: What is the primary subject of the text? (e.g., historical event, educational strategy, medical procedure)
Field: What specific field does the text belong to? (e.g., military history, developmental psychology, pediatrics)
Detailed Description: Can you provide a brief description of the text’s content and purpose?
Example 1:

Book Title: "Floortime Strategies to Promote Development in Children"
Sample Text: "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
Subject: Educational strategy for child development
Field: Developmental psychology
Detailed Description: The text outlines strategies for promoting social, emotional, and intellectual growth in children through a developmental approach known as Floortime.
Example 2:

Book Title: "The History of World War II"
Sample Text: "The Battle of Stalingrad was one of the deadliest battles in World War II, resulting in significant losses for both the Axis and Allied forces."
Subject: Historical event
Field: Military history
Detailed Description: This text describes the events and significance of the Battle of Stalingrad during World War II.
Providing this information will help tailor the translation to the specific subject and field, ensuring accuracy and relevance.

کاملتر:

## Context Determination and Subject Definition for Translation

## Introduction

- **YOU ARE** a **TRANSLATION SPECIALIST** tasked with ensuring accurate and contextually appropriate translations.

(Context: "Your expertise ensures that translations are precise and culturally relevant, maintaining the integrity of the original text.")

## Task Description

- **YOUR TASK** is to **GATHER** specific details about the text to be translated, which will help in understanding its context and requirements.

(Context: "Understanding the context is crucial for providing high-quality translations that meet the user's needs.")

## Step 1: Determining Context

### Information Needed

#### Book Title

- **PROVIDE** the title of the book or document.

#### Book Link

- **SHARE** a link to the book or document for reference.

#### Sample Text

- **SUBMIT** a sample of the text (a paragraph or two) that needs to be translated.

#### Translation Instructions

- **SPECIFY** any particular instructions for the translation. Examples include:
  - Preserving technical terms
  - Adapting cultural references
  - Maintaining a formal tone

### Example

- **Book Title:** "Floortime Strategies to Promote Development in Children"
- **Book Link:** [Floortime Strategies](https://www.amazon.com/Floortime-Strategies-Promote-Development-Children/dp/1598577344)
- **Sample Text:** "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
- **Instruction:** Ensure the translation maintains the developmental and educational terminology and remains accessible to parents and educators.

## Step 2: Defining Subject and Field

### Information Needed

#### Subject

- **DEFINE** the primary subject of the text. Examples include:
  - Historical event
  - Educational strategy
  - Medical procedure

#### Field

- **IDENTIFY** the specific field the text belongs to. Examples include:
  - Military history
  - Developmental psychology
  - Pediatrics

#### Detailed Description

- **PROVIDE** a brief description of the text’s content and purpose.

### Example 1

- **Book Title:** "Floortime Strategies to Promote Development in Children"
- **Sample Text:** "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
- **Subject:** Educational strategy for child development
- **Field:** Developmental psychology
- **Detailed Description:** The text outlines strategies for promoting social, emotional, and intellectual growth in children through a developmental approach known as Floortime.

### Example 2

- **Book Title:** "The History of World War II"
- **Sample Text:** "The Battle of Stalingrad was one of the deadliest battles in World War II, resulting in significant losses for both the Axis and Allied forces."
- **Subject:** Historical event
- **Field:** Military history
- **Detailed Description:** This text describes the events and significance of the Battle of Stalingrad during World War II.

## Outcome Expectations

- **ENSURE** the provided information is detailed and accurate to aid in the translation process.

(Context: "Complete and detailed information will enable precise translations that respect the original text's intent and nuances.")

## IMPORTANT

- "Your attention to detail in gathering this information is crucial for achieving high-quality translations. Let's ensure every translation is perfect!"

**EXAMPLES of required response**

<examples>

<example1>

Book Title: "Floortime Strategies to Promote Development in Children"
Sample Text: "Floortime is a developmental approach that focuses on understanding and supporting a child's individual differences and relationships. It is designed to promote social, emotional, and intellectual growth through play and interaction."
Subject: Educational strategy for child development
Field: Developmental psychology
Detailed Description: The text outlines strategies for promoting social, emotional, and intellectual growth in children through a developmental approach known as Floortime.

</example1>

<example2>

Book Title: "The History of World War II"
Sample Text: "The Battle of Stalingrad was one of the deadliest battles in World War II, resulting in significant losses for both the Axis and Allied forces."
Subject: Historical event
Field: Military history
Detailed Description: This text describes the events and significance of the Battle of Stalingrad during World War II.

</example2>

<example3>

Book Title: "The Art of Computer Programming"
Sample Text: "The Art of Computer Programming is a comprehensive monograph written by Donald Knuth that covers many kinds of programming algorithms and their analysis."
Subject: Technical writing
Field: Computer science
Detailed Description: This text provides an in-depth analysis of various programming algorithms, intended for computer science professionals.

</example3>

</examples>

۳- تغییر سبک

گاهی اوقات، هنگام ترجمه متن، ممکن است ترجمه ما برای مخاطب هدف بیش از حد فنی یا تخصصیباشد. استفاده از تغییر سبک در ChatGPT می‌تواند به تنظیم لحن و سبک ترجمه کمک کند تا با مخاطب موردنظر ما هماهنگ‌تر شود. برای مثال اگر شما در حال ترجمه یک سند حقوقی هستید، ترجمه بهتر است سبک اصلی نویسنده را حفظ کند و در عین حال از کلمات ساده‌تر و عامیانه‌تری استفاده کند. در مثال زیر، من یک گزارش فوتبال را از اسپانیایی به انگلیسی ترجمه کردم، ابتدا بدون تغییر سبک و سپس با استفاده از تغییر سبک.

To use style transfer when translating, use prompts like:

  • Translate [text to translate] to [target language] in layman’s terms.
  • Translate [text to translate] to [target language] for a [grade 5] audience
  • Translate [text to translate] to [target language]. Use style transfer to make the translated text suitable for a [target audience]

You might have to tweak and adjust the style you want, but the possibilities are effectively endless.

۴- مشخص کردن معادل کلمات کلیدی

۵- ترجمه و خلاصه

Sometimes, you don’t want to read the entirety of a text. You just want to understand the message the author or speaker is trying to convey. ChatGPT is one of the few translation tools you can rely on for situations like this.Fort a summarized translation, ask ChatGPT to provide a “summarized” or “condensed” translation of the target text. Some prompts examples include:

  • Provide a descriptive but condensed translation of [text to translate] in Spanish.
  • Provide a summarized translation of [text to translate] in French.
  • Provide a summarized translation of [text to translate] in English.
  • Translate this article into Dutch, but only include the key points.

Translation summaries are great when you’re trying to communicate but don’t necessarily have time to get deep into learning the language immediately.

۶. Use a Fine-Tuned Instance of ChatGPT

Using a fine-tuned instance of ChatGPT is one of the best ways to utilize ChatGPT as a translation tool. It opens up almost endless possibilities for translation using the AI chatbot. But how can you fine-tune ChatGPT for translation?

You can fine-tune ChatGPT in several ways. A key component to fine-tuning ChatGPT for translation is laying out rules the chatbot must follow when translating any text you provide. For instance, you can fine-tune ChatGPT by providing a word-translation or text-translation pair.

For example, while trying to translate a Pidgin text into English, we ran into some wrongly translated words. Providing the word-translation pairs below made ChatGPT update its translation of the words in subsequent translations.

You can also make ChatGPT translations more accurate by providing several large texts and their verified translations. You can then prompt ChatGPT to deduce the right translation of words and phrases from the provided samples and apply it when translating text involving a similar language pair. While you can use significantly longer texts to fine-tune ChatGPT translations, below is a short illustration of how it works using a short paragraph.

۷. Use Custom Instructions for Consistency in Translations

If you use ChatGPT for translation frequently, one of the most frustrating limitations you’ll experience is having to provide certain translation instructions every time you start a new chat. Fortunately, ChatGPT’s Custom Instructions feature can help solve that problem. The feature allows you to create reusable translation instructions that ChatGPT will remember across all future conversations. You can use it to specify your preferred translation style just once, and ChatGPT will then apply automatically whenever you ask ChatGPT to translate something.

For instance, in point six above, we talked about a word-translation pair. You can simply add your preferred translations of words to the ChatGPT Custom Instruction editor and have the chatbot use that preference across all chat sessions. If you spend time translating between two specific languages and use tricky, unique, or colloquial words and phrasing, this will speed up your ChatGPT language translation efforts.

۸. Replicate Linguistic Form

Being able to replicate linguistic forms on demand is one of the most important advantages of ChatGPT as a translation tool over conventional translation tools. In certain texts, like those meant to entertain, the choice of words and phrases is always integral to creating entertainment value. Simply substituting different terms in another language may not preserve entertainment value.

For instance, word-for-word translation typically fails in humorous or poetic texts relying on wordplay, rhymes, and linguistic tricks. Puns, jokes, and poems lose impact when important language techniques get lost in translation. Preserving humor and artistry requires maintaining original creative language use.

Consider the Spanish sentence, “Si el dolor de cabeza te alcanza, esta poción lo lanza.”

“Cabeza,” “alcanza,” and “lanza” rhyme to create a comical effect and give the sentence its value. The literal English translation for the Spanish sentence would be, “If a headache finds you, this potion sends it away.” However, this translation loses the entertainment value of the multiple rhyming words.

You can get ChatGPT to translate while retaining at least some semblance of its original artistic or comic value. This can be achieved by instructing ChatGPT to retain its original form, preferably by providing an example ChatGPT can learn from. In the example in the screenshot below, we asked ChatGPT to translate some Spanish sentences while preserving the sense of humor, playfulness, rhyming, or creativity and staying true to the original meaning.

Of course, this is not a perfect translation example, but with a few prompt tweaks, there’s more to achieve.

Don’t Rely Solely on Machine Translation

While ChatGPT is an impressive translation tool, it’s important to remember that it is still a machine and may not always produce the best translation. So don’t rely solely on it, especially for important or sensitive documents. Instead, try a combination of tools, and whenever possible, consider using a professional translator to proofread to ensure accuracy.

Validation

To confirm the accuracy of the translation, you can paste the translated poem into Google Translate to

get the English version. In this case, the translation is nearly flawless, which is impressive given the difficulty of translating poetry. It successfully captures both the essence and the meaning of the original poem.

https://www.geeksforgeeks.org/how-to-use-chatgpt-language-translation-tool
https://chatgpt.com/g/g-5bNPpaVZy-translate-gpt
https://gpt.space/blog/can-chat-gpt-translate
https://gpt.space/blog/can-chat-gpt-translate

نویسنده

پاسخ‌ها

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *