Contents   Index   Previous   Next



Importing Text or Access Files, Step 2

When you have defined the text file format or selected an Access file, the Data import 2 dialog will be shown:

This dialog box consists of two tabs:

·       In the Assign fields tab, you can assign fields, rules, or values to a field in the MetaTexis database (see below).

·       In the Options tab, you can define conditions for importing datasets, and you can guide the behavior of MetaTexis during the import process (see Options).

The left part of the Assign fields tab contains a list of the fields in the MetaTexis database and the fields, rules, or values which are assigned to them.

The buttons located in the lower left part of the dialog box have the following functions:

·       Delete assignment:

Deletes the assignment of the field selected.

·       Delete all assignment:

Deletes all assignments.

·       Load assignments:

Loads those assignments which were saved by clicking on the Save assignments button.

·       Save assignments:

Saves the current assignments.

In the right part of the dialog box, the assignment of the selected field is shown in a multi-page element:

·       If a field is assigned, the Field tab is active (default). The field assigned is selected in the Available fields list box.

·       If a rule is assigned, the Rule tab is active.

·       If a value is assigned, the Value tab is active.

To assign a field:

1.   In the left part of the dialog box, click on the MetaTexis field you want to assign an import field to.

2.   Activate the Field tab in the right part of the dialog box.

3.   Select a field in the Available fields list box. (In the First values of field selected list box, the first 20 values of the field selected are displayed for information.)

4.   Click the << button in the middle of the dialog box. The field selected will be displayed in the right column of the list of MetaTexis fields.

To assign a rule:

1.   In the left part of the dialog box, click on the MetaTexis field you want to assign a rule to.

2.   Activate the Rule tab in the right part of the dialog box.

3.   Define a condition in the If text box. For more information about how to define a rule, see Import/Export Condition Language.

4.   Define a value in the Then write text box (or drop-down box). The type and content of this box varies according to the type of the MetaTexis field selected. For example, if you have selected a language field, a drop-down box with all languages is shown.

5.   Click the << button in the middle of the dialog box. In the right column of the list of MetaTexis fields, the "Rule" text will be displayed to indicate that a rule has been assigned to this MetaTexis field.

To assign a value:

1.   In the left part of the dialog box, click on the MetaTexis field you want to assign a value to.

2.   Activate the Value tab in the right part of the dialog box.

3.   Define a value in the text box (or drop-down box) displayed. The type and the content of this box vary according to the type of the MetaTexis field selected. For example, if you have selected a language field, a drop-down box with all the languages is shown.

4.   Click the << button in the middle of the dialog box. In the right column of the list of MetaTexis fields, the "Value" text will be displayed to indicate that a value has been assigned to this MetaTexis field.

To start importing the file, click the Start importing button. A message box will be shown informing you about the progress of the importing process. At the beginning, when the database is empty, the importing process will be very fast; it will get slower and slower as the importing proceeds. Importing very big databases (more than 10,000 datasets) can take up to one hour or more (depending on computer speed). The reason for the decreased importing speed is that MetaTexis searches the whole database to check for identical source segments and translations. Moreover, an internal index is produced right at importing time to allow the user to use the database immediately after the import process has been finished.

You can stop the importing process at any time by pressing Esc on the keyboard.