sylvainloiseau / Rest4Interlinear

Browsing corpora of Interlinearized glossed texts with an adaptable web interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Browsing corpora of Interlinearized glossed texts with an adaptable web interface


Languages

Language:JavaScript 94.0%Language:XQuery 3.7%Language:CSS 0.8%Language:HTML 0.6%Language:XSLT 0.5%Language:TeX 0.4%