Skip to content

LkbLtdb

FrancisBond edited this page Feb 12, 2009 · 29 revisions

The Lexical Type Database is a web interface for grammars made with the [wiki:LkbTop LKB].

This page is a very rough initial introduction.

The Lextype DB, describes lexical types of the grammar and treebank. Lexical types can be seen as de- tailed parts-of-speech and are the essence for the two important points just mentioned. Information about a lexical type that the Lextype DB provides includes its linguistic characteristics; examples of usage from a treebank; the way it is implemented in a grammar; and correspon- dences to major computational dictionaries. It consists of a database management system and a web-based interface, and is constructed semi- automatically. Currently, we have applied the Lextype DB to grammars and treebanks of Japanese and English.

The software was written by ChikaraHashimoto and FrancisBond, and uses the html output provided by StephanOepen.

The minimal Lexical Type Database offers the following:

  • a web interace to lexical types in a DELPH-IN grammmar, including examples from the lexicon.
  • in-line documentation from the tdl file:
    • human readable name
    • descirption
    • example sentences
    • todo
  • links to treebanks
    • words and lexcial types in context

Earlier versions of the lexical type database also included links to external references and other lexicons. We hope to revive them at some stage.

Installation

Currently the Lexical Type Database is distirbuted with [wiki:JacyTop Jacy], in jacy/utils/ltdb. Downlad Jacy and take it from there.

Dependencies

  • LKB (to dump the lexicon and type files)
    • Allegro common lisp (to compile the patch)
  • Perl
    • DBD::SQLite
    • XML::DOM
  • SQLite3
  • Apache (for the web server)
  • nsgmls for validation (package sp)

In ubuntu you can satisfy the dependencies by installin [wiki:LogonInstallation LOGON] and the following packages:

sudo apt-get install libdbd-sqlite3-perl sp libxml-dom-perl apache2

References

To Do

Clone this wiki locally