lojban / valis

valis: a lojbanic information system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

valis, a lojbanic information system

valis is intended as a successor to jbovlaste, the Perl-powered, web-based dictionary for lojban that has been in continuous use since 2003.

Installation

valis requires an instance of the jbovlaste postgresql database.

Install the python dependencies:

pip install -r requirements.txt

Then create a configuration file, "config.py":

SERVER_NAME = 'HOST:PORT'
SQLALCHEMY_DATABASE_URI = 'postgresql://USER@HOST/INSTANCE'

API Resources

  • valsi: /api/valsi

Lojban words, searchable by type, prefix, suffix, and author, including etymologies and a list of definitions by language.

Options: type, user, word_prefix, word_suffix, after_word, limit

  • definitions: e.g. /api/valsi/bangu/en

Language-specific definitions of lojban words, including examples, gloss words and place keywords.

  • words: e.g. /api/languages/en/words

Language-specific keywords, including links to definitions where they are used.

Options: word_prefix, word_suffix, after_word, limit

Live examples from vrici.lojban.org

You can get a definitions view by choosing the language: http://vrici.lojban.org:5555/api/valsi/carce/en

Here, if the user typed in "c", one can use this list to autosuggest http://vrici.lojban.org:5555/api/valsi?word_prefix=c&type=gismu

Finally, there's a keywords view: http://vrici.lojban.org:5555/api/languages/eo/words

Acknowledgments

valis builds on the work of Jay Kominek, who first developed jbovlaste, as well as Robin Lee Powell, who added numerous features and was the principal maintainer for ten years.

valis also incorporates routines from Dag Odenhall's vlasisku, a modern web interface to jbovlaste data.

License

valis is distributed under the terms of the GNU General Public License (GPL) v3. The complete text of the license can be found in the LICENSE file in this distribution.

About

valis: a lojbanic information system

License:GNU General Public License v3.0


Languages

Language:JavaScript 88.2%Language:Python 8.4%Language:CSS 2.8%Language:HTML 0.5%