SBLEX


Markus Forsberg, Leif-Jöran Olsson, and Olof Olsson

Introduction

SBLEX is a generic lexical publication system that provides a web service and a graphical user interface for the lexical resources developed in the SweFN++ project.

SBLEX resides in an open subversion repository:

      https://svn.spraakdata.gu.se/sb-arkiv/pub/lexikon
    

SBLEX web service

The SBLEX web service provides a REST-based web service, allowing access to all lexical resources. It is built on the XML database eXist.

Some examples:

  • Retrieve the entries of SALDO's morphology containing the wordform elefanten:

http://spraakbanken.gu.se/ws/lexikon?wf=elefanten&lexikon=saldom

  • Retrieve all entries in dalin having the wordform räfvar:

http://spraakbanken.gu.se/ws/lexikon?wf=räfvar&lexikon=dalin

  • Retrieve all information associated to the sense identifier elefant..1, in all resources:

http://spraakbanken.gu.se/ws/lexikon?saldo=elefant..1

  • The web service allows disjunctive search both on the attributes and the lexicons, e.g., find the information in all resources for the sense identifiers elefant..1 and räv..1:

http://spraakbanken.gu.se/ws/lexikon?saldo=elefant..1&saldo=räv..1

  • The web service also has a statistical function, e.g., the number of lexical entries in the resources saldo and saldom:

http://spraakbanken.gu.se/ws/lexikon?op=stat&lexikon=saldo&lexikon=saldom

  • The web service supports JSON and callback:

http://spraakbanken.gu.se/ws/lexikon?saldo=elefant..1&lexikon=saldo&format=json&callback=f

SBLeX Graphical user interface

The graphical user interface is generic. As long as a new lexical resources is in the correct format, connected to SALDO sense identifiers, and checked in the subversion repository, it will be visible in the interface.

The configuration of the interface, such as localization, is done in the description.xml file. The file also contains some metadata that defines the resource page. This is just temporary, we are moving towards a standardized lexical metadata format.

© University of Gothenburg 2009, Box 100, 405 30 Gothenburg, Sweden
Tel +46 31 786 0000, Contact

About the site

X
Loading