Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » Elan Online Manual » 7.6. Search and replace in multiple annotation files

7.6. Search and replace in multiple annotation files

Document Actions

7.6. Search and replace in multiple annotation files

Besides a function to search and replace in the current .eaf file it also possible to search and replace in multiple annotation files. To do so, click Search > Find and replace in multiple files .... Elan first warns you that the changes cannot be undone and that you should have copies of the files you are about to change. If you click Yes, Elan shows the main dialog window. First define the search domain, i.e. the .eaf files to search and replace in, by clicking the Define search domain button. Then do one of the following:

  • Select an existing domain from the list and click Load. (Click Delete if you want to delete the domain.)

  • Create a new domain:

    1. Click New Domain...

    2. Click in the new dialog on the Look in pull down box and browse to the directory that contains the annotation files.

    3. Double-click an annotation file (*.eaf) to select it. It now appears in the rightmost box. Alternatively, you can click on the annotation file name and click the >> button.

      Repeat this for every annotation file you want to include.

      It is also possible to select a complete directory. All .eaf files in a selected directory will be included.

    4. Click OK to continue the exporting process; otherwise click Cancel to exit the dialog window without exporting.

    5. If you clicked OK you can save this domain: enter a name and click OK. If you do not want to save the domain click Cancel.

  • Create a new domain from an IMDI search:

    1. Click New Domain from IMDI Search...

    2. Browse to and select an IMDI file that has been exported from a metadata search in the standalone IMDI Browser.

    3. Click Open.

    4. You can save this domain: enter a name and click OK. If you do not want to save the domain click Cancel.

The second step is to select the tiers to search and replace in. You can select either All tiers or Selected tiers. When selecting the latter, click the ... button to specify the tiers. In the new dialog, select the tier(s) in which you want to search and replace and click OK.

Next, enter a search string and a replace string. The search string may be a regular expression (see Appendix A) and may be case sensitive. If it is, check the corresponding checkbox.

Finally, click Find and Replace and start the process by clicking Yes in the warning window. You can watch the progress in the progress bar.

After the process has finished, Elan shows a Process Report that tells you what is replaced in what files.

Created by latadmin
Last modified 2012-04-17 00:12
 

Powered by Plone

This site conforms to the following standards: