summaryrefslogtreecommitdiffstats
path: root/tdecore/kentities.c
blob: 8610b49e79b92ab7f108ed56e962a6f701f6974a (plain)
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
/* ANSI-C code produced by gperf version 3.0.1 */
/* Command-line: gperf -a -L ANSI-C -E -C -c -o -t -k '*' -Nkde_findEntity -D -Hhash_Entity -Wwordlist_Entity -s 2 kentities.gperf  */

#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
      && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
      && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
      && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
      && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
      && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
      && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
      && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
      && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
      && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
      && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
      && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
      && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
      && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
      && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
      && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
      && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
      && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
      && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
      && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
      && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
      && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
      && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646.  */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <[email protected]>."
#endif

#line 1 "kentities.gperf"

/*   This file is part of the KDE libraries
  
     Copyright (C) 1999 Lars Knoll ([email protected])
  
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
     License as published by the Free Software Foundation; either
     version 2 of the License, or (at your option) any later version.
  
     This library is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Library General Public License for more details.
  
     You should have received a copy of the GNU Library General Public License
     along with this library; see the file COPYING.LIB.  If not, write to
     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA 02110-1301, USA.
  
  ----------------------------------------------------------------------------
  
    kentities.gperf: input file to generate a hash table for entities
    kentities.c: DO NOT EDIT! generated by the command
    "gperf -a -L "ANSI-C" -C -G -c -o -t -k '*' -Nkde_findEntity -D -s 2 tdehtmlentities.gperf > entities.c"
    from kentities.gperf

    $Id$     
*/  
#line 31 "kentities.gperf"
struct entity {
    const char *name;
    int code;
};
/* maximum key range = 924, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
hash_Entity (const char *str, unsigned int len)
{
  static const unsigned short asso_values[] =
    {
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932,   0,
      145, 120,   0, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 125, 315,  35,  60, 325,
        5,   5,   0, 130, 932,  10,   0,  20, 110, 120,
      100,   0,  45,  40,  10, 135,   0, 932,   0,  15,
       50, 932, 932, 932, 932, 932, 932,   0,  15,  70,
        0,  20, 200, 250, 295,  10, 285,   5, 140,  90,
       15,   5,  65, 195,   5, 100,  25,  25, 130,   0,
       75, 190,  30,  35, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932, 932, 932, 932,
      932, 932, 932, 932, 932, 932, 932
    };
  int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[7]];
      /*FALLTHROUGH*/
      case 7:
        hval += asso_values[(unsigned char)str[6]];
      /*FALLTHROUGH*/
      case 6:
        hval += asso_values[(unsigned char)str[5]];
      /*FALLTHROUGH*/
      case 5:
        hval += asso_values[(unsigned char)str[4]];
      /*FALLTHROUGH*/
      case 4:
        hval += asso_values[(unsigned char)str[3]];
      /*FALLTHROUGH*/
      case 3:
        hval += asso_values[(unsigned char)str[2]];
      /*FALLTHROUGH*/
      case 2:
        hval += asso_values[(unsigned char)str[1]+1];
      /*FALLTHROUGH*/
      case 1:
        hval += asso_values[(unsigned char)str[0]];
        break;
    }
  return hval;
}

