How to recreate or rebuild a termbase in MultiTerm Desktop
000001190|11/8/2021 5:51 PM
Scope/Environment
Symptoms/Context
You want to recreate or rebuild your termbase.
Resolution
See this video or check the step by step instructions below:
Step 1 - Open your termbase
Start MultiTerm Desktop
Open your termbase via File > Open Termbase from the navigation pane - the Select Termbases window appears
Click Browse... to search for your termbase, select it and Open your [termbase name].sdltb file.
Make sure you tick the checkbox next to your [termbase name]
Click OK.
Step 2 - Save the termbase definition to an XDT File
Go to the Termbase Management view
Under the termbase name, right-click Definition and select Save
Enter a file name for your termbase definition and click on Save to save your termbase definition as an *.xdt file.
Step 3 - Export termbase data
Go to the Termbase Managementview
In the navigation tree, select Export under the termbase name.
Select the Export Definition you want to use, do a right-click on it and select Process. If you are recreating a termbase, you can use the Default export definition.
The Export Wizard starts
Click on Save as…, enter a name for your export file and click Save.
Click Next.
The export process will start. When it's finished, click Next and in the last dialog Finish.
Step 4 - Create a new termbase
Select File > New > Create Termbase from the menu
Select a location and enter a name for the new termbase
Click Next
Select Load an existing termbase definition file and click Browse…:
Select the previously saved termbase definition with the *.xdt extension and click Open
Click Next.
Enter a friendly name for your termbase and if required, add a description and copyright notice. This is the name that will be seen in the Termbase Management view.
Now click Next through all the following wizard steps until you reach the step Wizard Complete and click Finish.
Step 5 - Importing termbase data
Go to the Termbase Management view.
In the navigation tree, find your termbase and select Import:
Select Default import definition from the list on the right-hand window and then select Process... from the menu to call up the Import Wizard:
The Import Wizard starts; click on Browse… and select the *.xml file that you previously exported and that you want to import into the newly created termbase
NOTE:
Select Fast Import (import file is full compliant with MultiTerm XML) if you do not want validation checks to be performed on the entries in the import file.
Select Perform full reorganisation after import if, for example, you are updating an existing termbase with new/changed data and are experiencing problems. It may be that you are getting errors after the import such as unwanted duplicates or the fuzzy search is not working correctly. Selecting this option rebuilds the indexes from scratch directly in the import wizard and prevents the need for a full manual reorganization after import.
Click Next.
In step 3 of the Import Wizard you will see the Validation Settings. Click Save As… and browse to a location of your choice to save the Exclusion file
Select Allow incomplete entries to import entries where they hold no data for a field that is mandatory.
Select Allow over-complete entries to import entries where they have more fields than the termbase entries. The additional fields and data are not added to the existing termbase definition.
Select Ignore sub languages to ignore sublanguages when importing entries.
If you do not select this option, the Import Wizard adds terms to the correct sub-language. However, if the input file contains sub-languages but the termbase does not, the import wizard will not create the sub-language indexes as part of the import.
If the import file contains sublanguages but the termbase does not, all entries are imported to the relevant super-language.
If the import file does not contain sublanguages but the termbase does, all entries are imported to the first sub-language index in the termbase.
If both the import file and the termbase contain sublanguages, then all entries from the import file are imported to the first sub-language index in the termbase. This applies whether or not the sublanguages in the import file and the termbase match.
About the exclusion file: Termbase entries that are excluded from an import because they failed a validation check are placed in an import exclusion file. The exclusion file is an *.mtf.xml file which itself can be imported into a termbase.
Click Next. and in step 7 of the Import Wizard you will see the Import Defnition Summary.
When you click on Next, the import will start.
When the import is finished, you have recreated the termbase.
Root Cause
This article gives you the steps required to do this:
1. Open your termbase. 2. Save the termbase definition to an XDT file. 3. Export termbase data. 4. Create a new termbase. 5. Import termbase data.