/* ANSI-C code produced by gperf version 3.1 */
/* Command-line: /usr/bin/gperf --struct-type -l -N html_entity_hash -L ANSI-C --output-file src/lua-factory/libgrlluafactory.so.p/htmlentity.c ../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf  */
/* Computed positions: -k'1-3,5,$' */

#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 <bug-gperf@gnu.org>."
#endif

#line 1 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* htmlentity.c
 *
 * This file is part of the GtkHTML library.
 *
 * Copyright (C) 1999  Helix Code, Inc.
 *
 * 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.
 *
 * Author: Ettore Perazzoli
 */

#include <config.h>
#include <string.h>
#include <stdlib.h>

#include <glib.h>
#include <lua-library/htmlentity.h>

#ifdef __GNUC__
_Pragma ("GCC diagnostic push")
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"")
#endif

#line 39 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
struct _EntityEntry {
	const gchar *name;
	gulong value;
};

#define TOTAL_KEYWORDS 253
#define MIN_WORD_LENGTH 2
#define MAX_WORD_LENGTH 8
#define MIN_HASH_VALUE 8
#define MAX_HASH_VALUE 738
/* maximum key range = 731, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
hash (register const char *str, register size_t len)
{
  static unsigned short asso_values[] =
    {
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739,  10,
       35,  20,   0, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 175, 135,  30,  60,  95,
        5,   0,   5, 180, 739,  15,   5,   0,  15, 110,
      110, 739,   5,   5,   5, 100, 739, 739,   0,  20,
        0, 739, 739, 739, 739, 739, 739,   5,  60,  50,
        0,  15, 144, 115, 215,  10, 225,  10,  95, 125,
       25,   0,   5, 218,  90,  20,   0,  65,  35,  55,
       45, 115,   5,  15, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
      739, 739, 739, 739, 739, 739, 739
    };
  register unsigned int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[4]];
      /*FALLTHROUGH*/
      case 4:
      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 + asso_values[(unsigned char)str[len - 1]];
}

