/Rest4Interlinear

Browsing corpora of Interlinearized glossed texts with an adaptable web interface

Primary LanguageJavaScript

Browse interlinear glossed text corpus (in Emeld XML format) and associated lexical data (in Lift XML format).

The display is defined in XQuery files and can be very easily adapted to specific needs.

Dependencies

  • BaseX XML database
  • Optional: In order to be able to export texts into PDF, you need a XSLT processor on your java classpath and a latex installation on your system

Installation

  • Install BaseX
  • In BaseX, create a database from an Emeld document, containg the interlinear texts, and a database from a Lift document, containing the dictionary
  • Checkout this repository
  • Create a file .basex (see the example in basex.sample), for instance in your home directory
  • edit the variables $common:LexiconDataBaseName and $common:TextsDataBaseName in webapp/xq/variable.xqm in order to point the intended basex databases.

Run

Screenshots

List of texts

List of texts

Text

Text

Lexicon

Lexicon

Lexicon entry detail

Lexicon entry detail