FLEx files

ELAN allows you to export your project to the SIL Fieldwork Language Explorer software, also referred to as FLEx. The data exchange is realized through .flextext files, a file type that defines several container elements and attributes (see below), onto which ELAN's tiers (via their tier type) and annotations have to be mapped. For the configuration of these mappings the complex, multiple step export window described below, is provided. Configuration will be less complicated in case the .eaf was created by importing a FLEx .flextext file. On import, some FLEx attributes are "encoded" in the names of tiers, on export these attributes are reconstructed by "decoding" the tier names. To better understand the options in the user interface, a simplified representation of the structure of a .flextext file follows here.

            <interlinear-text>
              <item lang="" type="">...</item>
              <paragraph>
                <phrase>
                  <item lang="" type="">...</item>
                  <word>
                    <item lang="" type="">...</item>
                    <morph type="">
                      <item lang="" type="">...</item>
                    </morph>
                  </word>
                </phrase>
              </paragraph>
            </interlinear-text>
          

All elements can occur multiple times, e.g. there can always be multiple item child elements for any parent element.

[Note]Note

If your .eaf file contains multiple participants, make sure you have given each participant a name value. You can set a participant value under Tier > Change Tier Attributes....

Choosing File > Export as > FLEx file … will give you the following screen:

Figure 37. Export FLEx file step 1


In this screen you can specify:

Figure 38. Export FLEx file step 2


The second screen allows to:

Figure 39. Export FLEx file step 3


The third screen allows to customize the FLEx lang (language) and type attributes output:

The final screen allows you to save the file as a flextext file, so it can be used in FLEx.

[Note]Note

On the third-party resources page of ELAN (https://archive.mpi.nl/tla/elan/thirdparty ), you can find a teaching-set which covers the aspects of importing from FLEx to ELAN and back to FLEx.