This repository was archived by the owner on Apr 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitialization.json
More file actions
136 lines (136 loc) · 4.05 KB
/
initialization.json
File metadata and controls
136 lines (136 loc) · 4.05 KB
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
{
"settings": {
"index": {
"number_of_replicas": 0,
"analysis": {
"tokenizer": {
"my_nori_tokenizer": {
"type": "nori_tokenizer",
"decompound_mode": "mixed",
"discard_punctuation": "false"
},
"my_ngram_tokenizer": {
"type": "ngram",
"min_gram": 2,
"max_gram": 3
}
},
"filter": {
"stopwords": {
"type": "stop",
"stopwords": " "
},
"synonyms": {
"type": "synonym",
"synonyms": [
"모의고사, 모의평가, 모고, 모평, 학력평가, 학평",
"대학수학능력시험, 수능, 대수능",
"언어, 국어",
"수학, 수리",
"고등학교 1학년, 1학년 => 고1",
"고등학교 2학년, 2학년 => 고2",
"고등학교 3학년, 3학년 => 고3",
"3모 => 3월 학력평가, 3월 학평",
"4모 => 4월 학력평가, 4월 학평",
"6모 => 6월 모의평가, 6월 학력평가, 6월 학평",
"6평 => 6월 모의평가, 6월 학력평가, 6월 학평",
"7모 => 7월 학력평가, 7월 학평",
"9모 => 9월 모의평가, 9월 학력평가, 9월 학평",
"9평 => 9월 모의평가, 9월 학력평가, 9월 학평",
"10모 => 10월 학력평가, 10월 학평",
"11모 => 11월 학력평가, 11월 학평",
"사탐 => 사회탐구, 사회·과학탐구",
"과탐 => 과학탐구, 사회·과학탐구",
"직탐 => 직업탐구",
"화작 => 화법과 작문",
"언매 => 언어와 매체",
"확통 => 확률과 통계",
"미적 => 미적분",
"국사 => 한국사",
"물1, 물Ⅰ, 물원 => 물리Ⅰ",
"물2, 물Ⅱ, 물투 => 물리Ⅱ",
"화1, 화Ⅰ, 화원 => 화학Ⅰ",
"화2, 화Ⅱ, 화투 => 화학Ⅱ",
"생1, 생Ⅰ, 생원 => 생물Ⅰ",
"생2, 생Ⅱ, 생투 => 생물Ⅱ",
"지1, 지Ⅰ, 지학, 지원 => 지구과학Ⅰ",
"지2, 지Ⅱ, 지투 => 지구과학Ⅱ",
"윤사 => 윤리와 사상",
"생윤 => 생활과 윤리",
"동사, 동아사 => 동아시아사",
"세사 => 세계사",
"한지 => 한국지리",
"세지 => 세계지리",
"법정 => 법과정치",
"정법 => 정치와 법",
"사문 => 사회문화, 사회·문화",
"법사 => 법과사회",
"농기초 => 농업 기초 기술, 농업기초기술",
"농업 => 농업 기초 기술, 농업기초기술",
"공일 => 공업 일반",
"상경 => 상업 경제, 상업경제",
"인발 => 인간 발달, 인간발달",
"성직 => 성공적인 직업 생활"
]
}
},
"analyzer": {
"my_nori_analyzer": {
"type": "custom",
"tokenizer": "my_nori_tokenizer",
"filter": ["lowercase", "stop", "trim", "stopwords", "nori_part_of_speech"],
"char_filter": ["html_strip"]
},
"my_ngram_analyzer": {
"type": "custom",
"tokenizer": "my_ngram_tokenizer",
"filter": ["lowercase", "stop", "trim", "stopwords", "nori_part_of_speech"],
"char_filter": ["html_strip"]
},
"my_snowball_analyzer": {
"type": "snowball",
"language": "English",
"filter": ["lowercase", "stop", "trim", "stopwords"],
"char_filter": ["html_strip"]
}
}
}
}
},
"mappings": {
"properties": {
"title": {
"type": "text",
"analyzer": "standard",
"search_analyzer": "standard",
"fields": {
"nori": {
"type": "text",
"analyzer": "my_nori_analyzer",
"search_analyzer": "my_nori_analyzer"
},
"ngram": {
"type": "text",
"analyzer": "my_ngram_analyzer",
"search_analyzer": "my_ngram_analyzer"
}
}
},
"content": {
"type": "text",
"fields": {
"korean": {
"type": "text",
"analyzer": "my_nori_analyzer",
"search_analyzer": "my_nori_analyzer"
},
"english": {
"type": "text",
"analyzer": "my_snowball_analyzer",
"search_analyzer": "my_snowball_analyzer"
}
}
}
}
}
}