This page is a summary of information about the Lojban Dictionary: It's history, current form, and future design.
Several pages on the wiki discuss the Lojban Dictionary. Those are collected here:
This section is an exploration of the issue started in this discussion about the dictionary backend.
What end-use will this data put put to?
gismu, lujvo, and selma'o have different storage requirements. The proposal below assumes they will be storted in a database, and describe the storage schema.
Field | Description |
---|---|
gismu | the gismu this row defines |
lang | the language this row is in |
definition | the definition of the gismu |
x1 | gloss for x1 |
x2 | gloss for x2, NULL if there is no x2 |
x3 | gloss for x3, NULL if there is no x3 |
x4 | gloss for x4, NULL if there is no x4 |
x5 | gloss for x5, NULL if there is no x5 |
xN | gloss for xN, NULL if there is no xN |
There is one entry in this table for each language/gismu.
Field | Description |
---|---|
lujvo | the lujvo this row defines |
lang | the language this row is in |
definition | the definition of the lujvo |
x1 | gloss for x1 |
x2 | gloss for x2, NULL if there is no x2 |
x3 | gloss for x3, NULL if there is no x3 |
x4 | gloss for x4, NULL if there is no x4 |
x5 | gloss for x5, NULL if there is no x5 |
xN | gloss for xN, NULL if there is no xN |
Field | Description |
---|---|
lujvo | the lujvo this row defines |
component | the component gismu or lujvo that is one part of this lujvo |
lang | |
x1 | The position this component's x1 place appears in the lujvo. NULL if it does not appear. |
x2 | The position this component's x2 place appears in the lujvo. NULL if it does not appear. |
x3 | The position this component's x3 place appears in the lujvo. NULL if it does not appear. |
x4 | The position this component's x4 place appears in the lujvo. NULL if it does not appear. |
x5 | The position this component's x5 place appears in the lujvo. NULL if it does not appear. |
xN | The position this component's xN place appears in the lujvo. NULL if it does not appear. |
There is an entry in this table for each component of the lujvo.
Field | Description |
---|---|
selma'o | the selma'o this row defines |
lang | the language this row is in |
class | the selma'o class of this selma'o |
gloss | the definition of this selma'o |
How will this format be used in each of the use cases we've identified?
Assuming we're printing the English language translation dictionary, the gismu table will be rendered as the string:
<verbatim>
$gismu: $x1 $definition $x2 $x3 $x4 $x5 $xN
</verbatim>
<verbatim>
TBD.
</verbatim>
<verbatim>
TBD.
</verbatim>