struct _EntityEntry *
html_entity_hash (register const char *str, register size_t len)
{
  static unsigned char lengthtable[] =
    {
       0,  0,  0,  0,  0,  0,  0,  0,  3,  0,  0,  0,  0,  3,
       0,  0,  0,  0,  3,  0,  0,  0,  0,  0,  4,  0,  0,  0,
       3,  4,  0,  0,  0,  3,  4,  0,  0,  0,  3,  4,  5,  6,
       0,  3,  4,  5,  6,  0,  0,  4,  0,  6,  0,  0,  0,  5,
       6,  0,  0,  0,  5,  0,  0,  3,  0,  5,  0,  0,  3,  4,
       5,  0,  0,  0,  4,  5,  0,  0,  0,  4,  5,  0,  0,  3,
       4,  5,  0,  0,  0,  0,  5,  0,  0,  3,  0,  5,  6,  0,
       3,  4,  0,  6,  2,  3,  4,  5,  0,  0,  0,  0,  0,  6,
       2,  3,  0,  5,  6,  2,  0,  0,  5,  6,  0,  3,  0,  5,
       0,  2,  0,  0,  5,  6,  0,  3,  4,  5,  6,  0,  0,  0,
       0,  6,  0,  3,  4,  5,  6,  0,  0,  4,  5,  6,  0,  4,
       4,  0,  6,  7,  4,  4,  5,  0,  2,  8,  4,  5,  6,  0,
       4,  0,  5,  6,  0,  3,  0,  5,  6,  0,  3,  4,  5,  6,
       2,  0,  0,  6,  2,  0,  0,  0,  0,  6,  0,  3,  4,  6,
       6,  0,  3,  4,  5,  6,  0,  0,  0,  0,  6,  0,  3,  5,
       5,  0,  0,  4,  0,  5,  6,  0,  4,  0,  6,  6,  0,  4,
       0,  5,  6,  2,  0,  0,  0,  6,  0,  0,  0,  0,  0,  2,
       3,  0,  0,  6,  2,  0,  4,  5,  6,  4,  4,  0,  0,  0,
       0,  0,  5,  5,  2,  4,  0,  4,  5,  0,  2,  3,  4,  0,
       0,  7,  0,  4,  5,  6,  0,  0,  4,  5,  2,  0,  0,  4,
       5,  6,  2,  3,  6,  5,  6,  0,  4,  4,  5,  6,  4,  5,
       4,  5,  0,  7,  5,  4,  5,  0,  0,  3,  4,  5,  6,  0,
       3,  4,  6,  6,  3,  5,  5,  5,  0,  0,  5,  4,  5,  0,
       0,  0,  4,  0,  0,  0,  5,  4,  5,  0,  0,  5,  4,  0,
       6,  0,  4,  4,  0,  0,  0,  0,  0,  0,  6,  2,  0,  0,
       6,  6,  0,  0,  4,  5,  6,  0,  5,  4,  5,  6,  0,  0,
       5,  5,  6,  0,  3,  4,  0,  6,  0,  5,  4,  5,  6,  3,
       5,  0,  7,  0,  0,  0,  4,  0,  0,  0,  0,  5,  6,  0,
       0,  0,  5,  5,  6,  0,  0,  0,  0,  6,  0,  0,  0,  5,
       0,  0,  0,  4,  0,  0,  0,  0,  4,  0,  0,  0,  0,  4,
       5,  0,  0,  0,  0,  0,  6,  0,  0,  0,  7,  0,  0,  0,
       4,  6,  0,  0,  0,  4,  5,  0,  0,  0,  0,  5,  6,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  6,  0,  0,  4,  7,  6,
       0,  0,  0,  7,  0,  3,  3,  0,  0,  6,  0,  0,  5,  6,
       0,  0,  0,  5,  5,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  3,  0,  0,  0,  0,  3,
       0,  0,  0,  0,  0,  0,  5,  0,  0,  3,  0,  6,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  4,  0,  6,  0,  0,  0,  0,  6,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  5,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
       0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  5
    };
  static struct _EntityEntry wordlist[] =
    {
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
#line 57 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"and", 8743},
      {""}, {""}, {""}, {""},
#line 138 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"int", 8747},
      {""}, {""}, {""}, {""},
#line 234 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Rho", 929},
      {""}, {""}, {""}, {""}, {""},
#line 140 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"iota", 953},
      {""}, {""}, {""},
#line 222 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"psi", 968},
#line 219 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"prod", 8719},
      {""}, {""}, {""},
#line 175 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"not", 172},
#line 220 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"prop", 8733},
      {""}, {""}, {""},
#line 211 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"phi", 966},
#line 242 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sdot", 8901},
#line 263 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"theta", 952},
#line 240 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Scaron", 352},
      {""},
#line 56 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"amp", 38},
#line 103 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ensp", 8194},
#line 262 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Theta", 920},
#line 261 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"there4", 8756},
      {""}, {""},
#line 142 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"isin", 8712},
      {""},
#line 265 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"thinsp", 8201},
      {""}, {""}, {""},
#line 192 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"omega", 969},
#line 241 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"scaron", 353},
      {""}, {""}, {""},
#line 270 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"trade", 8482},
      {""}, {""},
#line 77 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Chi", 935},
      {""},
#line 267 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"thorn", 254},
      {""}, {""},
#line 256 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sup", 8835},
#line 102 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"emsp", 8195},
#line 217 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"prime", 8242},
      {""}, {""}, {""},
#line 253 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sup1", 185},
#line 136 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"image", 8465},
      {""}, {""}, {""},
#line 257 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"supe", 8839},
#line 216 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"pound", 163},
      {""}, {""},
#line 78 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"chi", 967},
#line 255 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sup3", 179},
#line 176 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"notin", 8713},
      {""}, {""}, {""}, {""},
#line 146 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"kappa", 954},
      {""}, {""},
#line 108 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"eta", 951},
      {""},
#line 145 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Kappa", 922},
#line 202 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"otilde", 245},
      {""},
#line 84 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"cup", 8746},
#line 254 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sup2", 178},
      {""},
#line 64 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"atilde", 227},
#line 168 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Mu", 924},
#line 235 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rho", 961},
#line 171 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"nbsp", 160},
#line 48 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"acute", 180},
      {""}, {""}, {""}, {""}, {""},
#line 178 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ntilde", 209},
#line 196 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"or", 8744},
#line 158 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"loz", 9674},
      {""},
#line 185 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ocirc", 244},
#line 203 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"otimes", 8855},
#line 180 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Nu", 925},
      {""}, {""},
#line 47 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"acirc", 226},
#line 179 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ntilde", 241},
      {""},
#line 72 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"cap", 8745},
      {""},
#line 132 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"icirc", 238},
      {""},
#line 181 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"nu", 957},
      {""}, {""},
#line 98 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ecirc", 234},
#line 183 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"oacute", 243},
      {""},
#line 221 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Psi", 936},
#line 251 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sube", 8838},
#line 62 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"asymp", 8776},
#line 45 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"aacute", 225},
      {""}, {""}, {""}, {""},
#line 130 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"iacute", 237},
      {""},
#line 210 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Phi", 934},
#line 113 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"euro", 8364},
#line 114 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"exist", 8707},
#line 96 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"eacute", 233},
      {""}, {""},
#line 198 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ordm", 186},
#line 55 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"alpha", 945},
#line 288 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Yacute", 221},
      {""},
#line 293 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Zeta", 918},
#line 177 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"nsub", 8836},
      {""},
#line 73 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ccedil", 199},
#line 194 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"omicron", 959},
#line 294 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"zeta", 950},
#line 207 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"part", 8706},
#line 170 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"nabla", 8711},
      {""},
#line 162 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lt", 60},
#line 264 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"thetasym", 977},
#line 206 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"para", 182},
#line 191 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Omega", 937},
#line 237 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rsaquo", 8250},
      {""},
#line 197 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ordf", 170},
      {""},
#line 190 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"oline", 8254},
#line 160 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lsaquo", 8249},
      {""},
#line 107 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Eta", 919},
      {""},
#line 218 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Prime", 8243},
#line 74 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ccedil", 231},
      {""},
#line 250 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sub", 8834},
#line 82 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"copy", 169},
#line 276 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ucirc", 251},
#line 157 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lowast", 8727},
#line 124 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"gt", 62},
      {""}, {""},
#line 118 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"frac14", 188},
#line 173 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ne", 8800},
      {""}, {""}, {""}, {""},
#line 141 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"iquest", 191},
      {""},
#line 260 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"tau", 964},
#line 139 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Iota", 921},
#line 119 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"frac34", 190},
#line 272 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"uacute", 250},
      {""},
#line 259 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Tau", 932},
#line 81 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"cong", 8773},
#line 121 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Gamma", 915},
#line 147 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Lambda", 923},
      {""}, {""}, {""}, {""},
#line 201 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Otilde", 213},
      {""},
#line 109 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ETH", 208},
#line 137 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"infin", 8734},
#line 97 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ecirc", 202},
      {""}, {""},
#line 69 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"beta", 946},
      {""},
#line 275 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ucirc", 219},
#line 70 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"brvbar", 166},
      {""},
#line 243 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sect", 167},
      {""},
#line 117 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"frac12", 189},
#line 85 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"curren", 164},
      {""},
#line 76 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"cent", 162},
      {""},
#line 184 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ocirc", 212},
#line 95 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Eacute", 201},
#line 169 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"mu", 956},
      {""}, {""}, {""},
#line 271 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Uacute", 218},
      {""}, {""}, {""}, {""}, {""},
#line 286 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Xi", 926},
#line 58 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ang", 8736},
      {""}, {""},
#line 182 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Oacute", 211},
#line 213 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"pi", 960},
      {""},
#line 88 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"darr", 8595},
#line 106 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"equiv", 8801},
#line 289 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"yacute", 253},
#line 59 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"apos", 39},
#line 209 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"perp", 8869},
      {""}, {""}, {""}, {""}, {""},
#line 92 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"delta", 948},
#line 224 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"radic", 8730},
#line 155 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"le", 8804},
#line 223 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"quot", 34},
      {""},
#line 205 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ouml", 246},
#line 83 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"crarr", 8629},
      {""},
#line 174 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ni", 8715},
#line 244 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"shy", 173},
#line 66 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"auml", 228},
      {""}, {""},
#line 193 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Omicron", 927},
      {""},
#line 144 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"iuml", 239},
#line 61 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"aring", 229},
#line 63 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Atilde", 195},
      {""}, {""},
#line 112 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"euml", 235},
#line 93 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"diams", 9830},
#line 123 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ge", 8805},
      {""}, {""},
#line 292 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Yuml", 376},
#line 101 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"empty", 8709},
#line 94 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"divide", 247},
#line 287 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"xi", 958},
#line 279 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"uml", 168},
#line 249 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"spades", 9824},
#line 80 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"clubs", 9827},
#line 86 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"dagger", 8224},
      {""},
#line 68 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Beta", 914},
#line 71 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"bull", 8226},
#line 46 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Acirc", 194},
#line 148 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lambda", 955},
#line 115 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"fnof", 402},
#line 239 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sbquo", 8218},
#line 225 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rang", 9002},
#line 131 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Icirc", 206},
      {""},
#line 53 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"alefsym", 8501},
#line 67 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"bdquo", 8222},
#line 149 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lang", 9001},
#line 229 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rceil", 8969},
      {""}, {""},
#line 214 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"piv", 982},
#line 296 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"zwnj", 8204},
#line 153 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lceil", 8968},
#line 44 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Aacute", 193},
      {""},
#line 252 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sum", 8721},
#line 273 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"uarr", 8593},
#line 285 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"weierp", 8472},
#line 129 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Iacute", 205},
#line 290 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"yen", 165},
#line 238 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rsquo", 8217},
#line 91 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Delta", 916},
#line 122 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"gamma", 947},
      {""}, {""},
#line 161 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lsquo", 8216},
#line 89 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"dArr", 8659},
#line 54 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Alpha", 913},
      {""}, {""}, {""},
#line 284 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"uuml", 252},
      {""}, {""}, {""},
#line 230 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rdquo", 8221},
#line 163 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"macr", 175},
#line 266 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"THORN", 222},
      {""}, {""},
#line 154 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ldquo", 8220},
#line 227 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rarr", 8594},
      {""},
#line 200 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"oslash", 248},
      {""},
#line 231 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"real", 8476},
#line 151 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"larr", 8592},
      {""}, {""}, {""}, {""}, {""}, {""},
#line 87 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Dagger", 8225},
#line 212 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Pi", 928},
      {""}, {""},
#line 208 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"permil", 8240},
#line 215 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"plusmn", 177},
      {""}, {""},
#line 111 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Euml", 203},
#line 268 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"tilde", 732},
#line 166 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"middot", 183},
      {""},
#line 195 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"oplus", 8853},
#line 283 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Uuml", 220},
#line 245 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Sigma", 931},
#line 189 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ograve", 242},
      {""}, {""},
#line 120 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"frasl", 8260},
#line 258 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"szlig", 223},
#line 52 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"agrave", 224},
      {""},
#line 159 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lrm", 8206},
#line 204 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ouml", 214},
      {""},
#line 135 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"igrave", 236},
      {""},
#line 226 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"raquo", 187},
#line 291 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"yuml", 255},
#line 246 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sigma", 963},
#line 100 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"egrave", 232},
#line 90 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"deg", 176},
#line 150 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"laquo", 171},
      {""},
#line 105 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"epsilon", 949},
      {""}, {""}, {""},
#line 274 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"uArr", 8657},
      {""}, {""}, {""}, {""},
#line 75 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"cedil", 184},
#line 127 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"hearts", 9829},
      {""}, {""}, {""},
#line 133 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"iexcl", 161},
#line 269 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"times", 215},
#line 233 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rfloor", 8971},
      {""}, {""}, {""}, {""},
#line 156 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lfloor", 8970},
      {""}, {""}, {""},
#line 165 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"micro", 181},
      {""}, {""}, {""},
#line 228 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rArr", 8658},
      {""}, {""}, {""}, {""},
#line 152 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"lArr", 8656},
      {""}, {""}, {""}, {""},
#line 79 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"circ", 710},
#line 167 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"minus", 8722},
      {""}, {""}, {""}, {""}, {""},
#line 278 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ugrave", 249},
      {""}, {""}, {""},
#line 282 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"upsilon", 965},
      {""}, {""}, {""},
#line 65 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Auml", 196},
#line 116 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"forall", 8704},
      {""}, {""}, {""},
#line 143 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Iuml", 207},
#line 60 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Aring", 197},
      {""}, {""}, {""}, {""},
#line 186 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"OElig", 338},
#line 199 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Oslash", 216},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
#line 99 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Egrave", 200},
      {""}, {""},
#line 125 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"harr", 8596},
#line 104 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Epsilon", 917},
#line 277 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ugrave", 217},
      {""}, {""}, {""},
#line 281 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Upsilon", 933},
      {""},
#line 232 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"reg", 174},
#line 236 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"rlm", 8207},
      {""}, {""},
#line 188 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Ograve", 210},
      {""}, {""},
#line 187 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"oelig", 339},
#line 128 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"hellip", 8230},
      {""}, {""}, {""},
#line 50 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"aelig", 230},
#line 172 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"ndash", 8211},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
#line 248 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sim", 8764},
      {""}, {""}, {""}, {""},
#line 295 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"zwj", 8205},
      {""}, {""}, {""}, {""}, {""}, {""},
#line 49 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"AElig", 198},
      {""}, {""},
#line 110 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"eth", 240},
      {""},
#line 247 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"sigmaf", 962},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
#line 126 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"hArr", 8660},
      {""},
#line 51 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Agrave", 192},
      {""}, {""}, {""}, {""},
#line 134 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"Igrave", 204},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""},
#line 164 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"mdash", 8212},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""},
#line 280 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"
      {"upsih", 978}
    };

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

      if (key <= MAX_HASH_VALUE)
        if (len == lengthtable[key])
          {
            register const char *s = wordlist[key].name;

            if (*str == *s && !memcmp (str + 1, s + 1, len - 1))
              return &wordlist[key];
          }
    }
  return 0;
}
#line 297 "../grilo-plugins/src/lua-factory/lua-library/htmlentity.gperf"


#ifdef __GNUC__
_Pragma ("GCC diagnostic pop")
#endif

gulong
html_entity_parse (const gchar *s, guint len)
{
	struct _EntityEntry * result = html_entity_hash( s, len);
	if (result == NULL )
		return ' ';
	return result->value;
}
