Version at: 17/10/2021, 15:59

#Introduction to Linking

The Tatoeba corpus is stored as a set of sentences and a set of links between them. Whenever a sentence is translated, a link is automatically created between the source and the translation. Sometimes, however, a translation already exists in the corpus. In this case, the ideal thing to do is to link to that translation. If you are an advanced contributor, you can do this yourself. If you are not, please leave a comment on the source or translation to ask an advanced contributor to do it for you. If you find that your requests are not being addressed, you can add the name of an advanced contributor, preceded by the @ symbol, to your comments. You can find advanced contributors on the "Community -> Languages of members" page. It is best to choose one who has been active recently.

##Link and unlink buttons

_Note that the interface has changed in two ways since the screenshots below were taken:_

_(1) There is an option in the settings to show a newer design. In this design, the linking icons above the main sentence and to the left of the translations no longer appear. Linking is still performed when a translation is added. If the translation matches an existing sentence, the identical sentences are eventually merged. Furthermore, the unlink icon to the left of a sentence is only shown when the view of icons is expanded. This can be done either for an individual sentence (by clicking the "up/down" icon at the right above the sentence), or for all sentences on the page (by clicking the "up/down" icon at the top of the page)._

_(2) If the option to show a newer design is not selected, direct links are shown by straight blue arrows and indirect links by straiight grey arrows, rather than by the bent green and bent gray arrows that can be seen in the screenshots below._

For advanced contributors, **chain** and **scissors** icons are displayed in the interface. Clicking on a chain icon to the **left** of a sentence links a pair of sentences, and clicking on the scissors icon unlinks it. 

![Sentences before clicking on icons](/media/get/link_image9.png)

##Drag and drop
The easiest way to link two sentences that are not indirectly linked is to drag-and-drop a link to one sentence onto the chain icon **above** another sentence.

![Simple drag-and-drop onto chain icon](/media/get/link_image8.png)

In the example we're dragging the green arrow icon, but the same operation would work with any link that would have brought you to a sentence page: a gray arrow, a blue ⓘ icon, or clickable sentence text. It's also possible to drag from one browser tab or window and drop it into another.

##Link form field
Clicking on the chain icon **above** a sentence opens a field. There are several ways that you can use this field to produce a link to another sentence:

 1. Copy the entire URL (address) of the second sentence and paste it into the field.
 2. Type the number of the second sentence into the field. 
 3. Drag the blue circle, gray arrow, or green arrow located next to the second sentence and drop it into the field.

_The easiest way to copy the URL of a sentence is to right-click on the icon to the left of it (a blue circle, green arrow, or gray arrow) and choose the appropriate option. For instance, in Firefox, you would choose "Copy Link Location"._

In the following example, two main Hebrew sentences are visible. One is already linked to the English sentence "Do you want to see him again?" while the other is not. However, the English is a good translation for both sentences, so we want to link it to the second sentence as well. We have clicked the chain icon above it, and the field next to it has opened up, prefilled with the phrase "Sentence number" in gray:

![Sentences after clicking on icon above](/media/get/link_image3c.png)

Now we want to drag the green arrow located next to the English sentence and drop it into the field:

![Sentences with arrows for drag-and-drop](/media/get/link_image4.png)

The result will be as follows:

![Sentences after drag-and-drop](/media/get/link_image5.png)

Now we just need to click the "Link" button, and the two sentences will be linked. Our final result can be seen here:

![Sentences after clicking link button](/media/get/link_image7.png)

version at: 17/10/2021, 16:09

#Introduction to Linking

The Tatoeba corpus is stored as a set of sentences and a set of links between them. Whenever a sentence is translated, a link is automatically created between the source and the translation. If a sentence identical to the translation already exists in the corpus, the two sentences will be merged.

When this page was written, the recommended action was to produce a link to that translation. Advanced contributors could (and still can) do this themselves. Ordinary contributors could leave a comment on the source or translation to ask an advanced contributor to do it. Nowadays, given the automatic merging of identical sentences, this is less necessary, so the page is maintained for historical reasons. 

Note that the interface has changed in two ways since the screenshots below were taken:

(1) There is an option in the settings to show a newer design. In this design, the linking icons above the main sentence and to the left of the translations no longer appear. Linking is still performed when a translation is added. If the translation matches an existing sentence, the identical sentences are eventually merged. Furthermore, the unlink icon to the left of a sentence is only shown when the view of icons is expanded. This can be done either for an individual sentence (by clicking the "up/down" icon at the right above the sentence), or for all sentences on the page (by clicking the "up/down" icon at the top of the page).

(2) If the option to show a newer design is not selected, direct links are shown by straight blue arrows and indirect links by straiight grey arrows, rather than by the bent green and bent gray arrows that can be seen in the screenshots below.


##Link and unlink buttons


For advanced contributors, **chain** and **scissors** icons are displayed in the interface. Clicking on a chain icon to the **left** of a sentence links a pair of sentences, and clicking on the scissors icon unlinks it. 

![Sentences before clicking on icons](/media/get/link_image9.png)

##Drag and drop
The easiest way to link two sentences that are not indirectly linked is to drag-and-drop a link to one sentence onto the chain icon **above** another sentence.

![Simple drag-and-drop onto chain icon](/media/get/link_image8.png)

In the example we're dragging the green arrow icon, but the same operation would work with any link that would have brought you to a sentence page: a gray arrow, a blue ⓘ icon, or clickable sentence text. It's also possible to drag from one browser tab or window and drop it into another.

##Link form field
Clicking on the chain icon **above** a sentence opens a field. There are several ways that you can use this field to produce a link to another sentence:

 1. Copy the entire URL (address) of the second sentence and paste it into the field.
 2. Type the number of the second sentence into the field. 
 3. Drag the blue circle, gray arrow, or green arrow located next to the second sentence and drop it into the field.

_The easiest way to copy the URL of a sentence is to right-click on the icon to the left of it (a blue circle, green arrow, or gray arrow) and choose the appropriate option. For instance, in Firefox, you would choose "Copy Link Location"._

In the following example, two main Hebrew sentences are visible. One is already linked to the English sentence "Do you want to see him again?" while the other is not. However, the English is a good translation for both sentences, so we want to link it to the second sentence as well. We have clicked the chain icon above it, and the field next to it has opened up, prefilled with the phrase "Sentence number" in gray:

![Sentences after clicking on icon above](/media/get/link_image3c.png)

Now we want to drag the green arrow located next to the English sentence and drop it into the field:

![Sentences with arrows for drag-and-drop](/media/get/link_image4.png)

The result will be as follows:

![Sentences after drag-and-drop](/media/get/link_image5.png)

Now we just need to click the "Link" button, and the two sentences will be linked. Our final result can be seen here:

![Sentences after clicking link button](/media/get/link_image7.png)

Note

The lines in green are the lines that have been added in the new version. The lines in red are those that have been removed.