@vezham/icons-mcp 1.0.7 → 27.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +173 -21
- package/dist/bin/run.cjs +15 -13
- package/dist/cli/index.js +2 -2
- package/dist/core/codegen.js +12 -8
- package/dist/core/load-index.js +2 -2
- package/dist/core/search.d.ts +6 -2
- package/dist/core/search.js +1007 -125
- package/dist/package.json +3 -10
- package/dist/server/index.js +25 -16
- package/dist/server/tools/apply-icon.d.ts +0 -5
- package/dist/server/tools/apply-icon.js +7 -20
- package/dist/server/tools/search-icons.js +1 -1
- package/dist/server/tools/view-icon.d.ts +1 -14
- package/dist/server/tools/view-icon.js +7 -18
- package/package.json +23 -25
- package/README.md +0 -69
- package/dist/LICENSE +0 -21
- package/dist/README.md +0 -69
- package/dist/core/index-builder.d.ts +0 -11
- package/dist/core/index-builder.js +0 -68
package/dist/core/search.js
CHANGED
|
@@ -3,15 +3,40 @@ const SENTENCE_MARKERS = /\?|!|\.{2,}/;
|
|
|
3
3
|
const SENTENCE_WORDS = /\b(please|could|would|want|need|show|find|give|get me|looking for|i am|i'm|can you|help me|what is)\b/i;
|
|
4
4
|
const SYNONYMS = {
|
|
5
5
|
x: ['x', 'close', 'dismiss', 'cancel', 'remove'],
|
|
6
|
-
trash: [
|
|
6
|
+
trash: [
|
|
7
|
+
'trash',
|
|
8
|
+
'delete',
|
|
9
|
+
'remove',
|
|
10
|
+
'bin',
|
|
11
|
+
'clear',
|
|
12
|
+
'erase',
|
|
13
|
+
'rubbish',
|
|
14
|
+
'garbage'
|
|
15
|
+
],
|
|
7
16
|
delete: ['delete', 'trash', 'remove', 'bin', 'clear', 'erase'],
|
|
8
17
|
remove: ['remove', 'trash', 'delete', 'x', 'close', 'clear'],
|
|
9
18
|
bin: ['bin', 'trash', 'delete', 'remove'],
|
|
10
|
-
settings: [
|
|
19
|
+
settings: [
|
|
20
|
+
'settings',
|
|
21
|
+
'gear',
|
|
22
|
+
'cog',
|
|
23
|
+
'preferences',
|
|
24
|
+
'configure',
|
|
25
|
+
'options',
|
|
26
|
+
'setup'
|
|
27
|
+
],
|
|
11
28
|
gear: ['gear', 'settings', 'cog'],
|
|
12
29
|
cog: ['cog', 'settings', 'gear'],
|
|
13
30
|
preferences: ['preferences', 'settings', 'options'],
|
|
14
|
-
search: [
|
|
31
|
+
search: [
|
|
32
|
+
'search',
|
|
33
|
+
'magnifier',
|
|
34
|
+
'find',
|
|
35
|
+
'lookup',
|
|
36
|
+
'explore',
|
|
37
|
+
'magnify',
|
|
38
|
+
'scan'
|
|
39
|
+
],
|
|
15
40
|
magnifier: ['magnifier', 'search', 'find', 'magnify'],
|
|
16
41
|
find: ['find', 'search', 'magnifier', 'lookup'],
|
|
17
42
|
user: ['user', 'person', 'profile', 'account', 'avatar', 'member', 'human'],
|
|
@@ -43,15 +68,40 @@ const SYNONYMS = {
|
|
|
43
68
|
'shopping cart': ['shopping-cart', 'cart', 'cart-large'],
|
|
44
69
|
bag: ['bag', 'cart', 'shopping', 'basket', 'purse', 'sack'],
|
|
45
70
|
basket: ['basket', 'cart', 'shopping', 'bag'],
|
|
46
|
-
phone: [
|
|
71
|
+
phone: [
|
|
72
|
+
'phone',
|
|
73
|
+
'call',
|
|
74
|
+
'contact',
|
|
75
|
+
'dial',
|
|
76
|
+
'telephone',
|
|
77
|
+
'mobile',
|
|
78
|
+
'smartphone'
|
|
79
|
+
],
|
|
47
80
|
call: ['call', 'phone', 'contact', 'dial'],
|
|
48
81
|
mobile: ['mobile', 'phone', 'smartphone', 'cell'],
|
|
49
82
|
mail: ['mail', 'email', 'envelope', 'letter', 'message', 'inbox', 'send'],
|
|
50
83
|
email: ['email', 'mail', 'envelope', 'letter', 'message', 'inbox'],
|
|
51
84
|
envelope: ['envelope', 'mail', 'email', 'letter'],
|
|
52
85
|
letter: ['letter', 'mail', 'email', 'envelope'],
|
|
53
|
-
message: [
|
|
54
|
-
|
|
86
|
+
message: [
|
|
87
|
+
'message',
|
|
88
|
+
'chat',
|
|
89
|
+
'msg',
|
|
90
|
+
'text',
|
|
91
|
+
'talk',
|
|
92
|
+
'bubble',
|
|
93
|
+
'comment',
|
|
94
|
+
'conversation'
|
|
95
|
+
],
|
|
96
|
+
chat: [
|
|
97
|
+
'chat',
|
|
98
|
+
'message',
|
|
99
|
+
'bubble',
|
|
100
|
+
'talk',
|
|
101
|
+
'comment',
|
|
102
|
+
'conversation',
|
|
103
|
+
'round'
|
|
104
|
+
],
|
|
55
105
|
msg: ['msg', 'message', 'chat', 'text'],
|
|
56
106
|
comment: ['comment', 'message', 'chat', 'bubble'],
|
|
57
107
|
inbox: ['inbox', 'mail', 'email', 'message'],
|
|
@@ -86,7 +136,16 @@ const SYNONYMS = {
|
|
|
86
136
|
film: ['film', 'video', 'movie'],
|
|
87
137
|
microphone: ['microphone', 'mic', 'voice', 'record', 'audio', 'podcast'],
|
|
88
138
|
mic: ['mic', 'microphone', 'voice', 'record'],
|
|
89
|
-
edit: [
|
|
139
|
+
edit: [
|
|
140
|
+
'edit',
|
|
141
|
+
'pencil',
|
|
142
|
+
'pen',
|
|
143
|
+
'modify',
|
|
144
|
+
'update',
|
|
145
|
+
'change',
|
|
146
|
+
'write',
|
|
147
|
+
'draw'
|
|
148
|
+
],
|
|
90
149
|
pencil: ['pencil', 'edit', 'pen', 'write', 'draw'],
|
|
91
150
|
pen: ['pen', 'edit', 'pencil', 'write', 'draw'],
|
|
92
151
|
update: ['update', 'edit', 'modify', 'change', 'refresh', 'renew'],
|
|
@@ -104,14 +163,53 @@ const SYNONYMS = {
|
|
|
104
163
|
angle: ['angle', 'chevron', 'arrow', 'corner'],
|
|
105
164
|
caret: ['caret', 'chevron', 'arrow', 'dropdown'],
|
|
106
165
|
up: ['up', 'above', 'upward', 'raise', 'top', 'chevron-up', 'arrow-up'],
|
|
107
|
-
down: [
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
166
|
+
down: [
|
|
167
|
+
'down',
|
|
168
|
+
'below',
|
|
169
|
+
'downward',
|
|
170
|
+
'lower',
|
|
171
|
+
'bottom',
|
|
172
|
+
'chevron-down',
|
|
173
|
+
'arrow-down'
|
|
174
|
+
],
|
|
175
|
+
left: [
|
|
176
|
+
'left',
|
|
177
|
+
'back',
|
|
178
|
+
'previous',
|
|
179
|
+
'before',
|
|
180
|
+
'chevron-left',
|
|
181
|
+
'arrow-left',
|
|
182
|
+
'west'
|
|
183
|
+
],
|
|
184
|
+
right: [
|
|
185
|
+
'right',
|
|
186
|
+
'next',
|
|
187
|
+
'forward',
|
|
188
|
+
'after',
|
|
189
|
+
'chevron-right',
|
|
190
|
+
'arrow-right',
|
|
191
|
+
'east'
|
|
192
|
+
],
|
|
193
|
+
back: [
|
|
194
|
+
'back',
|
|
195
|
+
'left',
|
|
196
|
+
'previous',
|
|
197
|
+
'return',
|
|
198
|
+
'undo',
|
|
199
|
+
'reverse',
|
|
200
|
+
'chevron-left'
|
|
201
|
+
],
|
|
111
202
|
next: ['next', 'right', 'forward', 'continue', 'chevron-right'],
|
|
112
203
|
previous: ['previous', 'back', 'left', 'before', 'chevron-left'],
|
|
113
204
|
'arrow-up': ['arrow-up', 'up', 'upward', 'above', 'top', 'chevron-up'],
|
|
114
|
-
'arrow-down': [
|
|
205
|
+
'arrow-down': [
|
|
206
|
+
'arrow-down',
|
|
207
|
+
'down',
|
|
208
|
+
'downward',
|
|
209
|
+
'below',
|
|
210
|
+
'bottom',
|
|
211
|
+
'chevron-down'
|
|
212
|
+
],
|
|
115
213
|
'arrow-left': ['arrow-left', 'left', 'back', 'previous', 'chevron-left'],
|
|
116
214
|
'arrow-right': ['arrow-right', 'right', 'next', 'forward', 'chevron-right'],
|
|
117
215
|
add: ['add', 'plus', 'new', 'create', 'additional', 'increase', 'append'],
|
|
@@ -122,7 +220,15 @@ const SYNONYMS = {
|
|
|
122
220
|
subtract: ['subtract', 'minus', 'remove', 'decrease', 'reduce'],
|
|
123
221
|
increase: ['increase', 'add', 'plus', 'up', 'grow', 'raise'],
|
|
124
222
|
decrease: ['decrease', 'minus', 'subtract', 'down', 'reduce', 'lower'],
|
|
125
|
-
lock: [
|
|
223
|
+
lock: [
|
|
224
|
+
'lock',
|
|
225
|
+
'secure',
|
|
226
|
+
'protect',
|
|
227
|
+
'safety',
|
|
228
|
+
'password',
|
|
229
|
+
'privacy',
|
|
230
|
+
'locked'
|
|
231
|
+
],
|
|
126
232
|
secure: ['secure', 'lock', 'protect', 'shield', 'safe', 'safety'],
|
|
127
233
|
unlock: ['unlock', 'unlocked', 'open', 'lock-opened'],
|
|
128
234
|
'lock-opened': ['lock-opened', 'unlock', 'unlocked', 'open'],
|
|
@@ -156,8 +262,24 @@ const SYNONYMS = {
|
|
|
156
262
|
document: ['document', 'file', 'paper', 'page', 'doc'],
|
|
157
263
|
image: ['image', 'photo', 'picture', 'gallery', 'photograph', 'pic'],
|
|
158
264
|
pdf: ['pdf', 'document', 'file', 'adobe'],
|
|
159
|
-
map: [
|
|
160
|
-
|
|
265
|
+
map: [
|
|
266
|
+
'map',
|
|
267
|
+
'location',
|
|
268
|
+
'place',
|
|
269
|
+
'navigation',
|
|
270
|
+
'direction',
|
|
271
|
+
'route',
|
|
272
|
+
'travel'
|
|
273
|
+
],
|
|
274
|
+
location: [
|
|
275
|
+
'location',
|
|
276
|
+
'map',
|
|
277
|
+
'pin',
|
|
278
|
+
'place',
|
|
279
|
+
'address',
|
|
280
|
+
'position',
|
|
281
|
+
'map-point'
|
|
282
|
+
],
|
|
161
283
|
place: ['place', 'location', 'pin', 'map-point', 'address'],
|
|
162
284
|
address: ['address', 'location', 'pin', 'map', 'map-point', 'home'],
|
|
163
285
|
globe: ['globe', 'world', 'earth', 'planet', 'international', 'global'],
|
|
@@ -166,7 +288,15 @@ const SYNONYMS = {
|
|
|
166
288
|
compass: ['compass', 'direction', 'navigate', 'navigation', 'guide'],
|
|
167
289
|
route: ['route', 'direction', 'path', 'way', 'map', 'navigation'],
|
|
168
290
|
road: ['road', 'route', 'street', 'map', 'direction', 'path', 'way'],
|
|
169
|
-
shield: [
|
|
291
|
+
shield: [
|
|
292
|
+
'shield',
|
|
293
|
+
'security',
|
|
294
|
+
'safe',
|
|
295
|
+
'protect',
|
|
296
|
+
'guard',
|
|
297
|
+
'defense',
|
|
298
|
+
'armor'
|
|
299
|
+
],
|
|
170
300
|
security: ['security', 'shield', 'safe', 'protect', 'guard', 'lock'],
|
|
171
301
|
safe: ['safe', 'shield', 'security', 'protect', 'vault'],
|
|
172
302
|
key: ['key', 'password', 'access', 'credential', 'security', 'keyhole'],
|
|
@@ -174,7 +304,15 @@ const SYNONYMS = {
|
|
|
174
304
|
verified: ['verified', 'verify', 'check', 'confirm', 'badge', 'authentic'],
|
|
175
305
|
verify: ['verify', 'verified', 'check', 'confirm', 'badge'],
|
|
176
306
|
wifi: ['wifi', 'internet', 'network', 'connection', 'wireless', 'signal'],
|
|
177
|
-
internet: [
|
|
307
|
+
internet: [
|
|
308
|
+
'internet',
|
|
309
|
+
'wifi',
|
|
310
|
+
'network',
|
|
311
|
+
'web',
|
|
312
|
+
'online',
|
|
313
|
+
'globe',
|
|
314
|
+
'browser'
|
|
315
|
+
],
|
|
178
316
|
network: ['network', 'wifi', 'internet', 'connection', 'connect'],
|
|
179
317
|
connection: ['connection', 'connect', 'wifi', 'network', 'signal', 'linked'],
|
|
180
318
|
signal: ['signal', 'wifi', 'network', 'connection', 'cellular', 'bars'],
|
|
@@ -183,8 +321,25 @@ const SYNONYMS = {
|
|
|
183
321
|
power: ['power', 'on', 'off', 'switch', 'button', 'energy', 'battery'],
|
|
184
322
|
energy: ['energy', 'power', 'battery', 'charge', 'lightning', 'bolt'],
|
|
185
323
|
bolt: ['bolt', 'lightning', 'flash', 'energy', 'power', 'electric', 'speed'],
|
|
186
|
-
lightning: [
|
|
187
|
-
|
|
324
|
+
lightning: [
|
|
325
|
+
'lightning',
|
|
326
|
+
'bolt',
|
|
327
|
+
'flash',
|
|
328
|
+
'energy',
|
|
329
|
+
'electric',
|
|
330
|
+
'power',
|
|
331
|
+
'zap'
|
|
332
|
+
],
|
|
333
|
+
sun: [
|
|
334
|
+
'sun',
|
|
335
|
+
'light',
|
|
336
|
+
'brightness',
|
|
337
|
+
'day',
|
|
338
|
+
'sunny',
|
|
339
|
+
'sunlight',
|
|
340
|
+
'weather',
|
|
341
|
+
'warm'
|
|
342
|
+
],
|
|
188
343
|
sunny: ['sunny', 'sun', 'bright', 'light', 'weather', 'clear'],
|
|
189
344
|
moon: ['moon', 'night', 'dark', 'sleep', 'midnight', 'lunar'],
|
|
190
345
|
night: ['night', 'moon', 'dark', 'sleep', 'evening'],
|
|
@@ -215,13 +370,45 @@ const SYNONYMS = {
|
|
|
215
370
|
'cloud download': ['cloud-download', 'download', 'cloud', 'sync'],
|
|
216
371
|
storage: ['storage', 'database', 'data', 'server', 'drive', 'disk'],
|
|
217
372
|
drive: ['drive', 'storage', 'disk', 'hard-drive', 'hard'],
|
|
218
|
-
code: [
|
|
373
|
+
code: [
|
|
374
|
+
'code',
|
|
375
|
+
'coding',
|
|
376
|
+
'programming',
|
|
377
|
+
'developer',
|
|
378
|
+
'dev',
|
|
379
|
+
'script',
|
|
380
|
+
'brackets'
|
|
381
|
+
],
|
|
219
382
|
terminal: ['terminal', 'console', 'command', 'cli', 'shell', 'prompt', 'cmd'],
|
|
220
383
|
command: ['command', 'terminal', 'console', 'key', 'cmd'],
|
|
221
|
-
git: [
|
|
384
|
+
git: [
|
|
385
|
+
'git',
|
|
386
|
+
'commit',
|
|
387
|
+
'branch',
|
|
388
|
+
'merge',
|
|
389
|
+
'repository',
|
|
390
|
+
'repo',
|
|
391
|
+
'version-control',
|
|
392
|
+
'github'
|
|
393
|
+
],
|
|
222
394
|
branch: ['branch', 'git', 'fork', 'tree', 'merge'],
|
|
223
|
-
window: [
|
|
224
|
-
|
|
395
|
+
window: [
|
|
396
|
+
'window',
|
|
397
|
+
'app',
|
|
398
|
+
'application',
|
|
399
|
+
'screen',
|
|
400
|
+
'display',
|
|
401
|
+
'ui',
|
|
402
|
+
'browser'
|
|
403
|
+
],
|
|
404
|
+
loading: [
|
|
405
|
+
'loading',
|
|
406
|
+
'loader',
|
|
407
|
+
'spinner',
|
|
408
|
+
'loading-circle',
|
|
409
|
+
'progress',
|
|
410
|
+
'wait'
|
|
411
|
+
],
|
|
225
412
|
progress: ['progress', 'loading', 'loader', 'bar', 'spinner', 'percentage'],
|
|
226
413
|
spinner: ['spinner', 'loading', 'loader', 'circle', 'progress', 'wait'],
|
|
227
414
|
info: ['info', 'information', 'help', 'about', 'details', 'i'],
|
|
@@ -230,14 +417,49 @@ const SYNONYMS = {
|
|
|
230
417
|
question: ['question', 'help', 'info', 'support', 'faq', 'quiz'],
|
|
231
418
|
warning: ['warning', 'caution', 'danger', 'alert', 'error', 'exclamation'],
|
|
232
419
|
danger: ['danger', 'warning', 'alert', 'error', 'caution', 'problem'],
|
|
233
|
-
error: [
|
|
234
|
-
|
|
235
|
-
|
|
420
|
+
error: [
|
|
421
|
+
'error',
|
|
422
|
+
'warning',
|
|
423
|
+
'alert',
|
|
424
|
+
'danger',
|
|
425
|
+
'problem',
|
|
426
|
+
'fail',
|
|
427
|
+
'issue',
|
|
428
|
+
'exclamation'
|
|
429
|
+
],
|
|
430
|
+
success: [
|
|
431
|
+
'success',
|
|
432
|
+
'check',
|
|
433
|
+
'tick',
|
|
434
|
+
'done',
|
|
435
|
+
'complete',
|
|
436
|
+
'pass',
|
|
437
|
+
'approved',
|
|
438
|
+
'verified'
|
|
439
|
+
],
|
|
440
|
+
check: [
|
|
441
|
+
'check',
|
|
442
|
+
'tick',
|
|
443
|
+
'success',
|
|
444
|
+
'done',
|
|
445
|
+
'complete',
|
|
446
|
+
'confirm',
|
|
447
|
+
'yes',
|
|
448
|
+
'approve'
|
|
449
|
+
],
|
|
236
450
|
tick: ['tick', 'check', 'success', 'done', 'complete', 'confirm'],
|
|
237
451
|
done: ['done', 'check', 'tick', 'complete', 'success', 'finish'],
|
|
238
452
|
complete: ['complete', 'done', 'check', 'tick', 'success', 'finish'],
|
|
239
453
|
confirm: ['confirm', 'check', 'tick', 'verify', 'validate', 'approve'],
|
|
240
|
-
dashboard: [
|
|
454
|
+
dashboard: [
|
|
455
|
+
'dashboard',
|
|
456
|
+
'home',
|
|
457
|
+
'overview',
|
|
458
|
+
'panel',
|
|
459
|
+
'admin',
|
|
460
|
+
'main',
|
|
461
|
+
'screen'
|
|
462
|
+
],
|
|
241
463
|
overview: ['overview', 'dashboard', 'summary', 'home'],
|
|
242
464
|
admin: ['admin', 'settings', 'dashboard', 'control', 'manage', 'super'],
|
|
243
465
|
chart: ['chart', 'graph', 'pie', 'bar', 'statistics', 'stats', 'data'],
|
|
@@ -255,7 +477,17 @@ const SYNONYMS = {
|
|
|
255
477
|
bus: ['bus', 'vehicle', 'transport', 'public'],
|
|
256
478
|
bike: ['bike', 'bicycle', 'cycle', 'cycling', 'riding', 'cyclist'],
|
|
257
479
|
bicycle: ['bicycle', 'bike', 'cycle', 'cycling'],
|
|
258
|
-
airplane: [
|
|
480
|
+
airplane: [
|
|
481
|
+
'airplane',
|
|
482
|
+
'plane',
|
|
483
|
+
'flight',
|
|
484
|
+
'fly',
|
|
485
|
+
'air',
|
|
486
|
+
'travel',
|
|
487
|
+
'airport',
|
|
488
|
+
'jet',
|
|
489
|
+
'aircraft'
|
|
490
|
+
],
|
|
259
491
|
plane: ['plane', 'airplane', 'flight', 'air', 'travel', 'jet'],
|
|
260
492
|
train: ['train', 'railway', 'rail', 'subway', 'metro', 'tram'],
|
|
261
493
|
ship: ['ship', 'boat', 'vessel', 'sea', 'ocean', 'sail', 'marine'],
|
|
@@ -267,7 +499,14 @@ const SYNONYMS = {
|
|
|
267
499
|
'light bulb': ['lightbulb', 'bulb', 'lamp', 'light', 'idea'],
|
|
268
500
|
bulb: ['bulb', 'light', 'lamp', 'idea', 'lightbulb'],
|
|
269
501
|
table: ['table', 'desk', 'furniture', 'counter', 'surface'],
|
|
270
|
-
cabinet: [
|
|
502
|
+
cabinet: [
|
|
503
|
+
'cabinet',
|
|
504
|
+
'closet',
|
|
505
|
+
'storage',
|
|
506
|
+
'furniture',
|
|
507
|
+
'wardrobe',
|
|
508
|
+
'cupboard'
|
|
509
|
+
],
|
|
271
510
|
kitchen: ['kitchen', 'cook', 'food', 'appliance', 'stove', 'oven', 'fridge'],
|
|
272
511
|
food: ['food', 'meal', 'eat', 'dining', 'cuisine', 'restaurant', 'dish'],
|
|
273
512
|
drink: ['drink', 'beverage', 'cup', 'glass', 'mug', 'water', 'coffee', 'tea'],
|
|
@@ -281,17 +520,42 @@ const SYNONYMS = {
|
|
|
281
520
|
gift: ['gift', 'present', 'box', 'package', 'wrap', 'birthday', 'holiday'],
|
|
282
521
|
present: ['present', 'gift', 'box', 'package', 'wrap'],
|
|
283
522
|
wallet: ['wallet', 'money', 'payment', 'pay', 'cash', 'purse', 'finance'],
|
|
284
|
-
money: [
|
|
523
|
+
money: [
|
|
524
|
+
'money',
|
|
525
|
+
'wallet',
|
|
526
|
+
'payment',
|
|
527
|
+
'cash',
|
|
528
|
+
'dollar',
|
|
529
|
+
'currency',
|
|
530
|
+
'finance',
|
|
531
|
+
'coin'
|
|
532
|
+
],
|
|
285
533
|
coin: ['coin', 'money', 'payment', 'cash', 'currency', 'finance'],
|
|
286
534
|
dollar: ['dollar', 'money', 'cash', 'currency', 'finance', 'payment'],
|
|
287
535
|
payment: ['payment', 'money', 'wallet', 'card', 'cash', 'checkout', 'pay'],
|
|
288
536
|
health: ['health', 'medical', 'hospital', 'doctor', 'medicine', 'healthcare'],
|
|
289
537
|
medical: ['medical', 'health', 'hospital', 'doctor', 'medicine'],
|
|
290
538
|
hospital: ['hospital', 'medical', 'health', 'doctor', 'clinic'],
|
|
291
|
-
pill: [
|
|
539
|
+
pill: [
|
|
540
|
+
'pill',
|
|
541
|
+
'medicine',
|
|
542
|
+
'tablet',
|
|
543
|
+
'drug',
|
|
544
|
+
'health',
|
|
545
|
+
'pharmacy',
|
|
546
|
+
'medication'
|
|
547
|
+
],
|
|
292
548
|
syringe: ['syringe', 'injection', 'vaccine', 'medical', 'health', 'needle'],
|
|
293
549
|
pulse: ['pulse', 'heart', 'beat', 'cardio', 'vitals', 'health'],
|
|
294
|
-
group: [
|
|
550
|
+
group: [
|
|
551
|
+
'group',
|
|
552
|
+
'team',
|
|
553
|
+
'users',
|
|
554
|
+
'people',
|
|
555
|
+
'community',
|
|
556
|
+
'crowd',
|
|
557
|
+
'organization'
|
|
558
|
+
],
|
|
295
559
|
team: ['team', 'group', 'users', 'people', 'community'],
|
|
296
560
|
users: ['users', 'people', 'group', 'team', 'community', 'crowd'],
|
|
297
561
|
people: ['people', 'users', 'group', 'team', 'community', 'crowd', 'person'],
|
|
@@ -303,31 +567,121 @@ const SYNONYMS = {
|
|
|
303
567
|
gym: ['gym', 'fitness', 'exercise', 'workout', 'health', 'strong'],
|
|
304
568
|
run: ['run', 'running', 'sprint', 'jog', 'exercise', 'fitness', 'race'],
|
|
305
569
|
walk: ['walk', 'walking', 'hike', 'hiking', 'stroll', 'exercise', 'fitness'],
|
|
306
|
-
dumbbell: [
|
|
570
|
+
dumbbell: [
|
|
571
|
+
'dumbbell',
|
|
572
|
+
'weight',
|
|
573
|
+
'gym',
|
|
574
|
+
'fitness',
|
|
575
|
+
'exercise',
|
|
576
|
+
'muscle',
|
|
577
|
+
'workout'
|
|
578
|
+
],
|
|
307
579
|
gamepad: ['gamepad', 'controller', 'gaming', 'play', 'game', 'joystick'],
|
|
308
580
|
gaming: ['gaming', 'game', 'gamepad', 'controller', 'console', 'play'],
|
|
309
581
|
robot: ['robot', 'ai', 'automation', 'android', 'smart', 'tech'],
|
|
310
|
-
rocket: [
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
582
|
+
rocket: [
|
|
583
|
+
'rocket',
|
|
584
|
+
'launch',
|
|
585
|
+
'space',
|
|
586
|
+
'ship',
|
|
587
|
+
'startup',
|
|
588
|
+
'speed',
|
|
589
|
+
'fast',
|
|
590
|
+
'boost'
|
|
591
|
+
],
|
|
592
|
+
award: [
|
|
593
|
+
'award',
|
|
594
|
+
'trophy',
|
|
595
|
+
'medal',
|
|
596
|
+
'prize',
|
|
597
|
+
'winner',
|
|
598
|
+
'achievement',
|
|
599
|
+
'badge',
|
|
600
|
+
'reward'
|
|
601
|
+
],
|
|
602
|
+
trophy: [
|
|
603
|
+
'trophy',
|
|
604
|
+
'award',
|
|
605
|
+
'prize',
|
|
606
|
+
'winner',
|
|
607
|
+
'achievement',
|
|
608
|
+
'champion',
|
|
609
|
+
'cup'
|
|
610
|
+
],
|
|
611
|
+
medal: [
|
|
612
|
+
'medal',
|
|
613
|
+
'award',
|
|
614
|
+
'trophy',
|
|
615
|
+
'prize',
|
|
616
|
+
'winner',
|
|
617
|
+
'achievement',
|
|
618
|
+
'badge',
|
|
619
|
+
'ribbon'
|
|
620
|
+
],
|
|
314
621
|
crown: ['crown', 'king', 'queen', 'royal', 'leader', 'top', 'best'],
|
|
315
622
|
magic: ['magic', 'wand', 'sparkle', 'star', 'fantasy', 'creative', 'wizard'],
|
|
316
|
-
fullscreen: [
|
|
623
|
+
fullscreen: [
|
|
624
|
+
'fullscreen',
|
|
625
|
+
'full-screen',
|
|
626
|
+
'maximize',
|
|
627
|
+
'expand',
|
|
628
|
+
'enlarge',
|
|
629
|
+
'zoom'
|
|
630
|
+
],
|
|
317
631
|
maximize: ['maximize', 'fullscreen', 'expand', 'enlarge'],
|
|
318
632
|
minimize: ['minimize', 'collapse', 'reduce', 'shrink', 'contract'],
|
|
319
633
|
expand: ['expand', 'fullscreen', 'maximize', 'enlarge'],
|
|
320
634
|
grid: ['grid', 'widget', 'layout', 'blocks', 'squares', 'tiles', 'dashboard'],
|
|
321
635
|
list: ['list', 'bullets', 'items', 'listing', 'menu', 'options'],
|
|
322
|
-
school: [
|
|
636
|
+
school: [
|
|
637
|
+
'school',
|
|
638
|
+
'education',
|
|
639
|
+
'learn',
|
|
640
|
+
'study',
|
|
641
|
+
'academic',
|
|
642
|
+
'class',
|
|
643
|
+
'course'
|
|
644
|
+
],
|
|
323
645
|
education: ['education', 'school', 'learn', 'study', 'academic', 'knowledge'],
|
|
324
|
-
book: [
|
|
325
|
-
|
|
326
|
-
|
|
646
|
+
book: [
|
|
647
|
+
'book',
|
|
648
|
+
'read',
|
|
649
|
+
'reading',
|
|
650
|
+
'library',
|
|
651
|
+
'knowledge',
|
|
652
|
+
'education',
|
|
653
|
+
'learn',
|
|
654
|
+
'study'
|
|
655
|
+
],
|
|
656
|
+
library: [
|
|
657
|
+
'library',
|
|
658
|
+
'book',
|
|
659
|
+
'books',
|
|
660
|
+
'read',
|
|
661
|
+
'education',
|
|
662
|
+
'knowledge',
|
|
663
|
+
'study'
|
|
664
|
+
],
|
|
665
|
+
graduation: [
|
|
666
|
+
'graduation',
|
|
667
|
+
'cap',
|
|
668
|
+
'degree',
|
|
669
|
+
'graduate',
|
|
670
|
+
'education',
|
|
671
|
+
'school',
|
|
672
|
+
'university'
|
|
673
|
+
],
|
|
327
674
|
login: ['login', 'sign-in', 'signin', 'enter', 'access', 'authenticate'],
|
|
328
675
|
logout: ['logout', 'sign-out', 'signout', 'exit', 'leave'],
|
|
329
676
|
register: ['register', 'sign-up', 'signup', 'join', 'enroll', 'subscribe'],
|
|
330
|
-
subscribe: [
|
|
677
|
+
subscribe: [
|
|
678
|
+
'subscribe',
|
|
679
|
+
'follow',
|
|
680
|
+
'join',
|
|
681
|
+
'register',
|
|
682
|
+
'notification',
|
|
683
|
+
'bell'
|
|
684
|
+
],
|
|
331
685
|
cal: ['cal', 'calendar', 'date', 'schedule'],
|
|
332
686
|
notif: ['notif', 'notification', 'bell', 'alert'],
|
|
333
687
|
del: ['del', 'delete', 'trash', 'remove', 'bin', 'erase'],
|
|
@@ -349,8 +703,26 @@ const SYNONYMS = {
|
|
|
349
703
|
loc: ['loc', 'location', 'pin', 'map', 'place', 'address'],
|
|
350
704
|
pos: ['pos', 'position', 'location', 'pin', 'map', 'place'],
|
|
351
705
|
geo: ['geo', 'geography', 'location', 'map', 'pin', 'earth'],
|
|
352
|
-
happy: [
|
|
353
|
-
|
|
706
|
+
happy: [
|
|
707
|
+
'happy',
|
|
708
|
+
'smile',
|
|
709
|
+
'joy',
|
|
710
|
+
'face',
|
|
711
|
+
'emoji',
|
|
712
|
+
'laugh',
|
|
713
|
+
'cheerful',
|
|
714
|
+
'grin'
|
|
715
|
+
],
|
|
716
|
+
sad: [
|
|
717
|
+
'sad',
|
|
718
|
+
'frown',
|
|
719
|
+
'cry',
|
|
720
|
+
'upset',
|
|
721
|
+
'unhappy',
|
|
722
|
+
'face',
|
|
723
|
+
'emoji',
|
|
724
|
+
'depressed'
|
|
725
|
+
],
|
|
354
726
|
smile: ['smile', 'happy', 'joy', 'face', 'emoji', 'laugh', 'cheerful'],
|
|
355
727
|
angry: ['angry', 'mad', 'frustrated', 'face', 'emoji', 'annoyed'],
|
|
356
728
|
emoji: ['emoji', 'emoticon', 'smile', 'face', 'happy', 'sad', 'feeling'],
|
|
@@ -360,7 +732,16 @@ const SYNONYMS = {
|
|
|
360
732
|
'4': ['4', 'four', 'fourth'],
|
|
361
733
|
'5': ['5', 'five', 'fifth'],
|
|
362
734
|
zero: ['zero', '0', 'null', 'none', 'nothing'],
|
|
363
|
-
hand: [
|
|
735
|
+
hand: [
|
|
736
|
+
'hand',
|
|
737
|
+
'finger',
|
|
738
|
+
'point',
|
|
739
|
+
'gesture',
|
|
740
|
+
'touch',
|
|
741
|
+
'click',
|
|
742
|
+
'tap',
|
|
743
|
+
'swipe'
|
|
744
|
+
],
|
|
364
745
|
touch: ['touch', 'hand', 'finger', 'tap', 'gesture'],
|
|
365
746
|
click: ['click', 'tap', 'hand', 'finger', 'cursor', 'select'],
|
|
366
747
|
cursor: ['cursor', 'pointer', 'mouse', 'arrow', 'click', 'select'],
|
|
@@ -372,9 +753,32 @@ const SYNONYMS = {
|
|
|
372
753
|
bookmark: ['bookmark', 'favorite', 'save', 'bookmark', 'tag', 'ribbon'],
|
|
373
754
|
uuid: ['uuid', 'unique', 'id', 'identifier', 'hash'],
|
|
374
755
|
hash: ['hash', 'hashtag', 'number', 'pound', '#', 'tag'],
|
|
375
|
-
cpu: [
|
|
376
|
-
|
|
377
|
-
|
|
756
|
+
cpu: [
|
|
757
|
+
'cpu',
|
|
758
|
+
'processor',
|
|
759
|
+
'chip',
|
|
760
|
+
'microchip',
|
|
761
|
+
'computer',
|
|
762
|
+
'hardware',
|
|
763
|
+
'server'
|
|
764
|
+
],
|
|
765
|
+
monitor: [
|
|
766
|
+
'monitor',
|
|
767
|
+
'screen',
|
|
768
|
+
'display',
|
|
769
|
+
'desktop',
|
|
770
|
+
'computer',
|
|
771
|
+
'lcd',
|
|
772
|
+
'led'
|
|
773
|
+
],
|
|
774
|
+
laptop: [
|
|
775
|
+
'laptop',
|
|
776
|
+
'computer',
|
|
777
|
+
'notebook',
|
|
778
|
+
'macbook',
|
|
779
|
+
'portable',
|
|
780
|
+
'chromebook'
|
|
781
|
+
],
|
|
378
782
|
tablet: ['tablet', 'ipad', 'device', 'mobile', 'screen'],
|
|
379
783
|
keyboard: ['keyboard', 'type', 'key', 'typing', 'input', 'keys'],
|
|
380
784
|
mouse: ['mouse', 'cursor', 'click', 'pointer', 'computer', 'device'],
|
|
@@ -385,45 +789,225 @@ const SYNONYMS = {
|
|
|
385
789
|
hologram: ['hologram', '3d', 'projection', 'virtual', 'ar', 'vr'],
|
|
386
790
|
checkout: ['checkout', 'cart', 'payment', 'buy', 'purchase', 'order'],
|
|
387
791
|
order: ['order', 'checkout', 'cart', 'shipping', 'delivery', 'purchase'],
|
|
388
|
-
delivery: [
|
|
792
|
+
delivery: [
|
|
793
|
+
'delivery',
|
|
794
|
+
'shipping',
|
|
795
|
+
'truck',
|
|
796
|
+
'van',
|
|
797
|
+
'package',
|
|
798
|
+
'courier',
|
|
799
|
+
'order'
|
|
800
|
+
],
|
|
389
801
|
shipping: ['shipping', 'delivery', 'truck', 'package', 'order', 'transport'],
|
|
390
802
|
coupon: ['coupon', 'discount', 'voucher', 'code', 'promo', 'sale', 'offer'],
|
|
391
803
|
discount: ['discount', 'sale', 'offer', 'coupon', 'promo', 'deal', 'saving'],
|
|
392
804
|
sale: ['sale', 'discount', 'offer', 'deal', 'promo', 'price', 'tag'],
|
|
393
|
-
christmas: [
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
805
|
+
christmas: [
|
|
806
|
+
'christmas',
|
|
807
|
+
'xmas',
|
|
808
|
+
'santa',
|
|
809
|
+
'gift',
|
|
810
|
+
'tree',
|
|
811
|
+
'holiday',
|
|
812
|
+
'celebration',
|
|
813
|
+
'snow'
|
|
814
|
+
],
|
|
815
|
+
holiday: [
|
|
816
|
+
'holiday',
|
|
817
|
+
'vacation',
|
|
818
|
+
'travel',
|
|
819
|
+
'trip',
|
|
820
|
+
'vacation',
|
|
821
|
+
'celebration',
|
|
822
|
+
'festival'
|
|
823
|
+
],
|
|
824
|
+
birthday: [
|
|
825
|
+
'birthday',
|
|
826
|
+
'cake',
|
|
827
|
+
'candle',
|
|
828
|
+
'gift',
|
|
829
|
+
'present',
|
|
830
|
+
'party',
|
|
831
|
+
'celebrate'
|
|
832
|
+
],
|
|
833
|
+
party: [
|
|
834
|
+
'party',
|
|
835
|
+
'celebrate',
|
|
836
|
+
'confetti',
|
|
837
|
+
'balloon',
|
|
838
|
+
'music',
|
|
839
|
+
'dance',
|
|
840
|
+
'festival'
|
|
841
|
+
],
|
|
842
|
+
celebrate: [
|
|
843
|
+
'celebrate',
|
|
844
|
+
'party',
|
|
845
|
+
'award',
|
|
846
|
+
'trophy',
|
|
847
|
+
'confetti',
|
|
848
|
+
'star',
|
|
849
|
+
'sparkle'
|
|
850
|
+
],
|
|
398
851
|
wedding: ['wedding', 'marriage', 'ring', 'heart', 'couple', 'bride', 'groom'],
|
|
399
|
-
recycle: [
|
|
852
|
+
recycle: [
|
|
853
|
+
'recycle',
|
|
854
|
+
'recycling',
|
|
855
|
+
'green',
|
|
856
|
+
'eco',
|
|
857
|
+
'environment',
|
|
858
|
+
'sustainable',
|
|
859
|
+
'earth'
|
|
860
|
+
],
|
|
400
861
|
eco: ['eco', 'green', 'environment', 'nature', 'earth', 'leaf', 'recycle'],
|
|
401
|
-
tree: [
|
|
862
|
+
tree: [
|
|
863
|
+
'tree',
|
|
864
|
+
'nature',
|
|
865
|
+
'plant',
|
|
866
|
+
'forest',
|
|
867
|
+
'green',
|
|
868
|
+
'environment',
|
|
869
|
+
'leaf',
|
|
870
|
+
'wood'
|
|
871
|
+
],
|
|
402
872
|
flower: ['flower', 'nature', 'plant', 'garden', 'bloom', 'blossom', 'rose'],
|
|
403
873
|
plant: ['plant', 'tree', 'nature', 'leaf', 'green', 'garden', 'flower'],
|
|
404
874
|
garden: ['garden', 'plant', 'flower', 'nature', 'tree', 'grow'],
|
|
405
|
-
mountain: [
|
|
406
|
-
|
|
407
|
-
|
|
875
|
+
mountain: [
|
|
876
|
+
'mountain',
|
|
877
|
+
'hill',
|
|
878
|
+
'nature',
|
|
879
|
+
'landscape',
|
|
880
|
+
'peak',
|
|
881
|
+
'outdoor',
|
|
882
|
+
'adventure'
|
|
883
|
+
],
|
|
884
|
+
travel: [
|
|
885
|
+
'travel',
|
|
886
|
+
'trip',
|
|
887
|
+
'vacation',
|
|
888
|
+
'holiday',
|
|
889
|
+
'adventure',
|
|
890
|
+
'journey',
|
|
891
|
+
'explore'
|
|
892
|
+
],
|
|
893
|
+
airport: [
|
|
894
|
+
'airport',
|
|
895
|
+
'plane',
|
|
896
|
+
'flight',
|
|
897
|
+
'travel',
|
|
898
|
+
'departure',
|
|
899
|
+
'arrival',
|
|
900
|
+
'luggage'
|
|
901
|
+
],
|
|
408
902
|
luggage: ['luggage', 'baggage', 'suitcase', 'bag', 'travel', 'trip', 'pack'],
|
|
409
903
|
suitcase: ['suitcase', 'luggage', 'bag', 'travel', 'trip', 'baggage'],
|
|
410
|
-
tent: [
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
904
|
+
tent: [
|
|
905
|
+
'tent',
|
|
906
|
+
'camping',
|
|
907
|
+
'camp',
|
|
908
|
+
'outdoor',
|
|
909
|
+
'nature',
|
|
910
|
+
'adventure',
|
|
911
|
+
'sleeping'
|
|
912
|
+
],
|
|
913
|
+
camping: [
|
|
914
|
+
'camping',
|
|
915
|
+
'camp',
|
|
916
|
+
'tent',
|
|
917
|
+
'outdoor',
|
|
918
|
+
'nature',
|
|
919
|
+
'adventure',
|
|
920
|
+
'hiking'
|
|
921
|
+
],
|
|
922
|
+
passport: [
|
|
923
|
+
'passport',
|
|
924
|
+
'travel',
|
|
925
|
+
'visa',
|
|
926
|
+
'id',
|
|
927
|
+
'identification',
|
|
928
|
+
'document',
|
|
929
|
+
'border'
|
|
930
|
+
],
|
|
931
|
+
hotel: [
|
|
932
|
+
'hotel',
|
|
933
|
+
'lodging',
|
|
934
|
+
'stay',
|
|
935
|
+
'accommodation',
|
|
936
|
+
'travel',
|
|
937
|
+
'building',
|
|
938
|
+
'hostel'
|
|
939
|
+
],
|
|
940
|
+
bank: [
|
|
941
|
+
'bank',
|
|
942
|
+
'building',
|
|
943
|
+
'finance',
|
|
944
|
+
'money',
|
|
945
|
+
'banking',
|
|
946
|
+
'financial',
|
|
947
|
+
'institution'
|
|
948
|
+
],
|
|
949
|
+
finance: [
|
|
950
|
+
'finance',
|
|
951
|
+
'money',
|
|
952
|
+
'bank',
|
|
953
|
+
'financial',
|
|
954
|
+
'dollar',
|
|
955
|
+
'currency',
|
|
956
|
+
'investment'
|
|
957
|
+
],
|
|
958
|
+
invest: [
|
|
959
|
+
'invest',
|
|
960
|
+
'investment',
|
|
961
|
+
'stock',
|
|
962
|
+
'market',
|
|
963
|
+
'finance',
|
|
964
|
+
'money',
|
|
965
|
+
'growth',
|
|
966
|
+
'chart'
|
|
967
|
+
],
|
|
968
|
+
stock: [
|
|
969
|
+
'stock',
|
|
970
|
+
'market',
|
|
971
|
+
'trade',
|
|
972
|
+
'finance',
|
|
973
|
+
'money',
|
|
974
|
+
'investment',
|
|
975
|
+
'share'
|
|
976
|
+
],
|
|
418
977
|
tax: ['tax', 'finance', 'money', 'government', 'return', 'document', 'file'],
|
|
419
|
-
invoice: [
|
|
978
|
+
invoice: [
|
|
979
|
+
'invoice',
|
|
980
|
+
'bill',
|
|
981
|
+
'receipt',
|
|
982
|
+
'payment',
|
|
983
|
+
'document',
|
|
984
|
+
'finance',
|
|
985
|
+
'money'
|
|
986
|
+
],
|
|
420
987
|
bill: ['bill', 'invoice', 'receipt', 'payment', 'document', 'finance'],
|
|
421
988
|
receipt: ['receipt', 'bill', 'invoice', 'payment', 'purchase', 'document'],
|
|
422
989
|
credit: ['credit', 'card', 'payment', 'money', 'finance', 'debit', 'bank'],
|
|
423
990
|
'credit card': ['credit-card', 'credit', 'card', 'payment', 'money', 'debit'],
|
|
424
|
-
headphone: [
|
|
991
|
+
headphone: [
|
|
992
|
+
'headphone',
|
|
993
|
+
'headphones',
|
|
994
|
+
'earphone',
|
|
995
|
+
'earbuds',
|
|
996
|
+
'audio',
|
|
997
|
+
'listening',
|
|
998
|
+
'music',
|
|
999
|
+
'podcast'
|
|
1000
|
+
],
|
|
425
1001
|
earbuds: ['earbuds', 'headphone', 'earphone', 'audio', 'music', 'podcast'],
|
|
426
|
-
podcast: [
|
|
1002
|
+
podcast: [
|
|
1003
|
+
'podcast',
|
|
1004
|
+
'audio',
|
|
1005
|
+
'mic',
|
|
1006
|
+
'microphone',
|
|
1007
|
+
'listen',
|
|
1008
|
+
'radio',
|
|
1009
|
+
'episode'
|
|
1010
|
+
],
|
|
427
1011
|
recorder: ['recorder', 'record', 'voice', 'audio', 'mic', 'tape'],
|
|
428
1012
|
football: ['football', 'soccer', 'sport', 'ball', 'game', 'goal', 'field'],
|
|
429
1013
|
basketball: ['basketball', 'ball', 'sport', 'game', 'hoop', 'court', 'nba'],
|
|
@@ -433,23 +1017,134 @@ const SYNONYMS = {
|
|
|
433
1017
|
golf: ['golf', 'sport', 'club', 'ball', 'course', 'putt', 'drive'],
|
|
434
1018
|
swimming: ['swimming', 'swim', 'pool', 'water', 'sport', 'ocean', 'beach'],
|
|
435
1019
|
hiking: ['hiking', 'hike', 'trail', 'mountain', 'nature', 'outdoor', 'walk'],
|
|
436
|
-
yoga: [
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
1020
|
+
yoga: [
|
|
1021
|
+
'yoga',
|
|
1022
|
+
'meditation',
|
|
1023
|
+
'exercise',
|
|
1024
|
+
'fitness',
|
|
1025
|
+
'stretch',
|
|
1026
|
+
'flexibility',
|
|
1027
|
+
'pose'
|
|
1028
|
+
],
|
|
1029
|
+
exercise: [
|
|
1030
|
+
'exercise',
|
|
1031
|
+
'workout',
|
|
1032
|
+
'fitness',
|
|
1033
|
+
'gym',
|
|
1034
|
+
'sport',
|
|
1035
|
+
'train',
|
|
1036
|
+
'training'
|
|
1037
|
+
],
|
|
1038
|
+
briefcase: [
|
|
1039
|
+
'briefcase',
|
|
1040
|
+
'bag',
|
|
1041
|
+
'work',
|
|
1042
|
+
'job',
|
|
1043
|
+
'career',
|
|
1044
|
+
'business',
|
|
1045
|
+
'office',
|
|
1046
|
+
'professional'
|
|
1047
|
+
],
|
|
1048
|
+
business: [
|
|
1049
|
+
'business',
|
|
1050
|
+
'work',
|
|
1051
|
+
'office',
|
|
1052
|
+
'briefcase',
|
|
1053
|
+
'career',
|
|
1054
|
+
'corporate',
|
|
1055
|
+
'professional'
|
|
1056
|
+
],
|
|
1057
|
+
office: [
|
|
1058
|
+
'office',
|
|
1059
|
+
'work',
|
|
1060
|
+
'building',
|
|
1061
|
+
'desk',
|
|
1062
|
+
'corporate',
|
|
1063
|
+
'chair',
|
|
1064
|
+
'worker'
|
|
1065
|
+
],
|
|
1066
|
+
meeting: [
|
|
1067
|
+
'meeting',
|
|
1068
|
+
'conference',
|
|
1069
|
+
'presentation',
|
|
1070
|
+
'team',
|
|
1071
|
+
'discussion',
|
|
1072
|
+
'collab',
|
|
1073
|
+
'board'
|
|
1074
|
+
],
|
|
1075
|
+
interview: [
|
|
1076
|
+
'interview',
|
|
1077
|
+
'meeting',
|
|
1078
|
+
'job',
|
|
1079
|
+
'career',
|
|
1080
|
+
'talk',
|
|
1081
|
+
'conversation',
|
|
1082
|
+
'chat'
|
|
1083
|
+
],
|
|
1084
|
+
resume: [
|
|
1085
|
+
'resume',
|
|
1086
|
+
'cv',
|
|
1087
|
+
'job',
|
|
1088
|
+
'document',
|
|
1089
|
+
'application',
|
|
1090
|
+
'career',
|
|
1091
|
+
'profile'
|
|
1092
|
+
],
|
|
1093
|
+
worker: [
|
|
1094
|
+
'worker',
|
|
1095
|
+
'employee',
|
|
1096
|
+
'staff',
|
|
1097
|
+
'team',
|
|
1098
|
+
'professional',
|
|
1099
|
+
'job',
|
|
1100
|
+
'career'
|
|
1101
|
+
],
|
|
445
1102
|
boss: ['boss', 'manager', 'leader', 'CEO', 'chief', 'director', 'executive'],
|
|
446
|
-
'work from home': [
|
|
1103
|
+
'work from home': [
|
|
1104
|
+
'work-from-home',
|
|
1105
|
+
'wfh',
|
|
1106
|
+
'remote',
|
|
1107
|
+
'home',
|
|
1108
|
+
'laptop',
|
|
1109
|
+
'work'
|
|
1110
|
+
],
|
|
447
1111
|
hammer: ['hammer', 'tool', 'build', 'construction', 'repair', 'fix'],
|
|
448
|
-
wrench: [
|
|
449
|
-
|
|
1112
|
+
wrench: [
|
|
1113
|
+
'wrench',
|
|
1114
|
+
'tool',
|
|
1115
|
+
'spanner',
|
|
1116
|
+
'fix',
|
|
1117
|
+
'repair',
|
|
1118
|
+
'mechanical',
|
|
1119
|
+
'settings',
|
|
1120
|
+
'maintenance'
|
|
1121
|
+
],
|
|
1122
|
+
screwdriver: [
|
|
1123
|
+
'screwdriver',
|
|
1124
|
+
'tool',
|
|
1125
|
+
'fix',
|
|
1126
|
+
'repair',
|
|
1127
|
+
'construction',
|
|
1128
|
+
'build'
|
|
1129
|
+
],
|
|
450
1130
|
saw: ['saw', 'tool', 'cut', 'construction', 'wood', 'carpenter'],
|
|
451
|
-
construction: [
|
|
452
|
-
|
|
1131
|
+
construction: [
|
|
1132
|
+
'construction',
|
|
1133
|
+
'build',
|
|
1134
|
+
'building',
|
|
1135
|
+
'tool',
|
|
1136
|
+
'hard-hat',
|
|
1137
|
+
'helmet',
|
|
1138
|
+
'industry'
|
|
1139
|
+
],
|
|
1140
|
+
helmet: [
|
|
1141
|
+
'helmet',
|
|
1142
|
+
'safety',
|
|
1143
|
+
'protection',
|
|
1144
|
+
'hard-hat',
|
|
1145
|
+
'construction',
|
|
1146
|
+
'head'
|
|
1147
|
+
],
|
|
453
1148
|
input: ['input', 'text', 'field', 'form', 'type', 'typing', 'edit', 'entry'],
|
|
454
1149
|
text: ['text', 'type', 'input', 'write', 'edit', 'content', 'letter', 'word'],
|
|
455
1150
|
form: ['form', 'input', 'field', 'questionnaire', 'application', 'survey'],
|
|
@@ -481,13 +1176,46 @@ const SYNONYMS = {
|
|
|
481
1176
|
'no wifi': ['wifi-off', 'no-wifi', 'wifi-slash', 'offline'],
|
|
482
1177
|
'no internet': ['wifi-off', 'offline', 'disconnected'],
|
|
483
1178
|
'no signal': ['wifi-off', 'signal-slash', 'offline'],
|
|
484
|
-
'no entry': [
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
1179
|
+
'no entry': [
|
|
1180
|
+
'no-entry',
|
|
1181
|
+
'forbidden',
|
|
1182
|
+
'blocked',
|
|
1183
|
+
'stop',
|
|
1184
|
+
'prohibited',
|
|
1185
|
+
'restricted'
|
|
1186
|
+
],
|
|
1187
|
+
'do not disturb': [
|
|
1188
|
+
'do-not-disturb',
|
|
1189
|
+
'dnd',
|
|
1190
|
+
'moon',
|
|
1191
|
+
'sleep',
|
|
1192
|
+
'silent',
|
|
1193
|
+
'quiet'
|
|
1194
|
+
],
|
|
1195
|
+
'air conditioner': [
|
|
1196
|
+
'air-conditioner',
|
|
1197
|
+
'ac',
|
|
1198
|
+
'climate',
|
|
1199
|
+
'cooling',
|
|
1200
|
+
'hvac',
|
|
1201
|
+
'cold'
|
|
1202
|
+
],
|
|
1203
|
+
'air conditioning': [
|
|
1204
|
+
'air-conditioning',
|
|
1205
|
+
'ac',
|
|
1206
|
+
'ac2',
|
|
1207
|
+
'climate',
|
|
1208
|
+
'cooling',
|
|
1209
|
+
'cold'
|
|
1210
|
+
],
|
|
488
1211
|
'user circle': ['user-circle', 'user-round', 'profile-circle', 'avatar'],
|
|
489
1212
|
'user square': ['user-square', 'profile-square'],
|
|
490
|
-
'check circle': [
|
|
1213
|
+
'check circle': [
|
|
1214
|
+
'check-circle',
|
|
1215
|
+
'success-circle',
|
|
1216
|
+
'verified',
|
|
1217
|
+
'confirm-circle'
|
|
1218
|
+
],
|
|
491
1219
|
'check square': ['check-square', 'checkbox', 'success-square'],
|
|
492
1220
|
'alert circle': ['alert-circle', 'warning-circle', 'danger-circle'],
|
|
493
1221
|
'alert triangle': ['alert-triangle', 'warning', 'danger-triangle'],
|
|
@@ -509,7 +1237,14 @@ const SYNONYMS = {
|
|
|
509
1237
|
'gift card': ['gift-card', 'gift', 'present-card'],
|
|
510
1238
|
'menu bar': ['menu', 'bars', 'hamburger', 'nav'],
|
|
511
1239
|
'menu dots': ['menu-dots', 'more', 'dots', 'ellipsis', 'kebab'],
|
|
512
|
-
'three dots': [
|
|
1240
|
+
'three dots': [
|
|
1241
|
+
'more',
|
|
1242
|
+
'dots',
|
|
1243
|
+
'ellipsis',
|
|
1244
|
+
'menu-dots',
|
|
1245
|
+
'kebab',
|
|
1246
|
+
'three-dots'
|
|
1247
|
+
],
|
|
513
1248
|
'more options': ['more', 'more-options', 'ellipsis', 'dots'],
|
|
514
1249
|
'loading spinner': ['loading', 'spinner', 'loader', 'circle'],
|
|
515
1250
|
'arrow up circle': ['arrow-up-circle', 'chevron-up-circle'],
|
|
@@ -527,7 +1262,12 @@ const SYNONYMS = {
|
|
|
527
1262
|
'circle pause': ['pause-circle', 'stop-circle'],
|
|
528
1263
|
'circle stop': ['stop-circle', 'stop'],
|
|
529
1264
|
'notification bell': ['bell', 'notification', 'alert'],
|
|
530
|
-
'notifications off': [
|
|
1265
|
+
'notifications off': [
|
|
1266
|
+
'bell-off',
|
|
1267
|
+
'notification-off',
|
|
1268
|
+
'notifications-off',
|
|
1269
|
+
'dnd'
|
|
1270
|
+
],
|
|
531
1271
|
'volume up': ['volume-up', 'volume-high', 'speaker'],
|
|
532
1272
|
'volume down': ['volume-down', 'volume-low', 'speaker-low'],
|
|
533
1273
|
'volume off': ['volume-off', 'mute', 'no-sound', 'silent'],
|
|
@@ -615,7 +1355,13 @@ const SYNONYMS = {
|
|
|
615
1355
|
'music note': ['music', 'note', 'music-note', 'song', 'audio'],
|
|
616
1356
|
'headphone listen': ['headphone', 'headphones', 'listen', 'audio', 'music'],
|
|
617
1357
|
'microphone speak': ['microphone', 'mic', 'speak', 'voice', 'talk'],
|
|
618
|
-
'presentation slide': [
|
|
1358
|
+
'presentation slide': [
|
|
1359
|
+
'presentation',
|
|
1360
|
+
'slide',
|
|
1361
|
+
'screen',
|
|
1362
|
+
'projector',
|
|
1363
|
+
'monitor'
|
|
1364
|
+
],
|
|
619
1365
|
'laptop computer': ['laptop', 'computer', 'notebook', 'macbook'],
|
|
620
1366
|
'desktop computer': ['desktop', 'computer', 'monitor', 'pc', 'tower'],
|
|
621
1367
|
'mobile phone': ['mobile', 'phone', 'smartphone', 'cellphone'],
|
|
@@ -761,7 +1507,15 @@ const SYNONYMS = {
|
|
|
761
1507
|
visible: ['visible', 'shown', 'displayed', 'eye', 'view'],
|
|
762
1508
|
invisible: ['invisible', 'hidden', 'eye-off', 'concealed', 'not-visible'],
|
|
763
1509
|
// ─── Archive / storage ────────────────────────────────────────────────
|
|
764
|
-
archive: [
|
|
1510
|
+
archive: [
|
|
1511
|
+
'archive',
|
|
1512
|
+
'box',
|
|
1513
|
+
'storage',
|
|
1514
|
+
'pack',
|
|
1515
|
+
'bundle',
|
|
1516
|
+
'package',
|
|
1517
|
+
'compress'
|
|
1518
|
+
],
|
|
765
1519
|
unarchive: ['unarchive', 'extract', 'unpack', 'uncompress', 'open'],
|
|
766
1520
|
zip: ['zip', 'compressed', 'archive', 'compress'],
|
|
767
1521
|
unzip: ['unzip', 'extract', 'decompress', 'expand'],
|
|
@@ -813,14 +1567,27 @@ const SYNONYMS = {
|
|
|
813
1567
|
// ─── Technology extended ──────────────────────────────────────────────
|
|
814
1568
|
plug: ['plug', 'power', 'connect', 'charger', 'adapter', 'cable'],
|
|
815
1569
|
usb: ['usb', 'cable', 'connect', 'port', 'drive', 'flash'],
|
|
816
|
-
'usb drive': [
|
|
1570
|
+
'usb drive': [
|
|
1571
|
+
'usb-drive',
|
|
1572
|
+
'usb',
|
|
1573
|
+
'flash-drive',
|
|
1574
|
+
'thumb-drive',
|
|
1575
|
+
'storage',
|
|
1576
|
+
'pendrive'
|
|
1577
|
+
],
|
|
817
1578
|
bug: ['bug', 'bug-report', 'issue', 'error', 'glitch', 'problem', 'debug'],
|
|
818
1579
|
ssd: ['ssd', 'drive', 'storage', 'disk', 'solid-state', 'hard-drive'],
|
|
819
1580
|
'hard drive': ['hard-drive', 'hdd', 'ssd', 'storage', 'disk', 'drive'],
|
|
820
1581
|
chip: ['chip', 'microchip', 'processor', 'cpu', 'silicon', 'semiconductor'],
|
|
821
1582
|
gpu: ['gpu', 'graphics', 'video-card', 'graphics-card'],
|
|
822
1583
|
ram: ['ram', 'memory', 'storage', 'dimm'],
|
|
823
|
-
motherboard: [
|
|
1584
|
+
motherboard: [
|
|
1585
|
+
'motherboard',
|
|
1586
|
+
'mother-board',
|
|
1587
|
+
'mainboard',
|
|
1588
|
+
'system-board',
|
|
1589
|
+
'pcb'
|
|
1590
|
+
],
|
|
824
1591
|
sensor: ['sensor', 'detector', 'probe', 'scanner', 'reader'],
|
|
825
1592
|
firmware: ['firmware', 'software', 'os', 'system', 'embedded'],
|
|
826
1593
|
pixel: ['pixel', 'dot', 'point', 'resolution'],
|
|
@@ -838,7 +1605,15 @@ const SYNONYMS = {
|
|
|
838
1605
|
vpn: ['vpn', 'network', 'secure', 'tunnel', 'private'],
|
|
839
1606
|
'cloud computing': ['cloud', 'computing', 'iaas', 'paas', 'saas', 'hosting'],
|
|
840
1607
|
// ─── Media / AV ───────────────────────────────────────────────────────
|
|
841
|
-
clapperboard: [
|
|
1608
|
+
clapperboard: [
|
|
1609
|
+
'clapperboard',
|
|
1610
|
+
'clapboard',
|
|
1611
|
+
'film',
|
|
1612
|
+
'movie',
|
|
1613
|
+
'director',
|
|
1614
|
+
'action',
|
|
1615
|
+
'cinema'
|
|
1616
|
+
],
|
|
842
1617
|
filmstrip: ['filmstrip', 'film', 'movie', 'reel', 'celluloid'],
|
|
843
1618
|
screen: ['screen', 'display', 'monitor', 'view', 'show'],
|
|
844
1619
|
widescreen: ['widescreen', 'wide', 'cinema', 'aspect-ratio', '16-9'],
|
|
@@ -853,9 +1628,23 @@ const SYNONYMS = {
|
|
|
853
1628
|
unread: ['unread', 'new', 'unopened', 'fresh', 'badge'],
|
|
854
1629
|
read: ['read', 'opened', 'seen', 'viewed', 'checked'],
|
|
855
1630
|
// ─── Finance extended ─────────────────────────────────────────────────
|
|
856
|
-
bitcoin: [
|
|
1631
|
+
bitcoin: [
|
|
1632
|
+
'bitcoin',
|
|
1633
|
+
'btc',
|
|
1634
|
+
'crypto',
|
|
1635
|
+
'cryptocurrency',
|
|
1636
|
+
'blockchain',
|
|
1637
|
+
'digital-currency'
|
|
1638
|
+
],
|
|
857
1639
|
ethereum: ['ethereum', 'eth', 'crypto', 'cryptocurrency'],
|
|
858
|
-
blockchain: [
|
|
1640
|
+
blockchain: [
|
|
1641
|
+
'blockchain',
|
|
1642
|
+
'chain',
|
|
1643
|
+
'block',
|
|
1644
|
+
'crypto',
|
|
1645
|
+
'distributed',
|
|
1646
|
+
'ledger'
|
|
1647
|
+
],
|
|
859
1648
|
nft: ['nft', 'token', 'digital-asset', 'crypto-art'],
|
|
860
1649
|
transfer: ['transfer', 'send', 'move', 'wire', 'transaction', 'remit'],
|
|
861
1650
|
withdraw: ['withdraw', 'take-out', 'remove', 'pull', 'cash-out'],
|
|
@@ -869,18 +1658,61 @@ const SYNONYMS = {
|
|
|
869
1658
|
exchange: ['exchange', 'swap', 'trade', 'switch', 'replace', 'barter'],
|
|
870
1659
|
warranty: ['warranty', 'guarantee', 'assurance', 'coverage', 'protection'],
|
|
871
1660
|
review: ['review', 'rating', 'stars', 'feedback', 'testimonial', 'comment'],
|
|
872
|
-
wishlist: [
|
|
1661
|
+
wishlist: [
|
|
1662
|
+
'wishlist',
|
|
1663
|
+
'favorites',
|
|
1664
|
+
'saved',
|
|
1665
|
+
'bookmarks',
|
|
1666
|
+
'list',
|
|
1667
|
+
'saved-items'
|
|
1668
|
+
],
|
|
873
1669
|
'out of stock': ['out-of-stock', 'oos', 'sold-out', 'unavailable', 'empty'],
|
|
874
1670
|
'in stock': ['in-stock', 'available', 'inventory', 'stock'],
|
|
875
1671
|
inventory: ['inventory', 'stock', 'supply', 'warehouse', 'storage'],
|
|
876
1672
|
warehouse: ['warehouse', 'storage', 'inventory', 'stockroom', 'depot'],
|
|
877
1673
|
// ─── Health extended ──────────────────────────────────────────────────
|
|
878
|
-
ambulance: [
|
|
879
|
-
|
|
1674
|
+
ambulance: [
|
|
1675
|
+
'ambulance',
|
|
1676
|
+
'emergency',
|
|
1677
|
+
'medical',
|
|
1678
|
+
'rescue',
|
|
1679
|
+
'vehicle',
|
|
1680
|
+
'paramedic'
|
|
1681
|
+
],
|
|
1682
|
+
pharmacy: [
|
|
1683
|
+
'pharmacy',
|
|
1684
|
+
'drugstore',
|
|
1685
|
+
'medicine',
|
|
1686
|
+
'drugs',
|
|
1687
|
+
'prescription',
|
|
1688
|
+
'chemist'
|
|
1689
|
+
],
|
|
880
1690
|
prescription: ['prescription', 'rx', 'medicine', 'drug', 'doctor', 'medical'],
|
|
881
|
-
stethoscope: [
|
|
882
|
-
|
|
883
|
-
|
|
1691
|
+
stethoscope: [
|
|
1692
|
+
'stethoscope',
|
|
1693
|
+
'doctor',
|
|
1694
|
+
'medical',
|
|
1695
|
+
'health',
|
|
1696
|
+
'checkup',
|
|
1697
|
+
'heart'
|
|
1698
|
+
],
|
|
1699
|
+
vaccination: [
|
|
1700
|
+
'vaccination',
|
|
1701
|
+
'vaccine',
|
|
1702
|
+
'shot',
|
|
1703
|
+
'immunization',
|
|
1704
|
+
'injection',
|
|
1705
|
+
'medical'
|
|
1706
|
+
],
|
|
1707
|
+
virus: [
|
|
1708
|
+
'virus',
|
|
1709
|
+
'germ',
|
|
1710
|
+
'infection',
|
|
1711
|
+
'disease',
|
|
1712
|
+
'illness',
|
|
1713
|
+
'covid',
|
|
1714
|
+
'bacteria'
|
|
1715
|
+
],
|
|
884
1716
|
bacteria: ['bacteria', 'germ', 'microbe', 'organism', 'virus', 'infection'],
|
|
885
1717
|
dna: ['dna', 'genetics', 'gene', 'chromosome', 'biology', 'helix'],
|
|
886
1718
|
brain: ['brain', 'mind', 'intelligence', 'thinking', 'head', 'neurology'],
|
|
@@ -907,7 +1739,14 @@ const SYNONYMS = {
|
|
|
907
1739
|
assignment: ['assignment', 'homework', 'task', 'project', 'schoolwork'],
|
|
908
1740
|
exam: ['exam', 'test', 'quiz', 'assessment', 'final', 'midterm'],
|
|
909
1741
|
grade: ['grade', 'score', 'mark', 'result', 'gpa', 'rating'],
|
|
910
|
-
scholarship: [
|
|
1742
|
+
scholarship: [
|
|
1743
|
+
'scholarship',
|
|
1744
|
+
'award',
|
|
1745
|
+
'grant',
|
|
1746
|
+
'funding',
|
|
1747
|
+
'education',
|
|
1748
|
+
'merit'
|
|
1749
|
+
],
|
|
911
1750
|
sharpener: ['sharpener', 'sharpen', 'pencil', 'stationery', 'tool'],
|
|
912
1751
|
backpack: ['backpack', 'bag', 'school-bag', 'rucksack', 'bookbag'],
|
|
913
1752
|
// ─── Sports extended ─────────────────────────────────────────────────
|
|
@@ -923,7 +1762,15 @@ const SYNONYMS = {
|
|
|
923
1762
|
skiing: ['skiing', 'ski', 'snow', 'winter', 'slope', 'sport', 'mountain'],
|
|
924
1763
|
snowboarding: ['snowboarding', 'snowboard', 'snow', 'winter', 'sport'],
|
|
925
1764
|
surfing: ['surfing', 'surf', 'wave', 'ocean', 'beach', 'sport', 'board'],
|
|
926
|
-
climbing: [
|
|
1765
|
+
climbing: [
|
|
1766
|
+
'climbing',
|
|
1767
|
+
'climb',
|
|
1768
|
+
'rock',
|
|
1769
|
+
'wall',
|
|
1770
|
+
'mountaineer',
|
|
1771
|
+
'sport',
|
|
1772
|
+
'rope'
|
|
1773
|
+
],
|
|
927
1774
|
// ─── Misc extended ────────────────────────────────────────────────────
|
|
928
1775
|
broken: ['broken', 'damage', 'shattered', 'fracture', 'crack', 'error'],
|
|
929
1776
|
ticket: ['ticket', 'admission', 'entry', 'pass', 'voucher', 'coupon'],
|
|
@@ -937,7 +1784,14 @@ const SYNONYMS = {
|
|
|
937
1784
|
percent: ['percent', 'percentage', '%', 'proportion', 'ratio'],
|
|
938
1785
|
memo: ['memo', 'note', 'reminder', 'message', 'document', 'brief'],
|
|
939
1786
|
qrcode: ['qrcode', 'qr', 'scan', 'code', 'barcode'],
|
|
940
|
-
hierarchy: [
|
|
1787
|
+
hierarchy: [
|
|
1788
|
+
'hierarchy',
|
|
1789
|
+
'tree',
|
|
1790
|
+
'structure',
|
|
1791
|
+
'org-chart',
|
|
1792
|
+
'levels',
|
|
1793
|
+
'nested'
|
|
1794
|
+
],
|
|
941
1795
|
diagram: ['diagram', 'chart', 'graph', 'schema', 'flowchart', 'visual'],
|
|
942
1796
|
skeleton: ['skeleton', 'bone', 'structure', 'framework', 'body'],
|
|
943
1797
|
bone: ['bone', 'skeleton', 'body', 'anatomy'],
|
|
@@ -949,7 +1803,13 @@ const SYNONYMS = {
|
|
|
949
1803
|
// ─── More two-word phrases ────────────────────────────────────────────
|
|
950
1804
|
'new tab': ['new-tab', 'tab-add', 'plus', 'add', 'browser'],
|
|
951
1805
|
'new window': ['new-window', 'window-add', 'popup', 'pop-out'],
|
|
952
|
-
'split screen': [
|
|
1806
|
+
'split screen': [
|
|
1807
|
+
'split-screen',
|
|
1808
|
+
'split',
|
|
1809
|
+
'side-by-side',
|
|
1810
|
+
'dual',
|
|
1811
|
+
'multi-window'
|
|
1812
|
+
],
|
|
953
1813
|
'hide password': ['eye-off', 'hide', 'invisible', 'hidden', 'private'],
|
|
954
1814
|
'show password': ['eye', 'show', 'visible', 'reveal', 'view'],
|
|
955
1815
|
'go to top': ['arrow-up', 'up', 'top', 'back-to-top', 'scroll-up'],
|
|
@@ -971,7 +1831,13 @@ const SYNONYMS = {
|
|
|
971
1831
|
'photos app': ['photos', 'gallery', 'album', 'images', 'pictures'],
|
|
972
1832
|
'settings app': ['settings', 'gear', 'preferences', 'config', 'options'],
|
|
973
1833
|
'maps app': ['maps', 'map', 'navigation', 'location', 'directions'],
|
|
974
|
-
'contacts app': [
|
|
1834
|
+
'contacts app': [
|
|
1835
|
+
'contacts',
|
|
1836
|
+
'contact',
|
|
1837
|
+
'people',
|
|
1838
|
+
'address-book',
|
|
1839
|
+
'phonebook'
|
|
1840
|
+
],
|
|
975
1841
|
'health app': ['health', 'fitness', 'wellness', 'medical', 'activity'],
|
|
976
1842
|
'wallet app': ['wallet', 'money', 'payment', 'card', 'finance'],
|
|
977
1843
|
// ─── Common misspellings & variants ───────────────────────────────────
|
|
@@ -1119,7 +1985,7 @@ const SYNONYMS = {
|
|
|
1119
1985
|
warrenty: ['warranty', 'guarantee', 'protection', 'assurance'],
|
|
1120
1986
|
weght: ['weight', 'heavy', 'mass', 'scale'],
|
|
1121
1987
|
widdth: ['width', 'wide', 'breadth', 'span'],
|
|
1122
|
-
writng: ['writing', 'write', 'type', 'author', 'content']
|
|
1988
|
+
writng: ['writing', 'write', 'type', 'author', 'content']
|
|
1123
1989
|
};
|
|
1124
1990
|
function normalize(text) {
|
|
1125
1991
|
return text.toLowerCase().trim().replace(/\s+/g, ' ');
|
|
@@ -1127,7 +1993,7 @@ function normalize(text) {
|
|
|
1127
1993
|
function tokenize(text) {
|
|
1128
1994
|
return normalize(text).split(' ').filter(Boolean);
|
|
1129
1995
|
}
|
|
1130
|
-
|
|
1996
|
+
function isSentenceQuery(query) {
|
|
1131
1997
|
const trimmed = query.trim();
|
|
1132
1998
|
if (!trimmed)
|
|
1133
1999
|
return true;
|
|
@@ -1171,7 +2037,7 @@ function scoreIcon(icon, query, tokens, weight) {
|
|
|
1171
2037
|
const name = icon.name;
|
|
1172
2038
|
const nameNorm = name.replace(/-/g, ' ');
|
|
1173
2039
|
const catNorm = icon.category.replace(/-/g, ' ').toLowerCase();
|
|
1174
|
-
const tagsNorm = icon.tags.map(
|
|
2040
|
+
const tagsNorm = icon.tags.map(t => normalize(t));
|
|
1175
2041
|
let score = 0;
|
|
1176
2042
|
// Synonym boost
|
|
1177
2043
|
score += synonymBoost(query, name);
|
|
@@ -1184,16 +2050,16 @@ function scoreIcon(icon, query, tokens, weight) {
|
|
|
1184
2050
|
score += 5000;
|
|
1185
2051
|
}
|
|
1186
2052
|
// All tokens appear in name
|
|
1187
|
-
if (tokens.every(
|
|
2053
|
+
if (tokens.every(t => name.includes(t) || nameNorm.includes(t))) {
|
|
1188
2054
|
score += 2000;
|
|
1189
2055
|
}
|
|
1190
2056
|
// Full tag exact match
|
|
1191
|
-
if (tagsNorm.some(
|
|
2057
|
+
if (tagsNorm.some(t => t === q)) {
|
|
1192
2058
|
score += 1500;
|
|
1193
2059
|
}
|
|
1194
2060
|
for (const token of tokens) {
|
|
1195
2061
|
// Exact tag match
|
|
1196
|
-
if (tagsNorm.some(
|
|
2062
|
+
if (tagsNorm.some(t => t === token))
|
|
1197
2063
|
score += 800;
|
|
1198
2064
|
// Name includes token
|
|
1199
2065
|
if (name.includes(token))
|
|
@@ -1202,13 +2068,13 @@ function scoreIcon(icon, query, tokens, weight) {
|
|
|
1202
2068
|
if (name.startsWith(token))
|
|
1203
2069
|
score += 400;
|
|
1204
2070
|
// Tag includes token
|
|
1205
|
-
if (tagsNorm.some(
|
|
2071
|
+
if (tagsNorm.some(t => t.includes(token)))
|
|
1206
2072
|
score += 300;
|
|
1207
2073
|
// Category match
|
|
1208
2074
|
if (catNorm.includes(token))
|
|
1209
2075
|
score += 150;
|
|
1210
2076
|
// Fuzzy fallback — only if no direct match
|
|
1211
|
-
const directMatch = name.includes(token) || tagsNorm.some(
|
|
2077
|
+
const directMatch = name.includes(token) || tagsNorm.some(t => t.includes(token));
|
|
1212
2078
|
if (!directMatch) {
|
|
1213
2079
|
const fuzz = fuzzyScore(name, token);
|
|
1214
2080
|
if (fuzz > 70)
|
|
@@ -1229,13 +2095,15 @@ function scoreIcon(icon, query, tokens, weight) {
|
|
|
1229
2095
|
export function searchIcons(index, query, options = {}) {
|
|
1230
2096
|
if (isSentenceQuery(query)) {
|
|
1231
2097
|
return {
|
|
1232
|
-
error: 'Query looks like a full sentence. Use concise keywords instead, such as "cart", "user", or "settings".'
|
|
2098
|
+
error: 'Query looks like a full sentence. Use concise keywords instead, such as "cart", "user", or "settings".'
|
|
1233
2099
|
};
|
|
1234
2100
|
}
|
|
1235
2101
|
// Default limit raised from 5 → 8 for better agent context
|
|
1236
2102
|
const limit = options.limit ?? 8;
|
|
1237
2103
|
const tokens = tokenize(query);
|
|
1238
|
-
const weights = options.weight
|
|
2104
|
+
const weights = options.weight
|
|
2105
|
+
? [options.weight]
|
|
2106
|
+
: ['outline', 'filled', 'duotone-outline', 'duotone-filled'];
|
|
1239
2107
|
const results = [];
|
|
1240
2108
|
for (const icon of index.icons) {
|
|
1241
2109
|
for (const weight of weights) {
|
|
@@ -1248,7 +2116,7 @@ export function searchIcons(index, query, options = {}) {
|
|
|
1248
2116
|
weight,
|
|
1249
2117
|
category: icon.category,
|
|
1250
2118
|
tags: icon.tags,
|
|
1251
|
-
score
|
|
2119
|
+
score
|
|
1252
2120
|
});
|
|
1253
2121
|
}
|
|
1254
2122
|
}
|
|
@@ -1267,16 +2135,30 @@ export function searchIcons(index, query, options = {}) {
|
|
|
1267
2135
|
}
|
|
1268
2136
|
if (deduped.length === 0) {
|
|
1269
2137
|
return {
|
|
1270
|
-
error: `No icons found for "${query}". Try a shorter or different keyword
|
|
2138
|
+
error: `No icons found for "${query}". Try a shorter or different keyword.`
|
|
1271
2139
|
};
|
|
1272
2140
|
}
|
|
1273
2141
|
return {
|
|
1274
2142
|
results: deduped,
|
|
1275
|
-
instruction: 'Pick exactly one result from the list above. Prefer the highest score. Then call view_icon to confirm the SVG, or apply_icon to generate ready-to-use code. Do not ask the user to choose.'
|
|
2143
|
+
instruction: 'Pick exactly one result from the list above. Prefer the highest score. Then call view_icon to confirm the SVG, or apply_icon to generate ready-to-use code. Do not ask the user to choose.'
|
|
1276
2144
|
};
|
|
1277
2145
|
}
|
|
1278
|
-
export function
|
|
1279
|
-
|
|
2146
|
+
export function resolveIcon(index, name, suggestNextStep) {
|
|
2147
|
+
const icon = index.icons.find(entry => entry.name === name);
|
|
2148
|
+
if (icon)
|
|
2149
|
+
return { icon };
|
|
2150
|
+
const kebab = name.toLowerCase().replace(/\s+/g, '-');
|
|
2151
|
+
const pascal = kebab.replace(/-/g, '');
|
|
2152
|
+
const suggestion = index.icons.find(entry => entry.name.toLowerCase() === kebab ||
|
|
2153
|
+
entry.pascal.toLowerCase() === pascal)?.name;
|
|
2154
|
+
const missing = `Icon "${name}" not found.`;
|
|
2155
|
+
if (!suggestion) {
|
|
2156
|
+
return { error: `${missing} Use search_icons to find the correct name.` };
|
|
2157
|
+
}
|
|
2158
|
+
return {
|
|
2159
|
+
error: `${missing} Did you mean "${suggestion}"?${suggestNextStep?.(suggestion) ?? ''}`,
|
|
2160
|
+
suggestion
|
|
2161
|
+
};
|
|
1280
2162
|
}
|
|
1281
2163
|
export function listCategories(index) {
|
|
1282
2164
|
return index.categories;
|