Lexicon Database - eliranwong/UniqueBible GitHub Wiki

How to create your own lexicon database

All lexicon files are sqlite3 database files in the marvelData/lexicons directory. The filename is used as the lexicon abbreviation in all listings in Unique Bible App.

Create the database

CREATE TABLE Lexicon (Topic NVARCHAR(100), Definition TEXT);
INSERT INTO Lexicon VALUES ('info', 'My Custom Lexicon')

Insert lexicon information

INSERT INTO Lexicon VALUES ('G40', 'My lexicon entry for Strong's G40')"

The first letter in the Topic column defines the type of data.

"H": config.defaultLexiconStrongH,
"G": config.defaultLexiconStrongG,
"E": config.defaultLexiconETCBC,
"L": config.defaultLexiconLXX,
"g": config.defaultLexiconGK,
"l": config.defaultLexiconLN,