-
Notifications
You must be signed in to change notification settings - Fork 1
/
bible_mode.js
105 lines (94 loc) · 2.72 KB
/
bible_mode.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
settings.primaryColor = "#F9D4D4";
settings.primaryLight = "#F9EDED";
settings.autocomplete = true;
settings.wordpicture = true;
settings.corpora = {};
settings.corporafolders = {};
settings.corpora["bibel1917"] = {
id: "bibel1917",
title: "Bibeln 1917",
description: "",
within: settings.defaultWithin,
context: spContext,
attributes: {
pos: attrs.pos,
msd: attrs.msd,
lemma: attrs.baseform,
lex: attrs.lemgram,
saldo: attrs.saldo,
prefix: attrs.prefix,
suffix: attrs.suffix,
dephead: attrs.dephead,
deprel: attrs.deprel,
ref: attrs.ref,
texttype: {
label: "fab_texttype",
type: "set",
translation: fabTranslation,
extendedComponent: "datasetSelect",
dataset: [
"info",
"footnote",
],
opts: liteOptions
},
},
structAttributes: {
"text_title": {label: "chapter"},
"text_subtitle": {label: "title"},
"verse_name": {label: "verse"},
"text_date": {label: "year"}
}
};
settings.corpora["bibel1873dalin"] = {
morphology: "saldom|dalinm|swedbergm",
id: "bibel1873dalin",
title: "Bibeln 1873",
within: settings.defaultWithin,
context: spContext,
attributes: {
pos: attrs.pos,
msd: attrs.msd,
lemma: attrs.baseform,
lex: attrs.lemgram,
prefix: attrs.prefix,
suffix: attrs.suffix,
dephead: attrs.dephead,
deprel: attrs.deprel,
ref: attrs.ref
},
structAttributes: {
"text_title": {label: "title"},
"chapter_name": {label: "chapter"},
"verse_name": {label: "verse"},
"text_date": {label: "year"}
}
};
settings.corpora["vasabibel-nt"] = {
morphology: "swedbergm|dalinm|saldom",
id: "vasabibel-nt",
title: "Gustaf Vasas bibel – Nya testamentet",
description: "'Nya Testamentet i Gustaf Vasas Bibel /under jämförelse med texten av år 1526 utgivet av Natan Lindqvist' från 1941",
within: spWithin,
context: spContext,
attributes: {
pos: attrs.pos,
msd: attrs.msd,
lemma: attrs.baseform,
lex: attrs.lemgram,
dalinlex: attrs.dalinlemgram,
saldo: attrs.saldo,
prefix: attrs.prefix,
suffix: attrs.suffix,
dephead: attrs.dephead,
deprel: attrs.deprel,
ref: attrs.ref
},
structAttributes: {
text_title: {label: "title"},
text_publisher: {label: "publisher"},
text_published: {label: "published"},
text_year: {label: "year"}
}
};
settings.corpusListing = new CorpusListing(settings.corpora);