2.7. Consulting a Lexicon

To improve consistency an annotator can use a controlled vocabulary (CV). From a CV an entry can be selected that serves as annotation value. Sometimes, however, it is not immediately clear what CV entry should be selected given a certain media fragment. In that case looking up a proposed annotation in a relevant lexicon could help to make a decision. ELAN enables the user to perform lookups in lexica through the following steps:

  1. Set up a new Lexicon Service (see Section 2.7.1).

  2. Enhance a Tier Type so that it's tiers can do a lexicon lookup (sec Section 2.7.2).

  3. Perform the lookup (see Section 2.7.3).

2.7.1. Setting up a Lexicon Service

A Lexicon Service is in essence a link to a certain lexicon that is hosted on a certain lexicon server. That means that for a user to be able to connect to a lexicon, he needs to connect to the server and subsequently select one of the available lexica. You can either add a new lexicon or Import an existing one. To add a new lexicon do the following:

  1. In the main menu select Edit > Lexicon Services...

  2. In the Edit Lexicon Services click Add

    Edit Lexicon Services

    Figure 2.42. Edit Lexicon Services


    [Note]Note

    If the Add button is disabled, it means that there is no ELAN extension loaded that can handle Lexicon Services. To install an extension, please consult the release notes of ELAN at https://tla.mpi.nl/tools/tla-tools/elan/.

  3. On the first page of the dialog that now appears..

    1. Enter a name that is later used to refer to this Lexicon Service.

    2. Select the Lexicon Server Type.

    3. Enter the URL of the lexicon server.

    4. Enter your username and password for the lexicon server.

    Name and Lexicon Service Info

    Figure 2.43. Name and Lexicon Service Info


  4. Click Next

  5. On the second page of the dialog select the lexicon you wish to connect to. The bottom half of the page will contain the description of the lexicon.

    Lexicon Selection

    Figure 2.44. Lexicon Selection


  6. Click Finish

A new Lexicon Service will appear in the drop down list of the Edit Lexicon Service dialog. Click Close to close this dialog.

To import a lexicon do the following:

  1. In the Edit Lexicon Services click Import

  2. The following dialog window will appear:

    Previously defined services

    Figure 2.45. Previously defined services


Once you have selected a service name from the list, you can either click Delete to delete it, or Import to import it. The service name will now be displayed in the Edit Lexicon Service window and you can now add it (see steps 2-6 above).