-
Notifications
You must be signed in to change notification settings - Fork 0
/
lex_karuk_1-lex-def.json
171 lines (171 loc) · 5.07 KB
/
lex_karuk_1-lex-def.json
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"settings": {
"analysis": {
"char_filter": {
"apostrophe_to_glottal_stop": {
"type": "mapping",
"mappings": [
"\\u0027=>\\u0294"
]
}
},
"analyzer": {
"lex_lower_only": {
"tokenizer": "whitespace",
"filter": ["lowercase"]
},
"lex_lower_icu_folded_with_punc": {
"tokenizer": "whitespace",
"filter": ["lowercase", "icu_folding"]
},
"lex_lower_icu_folded_no_punc": {
"tokenizer": "icu_tokenizer",
"filter": ["lowercase", "icu_folding"]
},
"lex_lower_icu_folded_no_punc_apostrophe": {
"char_filter": [ "apostrophe_to_glottal_stop" ],
"tokenizer": "icu_tokenizer",
"filter": ["lowercase", "icu_folding"]
}
}
}
},
"mappings": {
"lex": {
"properties": {
"id": { "type": "keyword" },
"sortlex": { "type": "keyword" },
"lex": {
"type": "icu_collation_keyword",
"strength": "primary",
"decomposition": "canonical",
"case_level": false,
"alternate": "shifted",
"store": true,
"index": false,
"fields": {
"lo": {
"type": "text",
"analyzer": "lex_lower_only"
},
"lfwp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_with_punc"
},
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc_apostrophe"
}
}
},
"variants": {
"type": "keyword",
"fields": {
"lo": {
"type": "text",
"analyzer": "lex_lower_only"
},
"lfwp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_with_punc"
},
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc_apostrophe"
}
}
},
"morphemes.morph_lex": {
"type": "keyword",
"fields": {
"lo": {
"type": "text",
"analyzer": "lex_lower_only"
},
"lfwp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_with_punc"
},
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc_apostrophe"
}
}
},
"morphemes.morph_gloss": { "type": "text", "analyzer": "english" },
"morphemes.morph_id": { "type": "keyword", "index": false },
"deriv_lex": {
"type": "keyword",
"fields": {
"lo": {
"type": "text",
"analyzer": "lex_lower_only"
},
"lfwp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_with_punc"
},
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc_apostrophe"
}
}
},
"deriv_defn": { "type": "text", "analyzer": "english" },
"deriv_id": { "type": "keyword", "index": false },
"media.media_lex": {
"type": "keyword",
"fields": {
"lo": {
"type": "text",
"analyzer": "lex_lower_only"
},
"lfwp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_with_punc"
},
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc_apostrophe"
}
}
},
"media.media_gloss": { "type": "text", "analyzer": "english" },
"media.media_id": { "type": "keyword", "index": false },
"media.media_url": { "type": "keyword", "index": false },
"pos": {
"type": "keyword",
"fields": {
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc"
}
}
},
"sdomain": {
"type": "keyword",
"fields": {
"lfnp": {
"type": "text",
"analyzer": "lex_lower_icu_folded_no_punc"
}
}
},
"defn": { "type": "text", "analyzer": "english" },
"gloss": { "type": "text", "analyzer": "english" },
"note": { "type": "text", "analyzer": "english" },
"ref": { "type": "text", "analyzer": "english" },
"ex_sl": { "type": "text" },
"ex_cl": { "type": "text", "analyzer": "english" },
"ex_ref": { "type": "text", "analyzer": "english" },
"litgloss": { "type": "text", "analyzer": "english" },
"sciname": { "type": "text", "analyzer": "english" },
"usage_note": { "type": "text", "analyzer": "english" },
"ur": { "type": "text" },
"has_media": { "type": "boolean" },
"is_morph": { "type": "boolean" },
"popcnt": { "type": "integer" }
}
}
}
}