Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Converting a Toolbox lexical database to LKB format"

(Summary)
(How to create the LKB tdl file)
Line 34: Line 34:
  
 
=== How to create the LKB tdl file ===
 
=== How to create the LKB tdl file ===
 +
 +
 +
You may run the conversion program from within Toolbox.
  
 
To run the conversion do the following steps
 
To run the conversion do the following steps
Line 43: Line 46:
 
# A new file 'LKBlexicon.tdl' is created.
 
# A new file 'LKBlexicon.tdl' is created.
  
 
+
[[File:HowToStartTheLKBconversion.png]]
 
+
 
+
 
+
  
 
=== Implementation of the conversion ===
 
=== Implementation of the conversion ===

Revision as of 15:59, 9 November 2012

Summary

Note: Update in progress as of October / November 2012. Hannes Hirzel

The LKB system (Linguistic Knowledge Builder) is a grammar and lexicon development environment for unification-based linguistic formalisms. LKB is focused on the use of HPSG. This page contains a description and the program to convert a lexicon database made with Toolbox to lexicon format needed by LKB. The scripts were developed by Hannes Hirzel.

A presentation in Trondheim, 2005 (File:Toolbox-LKB-Link-slides - version 4.pdf) shows how this was applied to a lexicon file of the Ga language edited by Mary E. Kropp Dakubu.

The scripting language used is called 'Consistent changes' and built into the Toolbox program.

Download

The following folder File:Toolbox Project Ga.zip contains the standard files produced by the utility program 'Toolbox New Project Package 1.5.8 from http://www'.sil.org/computing/toolbox/downloads.htm .


The file 'Dictionary.txt' has been replaced by the Ga lexicon created by Mary Ester Dakubu (MED), University of Ghana.

This folder has been posted to this web site [www.typecraft.org] by permission.

How to start Toolbox

The folder 'Settings' contains the Toolbox exe file. Double click on it to start it.

Error creating thumbnail: Unable to save thumbnail to destination

How to create the LKB tdl file

You may run the conversion program from within Toolbox.

To run the conversion do the following steps

  1. Make the dictionary window the 'active window' by clicking on the title bar
  2. Choose menu 'File' / 'Export'
  3. Select 'TBox-LKB Step1'
  4. Click 'OK'.
  5. A new file 'LKBlexicon.tdl' is created.
Error creating thumbnail: Unable to save thumbnail to destination

Implementation of the conversion

There is a folder 'Tbox2LKB-conv-scripts' which has a copy of the the cct files of the folder 2005-05-31Ga-for-LKB-Uni-Trondheim-11a

These cct files are used to convert the Ga lexicon which is in SFM (Toolbox format) to the format LKB (Linguistic Knowledge Builder) needs.


License

The presentation and this wiki page are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. The script code (program code) is under the MIT license.

Contact for dictionary file: medakubu@gmail.com