A set of assorted utilities for LIFT files that provides a way to make certain kinds of bulk edits to data used by FLEx, WeSay and Lexique Pro.
- Validate Lift File. Ensure the file is compliant with the latest version of the LIFT schema.
- Merge Homographs
- Split out each sense containing a CAWL word list number into its own entry
- Remove glosses & definitions written in unwanted writing systems
- Find any orphaned audio and image files
- Fix audio file names
Updated Homograph Merger
The Homograph merger has been updated:
- Multiples senses are now considered as candidates for merging.
- ‘option list’ type properties can now be merged in, rather than causing entries to remain separate.
- Fixed a bug whereby multiple homographs were not considered as candidates for merging.
New ‘CAWL’ tool added to Lift Tools
The CAWL tool can be used to strip unwanted language forms in lift for glosses and definitions. Such forms may have been introduced through the use of the CAWL task for example in WeSay. After removing unwanted forms, you can then use the Writing Systems tool to remove the now redundant writing systems definitions.
New ‘Writing Systems’ tool added to Lift Tools
There are two main issues with the use of Writing Systems in Lift that this tool addresses:
- Writing Systems that are essentially duplicates of each other, but have been used in the lift data independently.
- Unused writing systems that have a definition and thus show up in the UI.
To address these issues this tool provides the following features:
- Reports on Writing Systems in use in the Lift file.
- Provides a function to rename one Writing System (or regular expression) to another Writing System.
- Deletes (now) unused Writing Systems from the Writing Systems folder.
New ‘Audio Files’ tool added to Lift Tools
Some recent issues in some dictionary software applications have caused audio files to become detached from the lift file. This is because either the file is inadvertently renamed, or the link inside the lift file is deleted. The ‘Audio Files’ tool attempts to reconnect audio files to lift by:
- Attempting to rename the audio file if it is incorrectly named.
- Attempting to find an entry in the lift file that matches part of the audio file name.
DownloadsNotice: Undefined index: Unknown OS Platform in /var/www/virtual/software.sil.org/htdocs/wp/wp-content/plugins/sil-downloads/DownloadService.php on line 278
|LIFT Tools 1.1.41||for Windows|
The code (C#) is publicly available via a GitHub repository.
Each tool in the application comes with its own instructions, but here are some instructions for how to use LiftTools with dictionary applications:
- Backup your WeSay Project (Or better yet, do a Send/Receive and indicate “Before merging homographs” (or whatever))
- Run LiftTools, and point it at the .lift file of your project.
- Run the utilities.
At the moment LiftTools is shy. It is afraid to actually change your original LIFT file. Instead, it will make a new one, alongside your old one. So rename the old LIFT file, and then rename the new one to match it. Open WeSay, and you should see the change you made with the utility.
FieldWorks Language Explorer (FLEx)
- In FLEx, select File:Project Management:Backup and Restore. Backup your project.
- Select File Menu:Export…, Export LIFT.
- In LiftTools, choose the file you just exported.
- Run the tool.
- In FLEx, choose File:Import:Lift Lexicon.
- Select the radio button which says “import the conflicting data and overwrite the current data”. If you fail to do this, any items removed (say, because they were merged into another entry) will not be removed from your lexicon.
- Untick the “Trust entry modification times”.
- Click “Browse…” and select the file which was output by the LiftTools tool.
- Click OK.