#ifdef __GNUC__
__inline
#endif
const struct entity *
kde_findEntity (const char *str, unsigned int len)
{
  enum
    {
      TOTAL_KEYWORDS = 280,
      MIN_WORD_LENGTH = 2,
      MAX_WORD_LENGTH = 8,
      MIN_HASH_VALUE = 8,
      MAX_HASH_VALUE = 931
    };

  static const struct entity wordlist_Entity[] =
    {
#line 116 "kentities.gperf"
      {"and", 0x22a5},
#line 264 "kentities.gperf"
      {"rho", 0x03c1},
#line 142 "kentities.gperf"
      {"darr", 0x2193},
#line 143 "kentities.gperf"
      {"dcaron", 0x10f},
#line 257 "kentities.gperf"
      {"rarr", 0x2192},
#line 258 "kentities.gperf"
      {"rcaron", 0x0159},
#line 95 "kentities.gperf"
      {"Tcaron", 0x0164},
#line 185 "kentities.gperf"
      {"int", 0x222b},
#line 214 "kentities.gperf"
      {"ncaron", 0x0148},
#line 161 "kentities.gperf"
      {"eta", 0x03b7},
#line 150 "kentities.gperf"
      {"ecaron", 0x011b},
#line 94 "kentities.gperf"
      {"Tau", 0x03a4},
#line 299 "kentities.gperf"
      {"uarr", 0x2191},
#line 288 "kentities.gperf"
      {"tcaron", 0x0165},
#line 48 "kentities.gperf"
      {"Chi", 0x03a7},
#line 312 "kentities.gperf"
      {"zcaron", 0x017e},
#line 90 "kentities.gperf"
      {"Rho", 0x03a1},
#line 188 "kentities.gperf"
      {"isin", 0x2208},
#line 293 "kentities.gperf"
      {"thorn", 0x00fe},
#line 46 "kentities.gperf"
      {"Ccaron", 0x010c},
#line 287 "kentities.gperf"
      {"tau", 0x03c4},
#line 96 "kentities.gperf"
      {"Theta", 0x0398},
#line 91 "kentities.gperf"
      {"Scaron", 0x0160},
#line 110 "kentities.gperf"
      {"acute", 0x00b4},
#line 89 "kentities.gperf"
      {"Rcaron", 0x0158},
#line 106 "kentities.gperf"
      {"Zcaron", 0x017d},
#line 115 "kentities.gperf"
      {"amp", 38},
#line 220 "kentities.gperf"
      {"nsub", 0x2284},
#line 290 "kentities.gperf"
      {"theta", 0x03b8},
#line 289 "kentities.gperf"
      {"there4", 0x2234},
#line 243 "kentities.gperf"
      {"phi", 0x03c6},
#line 238 "kentities.gperf"
      {"para", 0x00b6},
#line 109 "kentities.gperf"
      {"acirc", 0x00e2},
#line 50 "kentities.gperf"
      {"Dcaron", 0x010e},
#line 132 "kentities.gperf"
      {"chi", 0x03c7},
#line 224 "kentities.gperf"
      {"ocirc", 0x00f4},
#line 180 "kentities.gperf"
      {"icirc", 0x00ee},
#line 128 "kentities.gperf"
      {"ccaron", 0x010d},
#line 251 "kentities.gperf"
      {"psi", 0x03c8},
#line 186 "kentities.gperf"
      {"iota", 0x03b9},
#line 254 "kentities.gperf"
      {"radic", 0x221a},
#line 231 "kentities.gperf"
      {"or", 0x22a6},
#line 218 "kentities.gperf"
      {"not", 0x00ac},
#line 152 "kentities.gperf"
      {"ecirc", 0x00ea},
#line 239 "kentities.gperf"
      {"part", 0x2202},
#line 300 "kentities.gperf"
      {"ucirc", 0x00fb},
#line 84 "kentities.gperf"
      {"Phi", 0x03a6},
#line 69 "kentities.gperf"
      {"Lambda", 0x039b},
#line 269 "kentities.gperf"
      {"scaron", 0x0161},
#line 229 "kentities.gperf"
      {"omicron", 0x03bf},
#line 88 "kentities.gperf"
      {"QUOT", 34},
#line 219 "kentities.gperf"
      {"notin", 0x2209},
#line 70 "kentities.gperf"
      {"LT", 60},
#line 87 "kentities.gperf"
      {"Psi", 0x03a8},
#line 72 "kentities.gperf"
      {"Ncaron", 0x0147},
#line 62 "kentities.gperf"
      {"GT", 62},
#line 227 "kentities.gperf"
      {"oline", 0x203e},
#line 222 "kentities.gperf"
      {"nu", 0x03bd},
#line 296 "kentities.gperf"
      {"trade", 0x2122},
#line 71 "kentities.gperf"
      {"Mu", 0x039c},
#line 127 "kentities.gperf"
      {"cap", 0x2229},
#line 270 "kentities.gperf"
      {"sdot", 0x22c5},
#line 190 "kentities.gperf"
      {"kappa", 0x03ba},
#line 68 "kentities.gperf"
      {"Kappa", 0x039a},
#line 108 "kentities.gperf"
      {"aacute", 0x00e1},
#line 164 "kentities.gperf"
      {"euro", 0x20ac},
#line 223 "kentities.gperf"
      {"oacute", 0x00f3},
#line 205 "kentities.gperf"
      {"lt", 60},
#line 195 "kentities.gperf"
      {"larr", 0x2190},
#line 179 "kentities.gperf"
      {"iacute", 0x00ed},
#line 249 "kentities.gperf"
      {"prod", 0x220f},
#line 247 "kentities.gperf"
      {"pound", 0x00a3},
#line 104 "kentities.gperf"
      {"Yacute", 0x00dd},
#line 259 "kentities.gperf"
      {"rceil", 0x2309},
#line 149 "kentities.gperf"
      {"eacute", 0x00e9},
#line 302 "kentities.gperf"
      {"uml", 0x00a8},
#line 206 "kentities.gperf"
      {"macr", 0x00af},
#line 137 "kentities.gperf"
      {"crarr", 0x21b5},
#line 298 "kentities.gperf"
      {"uacute", 0x00fa},
#line 265 "kentities.gperf"
      {"rlm", 0x200f},
#line 212 "kentities.gperf"
      {"nabla", 0x2207},
#line 187 "kentities.gperf"
      {"iquest", 0x00bf},
#line 158 "kentities.gperf"
      {"ensp", 0x2002},
#line 160 "kentities.gperf"
      {"equiv", 0x2261},
#line 233 "kentities.gperf"
      {"ordm", 0x00ba},
#line 121 "kentities.gperf"
      {"atilde", 0x00e3},
#line 156 "kentities.gperf"
      {"emsp", 0x2003},
#line 61 "kentities.gperf"
      {"Gamma", 0x0393},
#line 235 "kentities.gperf"
      {"otilde", 0x00f5},
#line 148 "kentities.gperf"
      {"dol", 0x0024},
#line 77 "kentities.gperf"
      {"Ocirc", 0x00d4},
#line 47 "kentities.gperf"
      {"Ccedil", 0x00c7},
#line 38 "kentities.gperf"
      {"Acirc", 0x00c2},
#line 221 "kentities.gperf"
      {"ntilde", 0x00f1},
#line 216 "kentities.gperf"
      {"ne", 0x2260},
#line 64 "kentities.gperf"
      {"Icirc", 0x00ce},
#line 211 "kentities.gperf"
      {"mu", 0x03bc},
#line 66 "kentities.gperf"
      {"Iota", 0x0399},
#line 98 "kentities.gperf"
      {"Ucirc", 0x00db},
#line 292 "kentities.gperf"
      {"thinsp", 0x2009},
#line 201 "kentities.gperf"
      {"loz", 0x25ca},
#line 250 "kentities.gperf"
      {"prop", 0x221d},
#line 74 "kentities.gperf"
      {"Nu", 0x039d},
#line 124 "kentities.gperf"
      {"beta", 0x03b2},
#line 184 "kentities.gperf"
      {"infin", 0x221e},
#line 129 "kentities.gperf"
      {"ccedil", 0x00e7},
#line 80 "kentities.gperf"
      {"Omicron", 0x039f},
#line 277 "kentities.gperf"
      {"sub", 0x2282},
#line 256 "kentities.gperf"
      {"raquo", 0x00bb},
#line 139 "kentities.gperf"
      {"curren", 0x00a4},
#line 213 "kentities.gperf"
      {"nbsp", 0x00a0},
#line 260 "kentities.gperf"
      {"rdquo", 0x201d},
#line 236 "kentities.gperf"
      {"otimes", 0x2297},
#line 117 "kentities.gperf"
      {"ang", 0x2220},
#line 313 "kentities.gperf"
      {"zeta", 0x03b6},
#line 267 "kentities.gperf"
      {"rsquo", 0x2019},
#line 266 "kentities.gperf"
      {"rsaquo", 0x203a},
#line 123 "kentities.gperf"
      {"bdquo", 0x201e},
#line 192 "kentities.gperf"
      {"lambda", 0x03bb},
#line 138 "kentities.gperf"
      {"cup", 0x222a},
#line 278 "kentities.gperf"
      {"sube", 0x2286},
#line 125 "kentities.gperf"
      {"brvbar", 0x00a6},
#line 174 "kentities.gperf"
      {"gt", 62},
#line 107 "kentities.gperf"
      {"Zeta", 0x0396},
#line 76 "kentities.gperf"
      {"Oacute", 0x00d3},
#line 37 "kentities.gperf"
      {"Aacute", 0x00c1},
#line 103 "kentities.gperf"
      {"Xi", 0x039e},
#line 255 "kentities.gperf"
      {"rang", 0x232a},
#line 248 "kentities.gperf"
      {"prime", 0x2032},
#line 63 "kentities.gperf"
      {"Iacute", 0x00cd},
#line 228 "kentities.gperf"
      {"omega", 0x03c9},
#line 97 "kentities.gperf"
      {"Uacute", 0x00da},
#line 284 "kentities.gperf"
      {"sup", 0x2283},
#line 280 "kentities.gperf"
      {"sup1", 0x00b9},
#line 183 "kentities.gperf"
      {"image", 0x2111},
#line 217 "kentities.gperf"
      {"ni", 0x220b},
#line 272 "kentities.gperf"
      {"shy", 0x00ad},
#line 118 "kentities.gperf"
      {"apos", 0x0027},
#line 134 "kentities.gperf"
      {"clubs", 0x2663},
#line 307 "kentities.gperf"
      {"weierp", 0x2118},
#line 232 "kentities.gperf"
      {"ordf", 0x00aa},
#line 73 "kentities.gperf"
      {"Ntilde", 0x00d1},
#line 131 "kentities.gperf"
      {"cent", 0x00a2},
#line 196 "kentities.gperf"
      {"lceil", 0x2308},
#line 285 "kentities.gperf"
      {"supe", 0x2287},
#line 155 "kentities.gperf"
      {"empty", 0x2205},
#line 82 "kentities.gperf"
      {"Otilde", 0x00d5},
#line 279 "kentities.gperf"
      {"sum", 0x2211},
#line 176 "kentities.gperf"
      {"harr", 0x2194},
#line 86 "kentities.gperf"
      {"Prime", 0x2033},
#line 43 "kentities.gperf"
      {"Atilde", 0x00c3},
#line 140 "kentities.gperf"
      {"dArr", 0x21d3},
#line 202 "kentities.gperf"
      {"lrm", 0x200e},
#line 253 "kentities.gperf"
      {"rArr", 0x21d2},
#line 151 "kentities.gperf"
      {"eague", 0x00e9},
#line 200 "kentities.gperf"
      {"lowast", 0x2217},
#line 41 "kentities.gperf"
      {"AMP", 38},
#line 242 "kentities.gperf"
      {"perp", 0x22a5},
#line 198 "kentities.gperf"
      {"le", 0x2264},
#line 162 "kentities.gperf"
      {"eth", 0x00f0},
#line 261 "kentities.gperf"
      {"real", 0x211c},
#line 165 "kentities.gperf"
      {"exist", 0x2203},
#line 309 "kentities.gperf"
      {"yacute", 0x00fd},
#line 244 "kentities.gperf"
      {"pi", 0x03c0},
#line 59 "kentities.gperf"
      {"Eta", 0x0397},
#line 297 "kentities.gperf"
      {"uArr", 0x21d1},
#line 54 "kentities.gperf"
      {"Ecaron", 0x011a},
#line 252 "kentities.gperf"
      {"quot", 34},
#line 308 "kentities.gperf"
      {"xi", 0x03be},
#line 122 "kentities.gperf"
      {"auml", 0x00e4},
#line 237 "kentities.gperf"
      {"ouml", 0x00f6},
#line 145 "kentities.gperf"
      {"delta", 0x03b4},
#line 189 "kentities.gperf"
      {"iuml", 0x00ef},
#line 120 "kentities.gperf"
      {"asymp", 0x2248},
#line 169 "kentities.gperf"
      {"frac14", 0x00bc},
#line 105 "kentities.gperf"
      {"Yuml", 0x0178},
#line 119 "kentities.gperf"
      {"aring", 0x00e5},
#line 163 "kentities.gperf"
      {"euml", 0x00eb},
#line 194 "kentities.gperf"
      {"laquo", 0x00ab},
#line 240 "kentities.gperf"
      {"percnt", 0x0025},
#line 85 "kentities.gperf"
      {"Pi", 0x03a0},
#line 306 "kentities.gperf"
      {"uuml", 0x00fc},
#line 197 "kentities.gperf"
      {"ldquo", 0x201c},
#line 246 "kentities.gperf"
      {"plusmn", 0x00b1},
#line 314 "kentities.gperf"
      {"zwj", 0x200d},
#line 136 "kentities.gperf"
      {"copy", 0x00a9},
#line 204 "kentities.gperf"
      {"lsquo", 0x2018},
#line 203 "kentities.gperf"
      {"lsaquo", 0x2039},
#line 271 "kentities.gperf"
      {"sect", 0x00a7},
#line 268 "kentities.gperf"
      {"sbquo", 0x201a},
#line 135 "kentities.gperf"
      {"cong", 0x2245},
#line 305 "kentities.gperf"
      {"uring", 0x016f},
#line 310 "kentities.gperf"
      {"yen", 0x00a5},
#line 315 "kentities.gperf"
      {"zwnj", 0x200c},
#line 79 "kentities.gperf"
      {"Omega", 0x03a9},
#line 209 "kentities.gperf"
      {"middot", 0x00b7},
#line 166 "kentities.gperf"
      {"fnof", 0x0192},
#line 55 "kentities.gperf"
      {"Ecirc", 0x00ca},
#line 263 "kentities.gperf"
      {"rfloor", 0x230b},
#line 283 "kentities.gperf"
      {"sup3", 0x00b3},
#line 93 "kentities.gperf"
      {"THORN", 0x00de},
#line 276 "kentities.gperf"
      {"spades", 0x2660},
#line 193 "kentities.gperf"
      {"lang", 0x2329},
#line 130 "kentities.gperf"
      {"cedil", 0x00b8},
#line 157 "kentities.gperf"
      {"endash", 0x2013},
#line 126 "kentities.gperf"
      {"bull", 0x2022},
#line 51 "kentities.gperf"
      {"Delta", 0x0394},
#line 133 "kentities.gperf"
      {"circ", 0x02c6},
#line 215 "kentities.gperf"
      {"ndash", 0x2013},
#line 154 "kentities.gperf"
      {"emdash", 0x2014},
#line 281 "kentities.gperf"
      {"supl", 0x00b9},
#line 282 "kentities.gperf"
      {"sup2", 0x00b2},
#line 172 "kentities.gperf"
      {"gamma", 0x03b3},
#line 147 "kentities.gperf"
      {"divide", 0x00f7},
#line 173 "kentities.gperf"
      {"ge", 0x2265},
#line 144 "kentities.gperf"
      {"deg", 0x00b0},
#line 114 "kentities.gperf"
      {"alpha", 0x03b1},
#line 112 "kentities.gperf"
      {"agrave", 0x00e0},
#line 262 "kentities.gperf"
      {"reg", 0x00ae},
#line 208 "kentities.gperf"
      {"micro", 0x00b5},
#line 226 "kentities.gperf"
      {"ograve", 0x00f2},
#line 52 "kentities.gperf"
      {"ETH", 0x00d0},
#line 182 "kentities.gperf"
      {"igrave", 0x00ec},
#line 291 "kentities.gperf"
      {"thetasym", 0x03d1},
#line 191 "kentities.gperf"
      {"lArr", 0x21d0},
#line 230 "kentities.gperf"
      {"oplus", 0x2295},
#line 294 "kentities.gperf"
      {"tilde", 0x02dc},
#line 153 "kentities.gperf"
      {"egrave", 0x00e8},
#line 275 "kentities.gperf"
      {"sim", 0x223c},
#line 146 "kentities.gperf"
      {"diams", 0x2666},
#line 301 "kentities.gperf"
      {"ugrave", 0x00f9},
#line 245 "kentities.gperf"
      {"piv", 0x03d6},
#line 83 "kentities.gperf"
      {"Ouml", 0x00d6},
#line 53 "kentities.gperf"
      {"Eacute", 0x00c9},
#line 44 "kentities.gperf"
      {"Auml", 0x00c4},
#line 159 "kentities.gperf"
      {"epsilon", 0x03b5},
#line 67 "kentities.gperf"
      {"Iuml", 0x00cf},
#line 170 "kentities.gperf"
      {"frac34", 0x00be},
#line 304 "kentities.gperf"
      {"upsilon", 0x03c5},
#line 102 "kentities.gperf"
      {"Uuml", 0x00dc},
#line 181 "kentities.gperf"
      {"iexcl", 0x00a1},
#line 42 "kentities.gperf"
      {"Aring", 0x00c5},
#line 207 "kentities.gperf"
      {"mdash", 0x2014},
#line 101 "kentities.gperf"
      {"Uring", 0x016e},
#line 241 "kentities.gperf"
      {"permil", 0x2030},
#line 210 "kentities.gperf"
      {"minus", 0x2212},
#line 168 "kentities.gperf"
      {"frac12", 0x00bd},
#line 295 "kentities.gperf"
      {"times", 0x00d7},
#line 75 "kentities.gperf"
      {"OElig", 0x0152},
#line 36 "kentities.gperf"
      {"AElig", 0x00c6},
#line 286 "kentities.gperf"
      {"szlig", 0x00df},
#line 45 "kentities.gperf"
      {"Beta", 0x0392},
#line 171 "kentities.gperf"
      {"frasl", 0x2044},
#line 141 "kentities.gperf"
      {"dagger", 0x2020},
#line 199 "kentities.gperf"
      {"lfloor", 0x230a},
#line 311 "kentities.gperf"
      {"yuml", 0x00ff},
#line 167 "kentities.gperf"
      {"forall", 0x2200},
#line 234 "kentities.gperf"
      {"oslash", 0x00f8},
#line 78 "kentities.gperf"
      {"Ograve", 0x00d2},
#line 40 "kentities.gperf"
      {"Alpha", 0x0391},
#line 39 "kentities.gperf"
      {"Agrave", 0x00c0},
#line 65 "kentities.gperf"
      {"Igrave", 0x00cc},
#line 99 "kentities.gperf"
      {"Ugrave", 0x00d9},
#line 111 "kentities.gperf"
      {"aelig", 0x00e6},
#line 49 "kentities.gperf"
      {"Dagger", 0x2021},
#line 100 "kentities.gperf"
      {"Upsilon", 0x03a5},
#line 225 "kentities.gperf"
      {"oelig", 0x0153},
#line 175 "kentities.gperf"
      {"hArr", 0x21d4},
#line 303 "kentities.gperf"
      {"upsih", 0x03d2},
#line 177 "kentities.gperf"
      {"hearts", 0x2665},
#line 57 "kentities.gperf"
      {"Eague", 0x00c9},
#line 92 "kentities.gperf"
      {"Sigma", 0x03a3},
#line 81 "kentities.gperf"
      {"Oslash", 0x00d8},
#line 60 "kentities.gperf"
      {"Euml", 0x00cb},
#line 113 "kentities.gperf"
      {"alefsym", 0x2135},
#line 273 "kentities.gperf"
      {"sigma", 0x03c3},
#line 56 "kentities.gperf"
      {"Egrave", 0x00c8},
#line 58 "kentities.gperf"
      {"Epsilon", 0x0395},
#line 178 "kentities.gperf"
      {"hellip", 0x2026},
#line 274 "kentities.gperf"
      {"sigmaf", 0x03c2}
    };

  static const short lookup[] =
    {
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,   0,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,   1,  -1,  -1,  -1,  -1,  -1,   2,
       -1,   3,  -1,  -1,   4,  -1,   5,  -1,  -1,  -1,
       -1,   6,  -1,   7,  -1,  -1,   8,  -1,   9,  -1,
       -1,  10,  -1,  11,  12,  -1,  13,  -1,  14,  -1,
       -1,  15,  -1,  16,  17,  18,  19,  -1,  20,  -1,
       21,  22,  -1,  -1,  -1,  23,  24,  -1,  -1,  -1,
       -1,  25,  -1,  26,  27,  28,  29,  -1,  30,  31,
       32,  33,  -1,  34,  -1,  35,  -1,  -1,  -1,  -1,
       36,  37,  -1,  38,  39,  40,  -1,  41,  42,  -1,
       43,  -1,  -1,  -1,  44,  45,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  46,  -1,  -1,  47,  -1,  -1,  -1,
       -1,  48,  49,  -1,  50,  51,  -1,  52,  53,  -1,
       -1,  54,  55,  -1,  -1,  56,  -1,  57,  -1,  -1,
       58,  -1,  59,  60,  61,  62,  -1,  -1,  -1,  -1,
       63,  64,  -1,  -1,  65,  -1,  66,  67,  -1,  68,
       -1,  69,  -1,  -1,  70,  71,  72,  -1,  -1,  -1,
       73,  74,  -1,  75,  76,  77,  78,  -1,  79,  -1,
       80,  81,  -1,  -1,  82,  83,  -1,  -1,  -1,  84,
       -1,  85,  -1,  -1,  86,  87,  88,  -1,  89,  -1,
       90,  91,  -1,  -1,  -1,  92,  93,  94,  -1,  -1,
       95,  -1,  96,  -1,  97,  98,  -1,  -1,  -1,  -1,
       -1,  99,  -1,  -1,  -1,  -1,  -1,  -1, 100, 101,
       -1,  -1, 102,  -1, 103, 104, 105, 106, 107,  -1,
      108, 109,  -1,  -1, 110, 111, 112,  -1, 113, 114,
      115, 116,  -1,  -1,  -1, 117, 118,  -1, 119, 120,
       -1, 121,  -1,  -1,  -1,  -1,  -1, 122,  -1, 123,
       -1, 124,  -1,  -1,  -1,  -1, 125, 126,  -1, 127,
      128, 129,  -1,  -1,  -1, 130, 131,  -1, 132, 133,
      134,  -1, 135, 136, 137, 138, 139,  -1,  -1, 140,
       -1, 141,  -1,  -1, 142, 143,  -1,  -1,  -1, 144,
      145, 146,  -1, 147, 148, 149, 150,  -1,  -1, 151,
       -1,  -1,  -1, 152, 153, 154, 155,  -1, 156, 157,
       -1,  -1, 158, 159,  -1,  -1,  -1,  -1,  -1, 160,
      161, 162, 163, 164, 165,  -1, 166,  -1,  -1, 167,
       -1,  -1, 168,  -1, 169,  -1,  -1,  -1,  -1, 170,
      171,  -1,  -1,  -1, 172, 173, 174,  -1,  -1, 175,
      176,  -1,  -1,  -1, 177, 178, 179, 180,  -1, 181,
      182, 183,  -1, 184, 185, 186, 187,  -1,  -1, 188,
      189,  -1,  -1,  -1, 190, 191,  -1,  -1, 192, 193,
      194, 195,  -1,  -1, 196, 197, 198,  -1,  -1, 199,
      200, 201,  -1,  -1, 202, 203, 204,  -1,  -1, 205,
      206,  -1,  -1,  -1, 207, 208, 209,  -1,  -1, 210,
       -1,  -1,  -1,  -1, 211,  -1,  -1,  -1,  -1,  -1,
      212, 213, 214, 215,  -1, 216, 217,  -1, 218,  -1,
      219, 220,  -1, 221,  -1,  -1, 222,  -1, 223, 224,
      225,  -1,  -1,  -1,  -1, 226, 227,  -1, 228,  -1,
      229, 230,  -1, 231, 232,  -1, 233,  -1,  -1, 234,
       -1,  -1, 235,  -1, 236,  -1, 237, 238,  -1, 239,
      240,  -1,  -1,  -1,  -1, 241,  -1,  -1,  -1,  -1,
      242,  -1,  -1,  -1,  -1, 243, 244,  -1,  -1,  -1,
      245, 246,  -1,  -1,  -1, 247,  -1,  -1,  -1,  -1,
      248,  -1,  -1,  -1,  -1, 249,  -1,  -1,  -1,  -1,
      250,  -1,  -1,  -1, 251, 252, 253,  -1,  -1,  -1,
       -1, 254,  -1,  -1, 255,  -1, 256,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1, 257,  -1,  -1,  -1,  -1, 258,  -1,  -1,  -1,
      259, 260,  -1,  -1,  -1,  -1, 261,  -1,  -1,  -1,
       -1, 262,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1, 263, 264, 265,  -1,  -1,
      266,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1, 267,  -1,  -1,  -1,  -1,  -1,
      268, 269,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
      270,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
      271,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1, 272,  -1,  -1, 273,
       -1,  -1,  -1,  -1,  -1,  -1,  -1, 274,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
      275,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1, 276,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1, 277,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1, 278,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1, 279
    };

  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
    {
      int key = hash_Entity (str, len);

      if (key <= MAX_HASH_VALUE && key >= 0)
        {
          int index = lookup[key];

          if (index >= 0)
            {
              const char *s = wordlist_Entity[index].name;

              if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
                return &wordlist_Entity[index];
            }
        }
    }
  return 0;
}
#line 316 "kentities.gperf"