SITE SEARCH      SITE MAP
Ethnologue.com home

Ethnologue: Languages of the World

Reduced 25%
now US$ 60
Add to cart

Ethnologue: Languages of the World


Most Recent
SIL Publications

Ethnologue > Software Tools > LinguaLinks > LinguaLinks Workshops > Tutorial

LinguaLinks logo
LinguaLinks Workshop Tools Tutorial



Task 35. Importing and exporting texts

Exporting parsed Interlinear Text in ptx format

Learning objective

You will learn to Export parsed text from a text document and Import it in another LinguaLinks Knowledge Base of the same Project. The Ptext Format is made of lines of SGML coded object information enclosed within angle brackets, < >.

1. Open the Life begins each morning text.

2. On the menu, click File…Export.

3. Double-click Ptext Format (parsed text).

4. Select the desired folder, name the file life.ptx, and click Save.

5. Open the file in Notepad to look at it and then close it.

Importing Interlinear Text as a ptx file

Learning objective

You will learn to import parsed text to Workshop Explorer of the same Project from within another text document. You will see that all imported texts are placed at the top level below Data. You will also learn to move the text into the text collection of your choice.

1. Open any text of the same Project language as the file you want to import.

2. On the menu, click File…Import.

3. In Choose One, double-click Ptext Format (parsed text) and click Select.

4. Select the life.ptx file and click Open.

Result: Adds the file to the Workshop Explorer list of Grammar Data.

5.Close the Interlinear Text and press Ctrl+Y.

Result: Adds another instance of Life begins each morning Interlinear Text to the list of Data texts in Workshop Explorer, and refreshes the window.

Deleting Interlinear Text

1. Select the last Life begins each morning text and on the menu, click Edit…Delete.

2. In Confirm Deletion, click Delete.

Exporting Interlinear Text as an rtf file

Learning objective

You will learn to export Interlinear Text from within a text document and to use it in any Word Processor. You will see that the text data is in tables with rows and columns, IPA characters are in SILSophia IPA93, and ANSI characters are in Arial.

1. Open the Life begins each morning text.

2. On the menu, click File…Export.

3. In Choose One, double-click Rich Text Format (rtf).

4. Select the folder, name the file life.rtf, and click Save.

5. Open the life.rtf file in Microsoft Word.

Working with Interlinear Text in rtf using Microsoft Word

Learning objective

You will learn that Interlinear Text exported as Rich Text Format displays text in tables a maximum of 4–5 inches long. You will also see that any Segments wrapped in LinguaLinks Interlinear Text (and some longer ones that are not wrapped) are in separate tables. You can join shorter Segments in the word processor, but because Wordforms with multiple morphs are set in staggered columns, you cannot select the columns correctly.

Joining short segments by merging and splitting cells

Learning objective

You will learn to use this procedure to move multiple morphs to a previous table line instead of clicking and dragging.

1. Select cells with multiple morphs (one at a time) and on the menu, click Table…Merge Cells.

Result: Word inserts a paragraph mark instead of the end-of-cell mark.

2. Select the table columns with the segments you want to move to the previous table line, and on the menu, click Edit…Cut (or on the keyboard, press Ctrl+X).

3. In the cells at the top of the previous table, on the menu, click Edit…Paste (or on the keyboard, press Ctrl+V).

4. Select each merged morph cell (one at a time) and on the menu, click Table…Split Cells.

5. To resize a column automatically, move the cursor over the right gridline of the desired column until it changes to a double line with arrows, then double-click.

Joining short segments by nesting them into another table

Learning objective

You will learn to paste each table containing the segments into separate cells of a new table.

Preparation

This method requires Word 2000 or newer.

1. Insert a new table with two columns and one row.

Tip: On the menu, click Table…Insert …Table, select two columns and one row, and click OK.

2. Turn off the border.

Tip: Select the table and on the menu, click Format…Borders and Shading, select None, and click OK.

3. Set the table to AutoFit.

Tip: On the menu, click Table…Table Properties…AutoFit…AutoFit to Contents. You may want to save this new table as autotext for future use.

4. Cut the first line in the previous table and paste in the first column of the new table.

5. Cut the second line in the previous table and paste in the second column of the new table.

Exporting only the Lexical Database Free Translation field

Learning objective

You will learn that you can export the Free Translation field by itself for purposes of producing a back-to-English translation, but you cannot encode it for export—you can only export the <ENG> encoding. (You can ask a programmer to help you change this.)

1. Open the Life begins each morning text.

2. Fill in several of the English Free Translation fields and keep your cursor in the FT field.

3. On the menu, click File…Export.

4. In Choose One, double-click Free Translation.

5. Select the folder, name the file life.txt, and click Save.

6. Open the life.txt file in Notepad.

7. Close the text.